Blank Brick
When I create a blank brick in Domo, it builds out a card with area for javascript, html, and css code. It also adds three datasets to the domain. I replace dataset[0] with my own dataset and get the card working. Terrific so far. But I never needed that example set in the first place.
Now I want to delete those example sets. When I have deleted one of the example sets in the past, it wiped out my card and my code. Since then, I don't touch them. But I want them gone.
1.) How do I trace these datasets to the cards using them?
2.) How do I safely disconnect the datasets from the card, and remove them without disturbing the card?
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **
Best Answer
-
I would try mapping datasets 0, 1, and 2 to the same real dataset that you need so that you brick doesn't reference any example datasets in the code. I would think you would then be able to safely delete the example datasets.
I'm not sure if there is a brick that only has one dataset, but if you find one, you might want to make that your starter brick going forwards.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0
Answers
-
I would try mapping datasets 0, 1, and 2 to the same real dataset that you need so that you brick doesn't reference any example datasets in the code. I would think you would then be able to safely delete the example datasets.
I'm not sure if there is a brick that only has one dataset, but if you find one, you might want to make that your starter brick going forwards.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
I haven't seen a brick with only one. I thought I had tried remapping all three but I just tried again and it worked. Thanks @MarkSnodgrass.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Bricks usually have more than 1 DataSet by default just in case you need them. This is because Bricks don't have access to the manifest to add or remove wired items. As suggested, if you never need the sample datasets wire all datasets to your desired one(s) and then you should be safe to delete the unwanted datasets. It should show you on the delete modal if you still have cards wired. If you create a new card from an existing Brick design in the Asset Library it won't create a new sample DataSet like the Appstore does. Instead you can just wire the DataSet you want on the create screen.
Lastly, we are in a beta currently for an in browser custom app editor that gives you a Bricks-like experience without the manifest limitations, always having 3 mapped datasets, etc. Speak to your Domo rep if you are interested in being a part of the beta.1 -
Thank you for the information @JosephMeyers . As Mark mentioned, I was able to set all datasets to my dataset and then safely remove the example sets.
** 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