window.addEventListener("message") does not trigger when card is clicked

Hi experts,
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.
Answers
-
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 suggestion
0 -
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
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive