You need to sign in to do that
Don't have an account?
SV M
Fetch current page URL
Hi,
I have a list view button placed on Account object. I wanted to fetch the current page url on click of that button. I have tried {!$Currentpage.parameters.<parameterName>}. But I am getting the URL after redirection. Is there any way to capture the URL before redirection to some other url. Please help me on this. Thanks in Advance...
I have a list view button placed on Account object. I wanted to fetch the current page url on click of that button. I have tried {!$Currentpage.parameters.<parameterName>}. But I am getting the URL after redirection. Is there any way to capture the URL before redirection to some other url. Please help me on this. Thanks in Advance...
Greetings!
Please use the VF Page on the ListView Button. in VF Page create action and you will get the current URL.
Call apex get the URL by using Apexpages.currentPage().getUrl();.
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi