You need to sign in to do that
Don't have an account?
suri03081988
How to get the previous page URL in JS controller
Hi All,
We are using AURA component with JS controller for the requirements.
I wante to to get the previous page URL in JS controller. After fetch the URL i have to take some search text on previous page URL.
Please give me some sample code to fetch the previous page URL.
Thanks in Advance
We are using AURA component with JS controller for the requirements.
I wante to to get the previous page URL in JS controller. After fetch the URL i have to take some search text on previous page URL.
Please give me some sample code to fetch the previous page URL.
Thanks in Advance
You can try using window.history.back();
https://codingwiththeforce.com/category/salesforce-development-tutorials/salesforce-development-lightning-web-components-lwc/
Thanks,