Can I use merge syntax in a button action to create a new row?

  • 1
  • Question
  • Updated 2 years ago
  • Answered
On a button's actions, I want to create a new row where one of the fields is set to a parameter that is passed to the page by URL.  Can I use the {{$Param.label}} merge syntax to set this value?

Photo of Debbie Bishko

Debbie Bishko

  • 250 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Yes. Merge Syntax allows for this.
Photo of Debbie Bishko

Debbie Bishko

  • 250 Points 250 badge 2x thumb
Is this also true if the URL parameter is being passed through a Page Include?  The actions I have in the screenshot are not working when the parameter comes from a page include.  Works fine if I go to the page directly.  I did confirm that the yieldid value is being passed correctly on the page include.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Unfortunately, Page Includes don't pass page URLs.
Photo of Debbie Bishko

Debbie Bishko

  • 250 Points 250 badge 2x thumb
Ahh.  That explains it.  I'll go a different route...  Thanks.