locked
Javascript to go previous page or back CRM 2013 RRS feed

  • Question

  • Hi,

    There is a requirement for me that my client want to have ribbon which takes them to previous page. I need to repliacte the functionality of BACK button.

    Is it possible?

    Thank you,



    Sreeni Pavalla

    Thursday, November 13, 2014 7:07 AM

All replies

  • Hi,

    Use this function:

    history.go(-1);  


    Regards, Saad

    Thursday, November 13, 2014 7:17 AM
  • Hi Sreeni,

    You can add a custom button on your ribbon. You can use one of the many tools that are available to add the button like Ribbon Editor , Pragma Toolkit etc. Call a java script function and try using the code as suggested by Saad in the button onclick.

    My view is that whenever you navigate to a new  page from one page, you can click on the lookup record in the new page to go back to where you came from. You can try convincing your client about that :) . But if they have a requirement so specific than go about adding the button.

    Thanks,

    Prasad.

    Friday, November 14, 2014 11:51 AM