Automatically Loading a Custom Pop Up Window After Selection

436
2
Jump to solution
09-09-2019 06:42 PM
ARUNCHANUMALLA1
New Contributor

Hello All,

I kick started a project based on one of the samples of the jsapi example (Highlight Features By geometry)

ArcGIS API for JavaScript Sandbox.

After drawing a graphic that selects the desired features, what i would like to see is a small window

with with a List box and a submit button. Once the user clicks the submit button , the user selection of the list box and along with the features selected by drawing a graphic would be passed to a  function.

Any thoughts Greatly Appreciated !

A

0 Kudos
1 Solution

Accepted Solutions
VictorTey
Esri Contributor

Hi, you can use the popup widget.

Popup | ArcGIS API for JavaScript 4.12 

With the popup widget, you can set the content dynamically with html. Then use a action on the popup to call the function.

Hope that helps

View solution in original post

0 Kudos
2 Replies
VictorTey
Esri Contributor

Hi, you can use the popup widget.

Popup | ArcGIS API for JavaScript 4.12 

With the popup widget, you can set the content dynamically with html. Then use a action on the popup to call the function.

Hope that helps

0 Kudos
ARUNCHANUMALLA1
New Contributor

Thanks Victor.

0 Kudos