DOMO Card Variable access via API

I created a DOMO Variable to filter metrics by period-to-date values across several Cards. These Cards are embedded and displayed together within our product's UI on the landing page (no filters shown).
The variable functions as expected within DOMO. How am I able to call this variable through the API as I would a regular embedded Card filter so end-users can make period-to-date selections through our product's UI?
Pages showing the Variable Control are not an option as the PTD filter is part of our UI. Want to avoid creating a new Card for every period for the same metric.
Also related, looks like variables do not function through pfilters:
Thanks for any guidance here.
Answers
-
Hi @ryans1,
Are you embedding individual cards, or an entire dashboard in your product's UI? I've successfully been able to embed dashboards with variables in them using Domo Everywhere. Is there a reason you would need to call the variable via API instead of simply allowing the user to use the selector in the UI?1 -
@ellibot Thanks for the quick reply. These are individually embedded Cards within our app rather than Pages showing any Variable controls. Pages would simplify the process drastically because you just throw up the control and you're done.
The API requirement is because users enter their time-frame selection through our app's in-house selector/control in the UI rather than DOMO's.
0
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 819 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive