Open Custom Widget on Map Click Event

1723
4
Jump to solution
06-10-2019 01:17 PM
jonataspovoas
New Contributor III

Hi,

I have a web appbuilder app, and I need to open a custom widget when the popup of some of the layers is show. Is there a way to do it?

Tags (2)
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

Jonatas,

   That sounds like you need to create a widget feature action.

https://developers.arcgis.com/web-appbuilder/guide/create-a-feature-action-in-your-widget.htm

0 Kudos
jonataspovoas
New Contributor III

Hi,

The widget feature action enables an option at the popup. What I need is to make the action automated.

RobertScheitlin__GISP
MVP Emeritus

Jonatas,

   I guess I am confused then because in a feature action you can choose to display the action based on any criteria from the feature that the popup is tied to. So what do you mean you need to make the action automated?..

0 Kudos
jonataspovoas
New Contributor III

Hi,

My client wanted the widget to open in the same click event of the popup window, but it was happy enough with the feature action, so thanks for the answer and sorry it took this long to reply.

0 Kudos