Embedded Cards in Salesforce: Dynamic Filter

Reply
Highlighted
Visitor

Re: Embedded Cards in Salesforce: Dynamic Filter

To embed a card with filters passed via url (remove the angle brackets and replace with your own variables):

 

<iframe src="https://mycompany.domo.com/embed/card/720220402?enable=title,summary&pfilters=[{%22column%22:%22<COLUMN TO FILTER>%22,%22dataType%22:%22<STRING, NUMBER, DATE, ETC>%22,%22operand%22:%22<IN, NOT IN, =, ETC>%22,%22values%22:[%22<VALUE TO FILTER AS>%22]}]" width="350" height="250" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>

 

The important part is bolded and underlined.

 

This will also work for pages, just replace the URL in src=with the entire page URL

Announcements
We want your feedback to improve the Dojo Community! If you are coming to the Dojo Award Ceremony next week Click here to learn more!