Select to view content in your preferred language

PopupTemplate.content with method in 4.0

3620
11
Jump to solution
05-11-2016 11:52 AM
AndreaWeeg
Deactivated User


with 3.x I used to be able to call a method whenever the info template was shown like infoTemplate.setcontent(mymethod); I dont see a way to do this in 4.0, or even a way to set the content when the pop up is shown. any feedback is appreciated!

Tags (2)
0 Kudos
11 Replies
JasonHine
Esri Contributor

It looks like this is now possible in ArcGIS API for JavaScript 4.1:

ArcGIS API for JavaScript Sandbox - PopupTemplate function

0 Kudos
SafeTRECUCB
Deactivated User

The sample does not work anymore. It worked fine when it first released but somehow it's now not working.

0 Kudos