Skip to main content

Hi,


We are attempting to use the skuid page component from a visual force page to load a page, but we are trying to set a page parameter on the skuid page and it is giving us an error.


Using this code below works:


<apex:page

standardController=“Contact”

extensions=“skuid.Redirects”

showHeader=“false”

sidebar=“false”

readonly=“true” docType=“html-5.0”

action=“{!IF(canUseSkuid,‘’,redirect)}”

title=“TestPage”>

<skuid:page page=“TestPage” />

</apex:page>


But if we change the skuid page to


<skuid:page page=“TestPage&contactid={$Contact.Id}”/>


or any other parameter we set, it gives a skuid error and says the page does not exist. We are not sure how else to try to set the page parameters and pass the values we need to to the skuid page.


Thank you!

Hi Emma,

In most cases, the parameter can come from the actual URL of the Visualforce page. Skuid can see the Visualforce page’s URL and parameters, so what you’ve got in your markup shouldn’t need to include the contact Id if it’s in the actual URL. 

If there’s something about your setup that means the real URL doesn’t have the params, let me know.


Hi Mark,

Thank you for your reply!

I should have said originally, it is for a public site for a community. So when we load the public site, it seems to actually mask the URL. I am not sure if this is what is preventing the parameter from accessing the value it needs.

Any help or suggestions are greatly appreciated!


Reply