Merge syntax for reference field passing Name instead of Id in page include url parameters (9.5.10)

  • 1
  • Problem
  • Updated 1 year ago
  • Solved
  • (Edited)
In 8.15.15 we could use {{ReferenceField__c}} in page include url paramenters, and skuid would interpret that and pass the id field to the page include. In 9.5.11 {{ReferenceField__c}} passes the Name, and {{{ReferenceField__c}}} passes the id.

Is that intended behavior?

When did this change?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Matt do you get answer to this question.  The same thing happened to me.  It's happening in many places
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
radio silence from skuid on anything I've posted in the last week or so.

I opted for the brute force method of changing all the merge syntax for url redirects and page include url parameter strings to triple brackets for reference fields.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
And yes, that meant >150 changes to pages across our app. Not fun.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Also not acceptable.  Did you try updating the newest  version 10.05?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
No.
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
This is intended behavior if I'm understanding you correctly. Now, double brackets send over all your data and triple brackets send over only the id. We call it Merge Syntax. This functionality was added months ago.

https://docs.skuid.com/latest/en/skuid/merge-syntax.html