AnsweredAssumed Answered

widget action sometimes does not trigger for supported features

Question asked by Stahly on Jul 18, 2017
Latest reply on Aug 7, 2017 by rscheitlin

I've created a custom widget that should execute a feature action for a specific feature class, checked for by the display field name.

When the widget is first added to a web app, everything works well. However if the app is saved and reloaded the feature action does not come up.

 

Are there specific locations where I should look for mismatched file names or something similar?

The browser (up to date Chrome) console does not report of any errors when attempting to add the widget to an app or selecting the target feature class.

(edit):

Doing any changes to the feature action .js file, including changing a comment or whitespace, saving the file and reloading the app allows the widget to work as intended until the app is reloaded again.

 

Thanks!

Outcomes