domo.datasets is Undefined
In the sample apps, I see these 2 lines:
var domo = window.domo;
var datasets = window.datasets;
I have an alert(domo) that returns a result
But alert(datasets) is always undefined.
I am unable to do any domo.gets() and am thinking this is the problem.
Any ideas?
My manifest file is:
{
"name": "Try2",
"version": "1.0.0",
"size": {
"width": 2,
"height": 1
},
"mapping": [
{
"dataSetId": "a90327ee-38f7-4d95-a52e-1cc0e1ae67c2",
"alias": "Details",
"fields": []
}
],
"fileName": "manifest.json",
"id": "c53c1944-0072-4e51-af68-3d584a2141f4"
}
Best Answer
-
@GMSilvey
The Domo.js library is what enables the ability to use the Domo.get() method (in your post you said gets instead of get without the s which may just be a typo but if not be sure to use Domo.get())Aside from that, typically when you receive an undefined error it may be because you have downloaded the domo.js library incorrectly or it may be importing incorrectly to your app.
To learn more about this please refer to our Developer site.
This outlines all the steps necessary to perform the actions you are wanting.0
Answers
-
@GMSilvey
The Domo.js library is what enables the ability to use the Domo.get() method (in your post you said gets instead of get without the s which may just be a typo but if not be sure to use Domo.get())Aside from that, typically when you receive an undefined error it may be because you have downloaded the domo.js library incorrectly or it may be importing incorrectly to your app.
To learn more about this please refer to our Developer site.
This outlines all the steps necessary to perform the actions you are wanting.0
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
- 621 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 743 Beast Mode
- 58 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 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