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
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 659 Datasets
- 116 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 82 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive