window.addEventListener("message") does not trigger when card is clicked
I have successfully built and ran the sample. My card is loaded.
Now I want to watch the event of card clicking and get out the selected data.
With the help of Domo, the event of message will be just work when card is clicked, or filter is changed, but nothing happened. I also tried to change column&value of filter which this sample provides, nothing happened either. The event of message is not triggered at all.
Checking the code, I think the problem maybe the ports has not been initialized. When the iframe is loaded with the src (specified in html definition), message should be triggered one time, then ports will be initialized. However, the event is not triggered at all.
Could you help what I missed? Thanks.
Please run the sample above to verify if it could work or not at your side.
Do you get any error message to help with troubleshooting?
I would suggest also sending this thread, or these screenshots along with an explanation of your situation, to Support [support.domo.com] as they are better equipped to confirm bug or missing elements in your code.10
@amehdad , As said, this event is not triggered. no any error.
I will try to contact support.domo.com. thank you for the suggestion0
Hi @xiaodongliang, how did you go with this? What did Support say?8
@amehdad , thank you. I gave it up finally. bad experience with Domo support.1
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 470 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 80 Cards, Dashboards, Stories
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 174 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive