You need to sign in to do that
Don't have an account?
Admin User 10568
Parse Object Id to Visual Force Page / Class When Embeded in Public Site
Hello,
Wondering if anyone knows how to parse an object Id to a Visual Force page when its embeded in a Salesforce Site and is public.
My use case is a URL is created on the Object that our sales people can share with anyone outside the organisation. I've created the page and class and added it to a site and made it public. Only it wont parse the Id from the site to the page.
Any help would be awesome.
You can parse object id to vf page something like below. You can retrieve the object ID from the URL parameters using ApexPages.currentPage().getParameters().
Please mark as Best Answer if above information was helpful.
Thanks,