Bookmark Widget Actions

200
2
09-01-2022 11:28 AM
KevinCriss
New Contributor II

I would like to access the click action for a bookmark and store a message.

Then I want another widget subscribe to the message and listen for changes.

If (changed) && message == "abc" then

                    do this in widget (not bookmark widget)

 

I have checked API documentation, Exp Builder, Samples, and Community posts.  I cannot find how to subscribe to the click event or extend the click event to include the message logic.  Can anyone help?  Any help will be appreciated.

 

Thanks in advance.

0 Kudos
2 Replies
KevinCriss
New Contributor II

I notice the bookmark widget is not included on the GitHub repo and from the action of configuring the widget it appears to be more complex than other widgets available for extending.  Any additional guidance on how to interface and subscribe to the bookmark widget events will be appreciated.

DanJiang
Esri Contributor

Hi @KevinCriss ,

The message format is defined at the framework level. Currently, there is no bookmark message. Maybe you can use the map's extent change message as a workaround?

0 Kudos