UI_field pass URL Parm

  • 1
  • Question
  • Updated 1 year ago
  • In Progress

I have a page include with the following Query String.

PASS_Roll=Seller&Offer_Id={{{$Model.New_Offer.data.0.Id}}}

In the included page I would like to save the value of PASS_Roll in a UI-field.

I looked at possibly using a UI_Field  Display Type of “Text” and the “Page/URL parameter” value to PASS_Roll.  I thought “Seller” would be stored in the field.

It shows no value.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Chandra V

Chandra V, Champion

  • 6,966 Points 5k badge 2x thumb
Bill,

I had a similar problem a while back - ended up having to use a non UI field to store my text value.
https://community.skuid.com/skuid/topics/ui-field-set-from-url-parameter
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Thanks Chandra,

I did set up a field to pass the data.  The query string I am passing is "PASS_Roll"
How do I put the data in the field?  I was trying this but do not know what to pass?
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
I believe it would be:
{{$Param.PASS_Roll}}
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Thanks Raymond.   But it is still blank
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
Instead of populating the field through an update, you may want to try putting a condition on the model to set the value to the page parameter. Otherwise, I'd go with Chandra's suggestion and create a Salesforce field to collect the URL parameter instead of a Ui only field.