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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive