Change Dataset on Form and Dataset Brick
I'm working on a Form and Dataset Brick. I've got some background in coding enough to change a few table elements.
What I'm trying to do now is change the dataset. Right now the table is pointing to a dataset that was seemingly created when I created the brick. I renamed the dataset "P&F Test Form". Everything is working perfectly to sync to this data set and I was able to update all the field names and table names to my new names. The problem is there is no data in this dataset accept for what I've entered during my test.
I have another master P&F Form Dataset that has around 300 rows of data. I would like to change the form from the test to the master and have the table fill in all the rows.
When I change the "Dataset" in the SELECT DATASET to the master I can see everything populate in the bottom view table, but not in the card table?
I assume I have to change something in the Javascript, but have no clue what to change.
I would also be just as happy to import the data from the master to this dataset, but again, don't know how to do that.
SCREENSHOTS BELOW
Current:
This is what happens when I change the dataset - the old data remains. This other dataset is considered a "webform" not an AppDP (API) which is maybe the other reason it's not working?
THanks
Best Answer
-
I believe to change the dataset that your brick is connected to, you'll need to adjust the configuration within the brick itself. Open the configuration settings and look for the option where you specify the dataset that the brick is connected to. This is labeled as "Dataset" or something similar.
Sorry, I'm not currently where I can look at it.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1
Answers
-
I believe to change the dataset that your brick is connected to, you'll need to adjust the configuration within the brick itself. Open the configuration settings and look for the option where you specify the dataset that the brick is connected to. This is labeled as "Dataset" or something similar.
Sorry, I'm not currently where I can look at it.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1 -
The Form and DataSet Brick uses a form inside of the app to write to AppDB. AppDB is a document based data system that is separate from the standard DataSets found in Domo. This AppDB data can be synced to a standard Domo DataSet. The DataSet it syncs to is automatically generated with a name using the format {collectionName}_{appInstanceId}_APP_DB. You can change this name in the DataCenter once the DataSet is generated.
Now, if you want, you can link this DataSet to the app and perform queries or whatever you need with it however, since this app is already writing to AppDB you can just make queries to AppDB instead and not need to use a synced DataSet at all. The table shown with the default Brick code is pulling from AppDB so it won't reflect anything being changed with the wired DataSet only the wired collection.1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 618 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 741 Beast Mode
- 58 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive