Send postMessage event when user does not have access to embedded dashboard
Currently, when a user attempts to access an embedded dashboard that they do not have access to, DOMO presents the message "Sorry. This content is no longer available." in the embedded Iframe. From what I can tell, there is no way to capture this and provide a custom message to the user with perhaps more information or a course of action.
This DOMO article provides a way of dynamically resizing an Iframe based on the height of the returned dashboard by way of a postMessage back to the browser. What would be great, is if DOMO can also post a message (or event) back to the browser which we can detect in a similar fashion, so we can capture this and use an event handler to provide some custom feedback to the user (eg: a modal window or an overlay with message) as to why they cannot access the dashboard.
Perhaps instead of returning event.data.params.height (as per the article) DOMO can return event.data.params.error with an error message which we can either use or detect and provide and alternate message.
Hope that makes sense but let me know if you need clarification. Thanks!!
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 600 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 685 Beast Mode
- 43 App Studio
- 38 Variables
- 655 Automate
- 170 Apps
- 438 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 383 Distribute
- 110 Domo Everywhere
- 267 Scheduled Reports
- 6 Software Integrations
- 111 Manage
- 108 Governance & Security
- 8 Domo University
- 25 Product Releases
- Community Forums
- 39 Getting Started
- 29 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive