Dropping Custom Field into URL on Template Component

  • 1
  • Question
  • Updated 4 years ago
  • Answered
  • (Edited)
This should be an easy one.  

I have a template field in a field editor component and I am trying to do a simple link to a Salesforce report where I am passing in a field value.  However, it looks like Skuid forces the custom field to be displayed.  

My setup.  You can see my template link is: 

<a href="https://my.salesforce.com/00O50000003v1Ir?pv0={{Household__c}}">Report</a>;



But the result is this:





What I want is the just the word "Report".  Why is it displaying the Household__c value?? I have tried enabling and disabling 'Allow HTML'.  Same behavior.

What do I need to do to my template link so that it drops in the custom field into the URL and only displays the proper text?

Thanks!







Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb

Posted 4 years ago

  • 1
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
Peter,

Try using a triple curly brace around that Household__c merge:
{{{Household__c}}}
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
Thanks!  I knew it was really easy!  Thanks for the fast response. 
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
No problem! Just for fun (and in case anyone else finds this thread looking for info on Skuid merge syntax), here are a couple of documentation links:
  1. Skuid Template Syntax - http://help.skuidify.com/m/11720/l/216661-skuid-template-syntax
  2. Global Merge Variables / Functions - http://help.skuidify.com/m/11720/l/187263-global-merge-variables-functions

Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
Thanks for the resources.  I'll review these closer.  One more related question, I just added the target="_blank" and it's working great but when I get back to the Skuid page tab I see this blank pop-up.  What's that and how do I get rid of it?


Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
That's a new one to me. This is on the page builder? Would you mind posting your page XML (look for the View/Edit XML link in the bottom right corner)?
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
Is there a way I can send it to you privately?  Otherwise I need to run through the code and mask a bunch of labels.
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
Certainly, though you are welcome to mask the labels anyway. Is emailing support@skuidify.com private enough?
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
Sent!
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Peter, try marking "Read-Only" on your Template field. That should disable this popup.