Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How can I access the $Site global variables from within apex? Specifically I want the $SIte.OriginalURL value.
Thanks.
Just search Sites-Related Apex Methods in online help (getOriginalUrl)
here the link if you are on na1: https://na1.salesforce.com/help/doc/user_ed.jsp?section=help&target=sites_apex_methods_and_merge_fields.htm&loc=help&hash=SitesApexMethods
First I tried to search the Force.com IDE Documentation and only found two entries for OriginalUrl, both of which are VisualForce. I also tried to search this forum and didn't have any luck.
Thank you for the link.
Just search Sites-Related Apex Methods in online help (getOriginalUrl)
here the link if you are on na1: https://na1.salesforce.com/help/doc/user_ed.jsp?section=help&target=sites_apex_methods_and_merge_fields.htm&loc=help&hash=SitesApexMethods
All Answers
Just search Sites-Related Apex Methods in online help (getOriginalUrl)
here the link if you are on na1: https://na1.salesforce.com/help/doc/user_ed.jsp?section=help&target=sites_apex_methods_and_merge_fields.htm&loc=help&hash=SitesApexMethods
First I tried to search the Force.com IDE Documentation and only found two entries for OriginalUrl, both of which are VisualForce. I also tried to search this forum and didn't have any luck.
Thank you for the link.