Can we use Query Params for an embedded app ( brick converted to an app) ?
Arthi Annadi
Member
in Apps
Can we use Query Params for an embedded app ( brick converted to an app)?
I would need to collect the data ( Query Params) to my collection when embedded publicly using Query parameters.
1
Answers
-
Yes, you can pass query parameters via the URL. But you'll have to code to capture the params. Something like
https://instance.domo.com/app/myapp?param1=value1¶m2=value2function getQueryParams() {
const urlParams = new URLSearchParams(window.location.search);
const param1 = urlParams.get('param1');
const param2 = urlParams.get('param2');
console.log(param1, param2);
}Make sure you are not exposing any private or sensitive information through parameters.
** 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
- 296 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 98 SQL DataFlows
- 610 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 716 Beast Mode
- 52 App Studio
- 39 Variables
- 670 Automate
- 171 Apps
- 447 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 117 Manage
- 114 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 104 Community Announcements
- 4.8K Archive