function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Canio Caputo 2Canio Caputo 2 

Using Visual Force I want to Pass Salesforce Account.id into a Domo Card

First I'll preface this by saying my HTML is lacking.  That being said I think I'm 80% of the way to where I need to be.

My use case:  When my Salesforce users open an Account in Lightning, I want a visual force page to open.  That VF Page will be a Card in Domo.  That Card in Domo will be specific to that Account my users are viewing.  

Currently I have a basic VF Page that can display a generic card from Domo: 

<apex:page standardController="Account">

<iframe src="https://mycompany.domo.com/embed/card/199079?enable=drill" width="600" height="275" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe></apex:page>
 

But now I'm trying to pass the Account.ID into this code which I think is almost correct.  I know people have been able to get this to work in the past, I just can't figure it out:

 

https://mycompany.domo.com/embed/card/12345679?enable=title,summary,&pfilters=
[{%22column%22:%22<Account.Id>>%22,%22dataType%22:%22<STRING>%22,%22operand%22:%22<IN=>%22,%22values%22:[%22<VALUE TO FILTER AS>%22]}]
 



 

Best Answer chosen by Canio Caputo 2
Canio Caputo 2Canio Caputo 2

I was able to solve the riddle!!!

<apex:page standardController="Account">

<iframe src="https://my.domo.com/embed/card/5086?enable=title&pfilters=
[{%22column%22:%22AccountId%22,%22dataType%22:%22STRING%22,%22operand%22:%22IN%22,%22values%22:[%22{!Account.Id}%22]}]
" width="375" height="450" marginheight="0" marginwidth="0" frameborder="0" scrolling="yes"></iframe></apex:page>
 

 

All Answers

Raj VakatiRaj Vakati
I will suggest to raise the support ticket with Domo Team 

But As per my knowledge you have to send some think like this 
 
https://yourdomoinstance.domo.com/page/1111111111?pfilters=[{"column":"COLUMN_NAME","dataSourceId":
"DATASET_ID","dataType":"string","operand":"IN","values":["FILTER_VALUE"]}]

https://dojo.domo.com/t5/Card-Building/Filter-Page-via-URL/td-p/23967
Canio Caputo 2Canio Caputo 2
I don't want to pay for proserv, which is what Domo is trying to charge me
Canio Caputo 2Canio Caputo 2

I was able to solve the riddle!!!

<apex:page standardController="Account">

<iframe src="https://my.domo.com/embed/card/5086?enable=title&pfilters=
[{%22column%22:%22AccountId%22,%22dataType%22:%22STRING%22,%22operand%22:%22IN%22,%22values%22:[%22{!Account.Id}%22]}]
" width="375" height="450" marginheight="0" marginwidth="0" frameborder="0" scrolling="yes"></iframe></apex:page>
 

 

This was selected as the best answer
ArunaAruna
Hello want to bring DOMO card to vf page . Planning to embed vf page in page layout.
I want to create re usable lighting componet which can be used to pull the any domo card based on the parameters.
Can any one please help me to create the re usable componts with the parameters.