I have a community page and VF page is embedded. When I try to access url parameters using {!$CurrentPage.parameters.id} or even in the apex controller, it won't work.

That same page will render the url parameters when in sites. What is stopping the access and how can i change it?

My code is visualforce page parameters {!$CurrentPage.parameters.id} in a VF page. I put the url as /pagename?id=123455

It shows when using as sites but does not show when vf page in communities.

  • 1
    So you have a VF Page dragged into a lightning community page, is this correct? – Glen De Marcos Sep 15 '19 at 9:53
  • @GlenDeMarcos Yes. I put the same VF on Sites and it works without a hitch. – disasterlooms Sep 16 '19 at 16:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.