passing a url parameter to a visualforce page

  • 1
  • Question
  • Updated 3 years ago
  • Answered
So I have a report I wrote as a skuid page.

which expects a url parameter
I included it in a visualforce page (because I want it to display as a pdf)

<apex:page renderAs="pdf" showheader="false" sidebar="false" docType="html-5.0" title="ACME Recruiting - Home">
<skuid:page page="Client_Encounter_Notes" /></apex:page>

how can i pass the url parameter through to the included skuid page. Even when I put the parameter in the url the PDF is blank ?

do i have to write some sort of controller extension ?
Photo of ktyler


  • 9,274 Points 5k badge 2x thumb

Posted 5 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 52,236 Points 50k badge 2x thumb
Sorry to rain on your parade, Ken, but using renderAs="pdf" won't work with Skuid Pages, because so much of Skuid is rendered using JavaScript, which the renderAs="pdf" does not support. 

But stay tuned for the Skuid Summer release, we may have some exciting stuff for you related to making PDF's out of Skuid Pages (safe harbor :)
Photo of Mark Tucker

Mark Tucker

  • 422 Points 250 badge 2x thumb
I would love an answer to this otherwise; forgetting the pdf part of the question. Looking to pass params between VF-wrapped pages.
Photo of Zach McElrath

Zach McElrath, Employee

  • 52,196 Points 50k badge 2x thumb
If you pass in URL Parameters to a VF page, Skuid will be able to access them in $Param merges, Model Conditions, Rendering Conditions, etc. 

Any further information on your use case / what's not working right now?