You need to sign in to do that
Don't have an account?
kab
page load
How can I read a URL value from a List button and it is on on the standardview page not a custom VF page.
I am using this button as List Type and content source=URL and in the value= .../apex/opppty
can I pass the current URL to the button click (like:.../apex/opppty?returl=https://cs4.salesforce.com/006?fcf=00BP0000000TbV4)
I just need to keep URL of the original SF standard page after loading my custom Visualforce page and when user wanted to go back to the page they can navigate there easily.
Use this in your java script
window.location.href = window.location.href + ?YourParameter=ParameterValue;
All Answers
If you have a custom button, you can execute tha javascript to pass in a query string parameter to the current URL.
Hope this helps
Thanks Osama. can you put some example of javascript how to read current page url.
Use this in your java script
window.location.href = window.location.href + ?YourParameter=ParameterValue;