Runtime selection of dataset, not through manifest file
Currently testing using either vanilla javascript or React as a target framework. Not looking to deploy this on App Studio yet. We are not on consumption yet, so no workflows currently for this, but workflows still might not solve this particular item.
I've created a test application to allow users to approve exceptions. Data comes in nightly, and if something sits outside what we consider "normal," it gets flagged as an exception. However, there are inevitably several "known" exceptions that the users either don't want to see in their exception reporting or are known exceptions that have been approved. The application brings in information from a dataset, filters it down based on column x in the database, and allows the users to click a checkmark "approve" button. The approval gets written back to the collection database and queried at runtime to hide prior approved exceptions. This is a simple table structure being displayed to the users. Nothing too fancy.
However, to get this to work, as I know it today, I would need to have each of the possible datasets included in the manifest file and create logic to know that this specific card was selected to point at this specific dataset. But, if a user wants to add in a new dataset, we'd have to redeploy the app to account for this new ID. This would then potentially cause performance issues if we have 10-20 datasets included? (I may be overthinking this one)
So, is there a better way to handle this? Can I have users dynamically point to another dataset ID at runtime if they want a new exception (such as through a list of known datasets from one of the governance datasets)? Or is the way I have proposed above about the only way that can easily be leveraged to complete this task?
Best Answer
-
Custom apps don't support dynamic dataset changing. Have you thought about combining your datasets together via a dataset view or dataflow into a single dataset and use that output dataset to power your App?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
Custom apps don't support dynamic dataset changing. Have you thought about combining your datasets together via a dataset view or dataflow into a single dataset and use that output dataset to power your App?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 709 Beast Mode
- 49 App Studio
- 39 Variables
- 667 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 44 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 115 Manage
- 112 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive