I have a Visualforce Page (renderAs="pdf") dropped onto a Community Page.

vf page embedded in community page

How do I get the parameters into my Apex Controller from the URL on a mobile device?

I do this perfectly on desktop with the following test code (only 1 param) - but while on mobile, it seems Apex does not see the 'referer' header attribute (see my other question here...):


I know if it is a mobile device or not with the following code:

UserInfo.getUiTheme() == 'Theme4t';

Any advice on how to do this with mobile? This has to be possible...

Thank you.

(similar question)

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.