Back Button

sajan0192
Giga Expert

Hi All

I have a UI page on that I added a button like back button which we have OOB on records.

I want that button should behave like OOB button. But I am unable to find any solution for navigating user to previous page.

Any one knows how to achieve this?

Regards,
Sajan

1 ACCEPTED SOLUTION

Gurpreet07
Mega Sage

Hi Sajan,



In a link simply add below on onClick.


<a onClick="window.location=history.back()">Back</a>


View solution in original post

8 REPLIES 8

Blaze2
Kilo Guru

Try this thread it should help. IT's not the solution, but maybe it can lead you in the right direction as to what you need to do.




UI Action redirecting to previous page


shloke04
Kilo Patron

Hi,



Below thread may be useful for your query:



Change Back button on incident



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Gurpreet07
Mega Sage

Hi Sajan,



In a link simply add below on onClick.


<a onClick="window.location=history.back()">Back</a>


Hi Gurpreet,

 

So when I tried this, it takes me back too many pages and does not actually take it back but calls in a new page.

 

Any ideas?