AnsweredAssumed Answered

Limiting popup link to individual features

Question asked by a00847138 on Nov 3, 2017
Latest reply on Nov 3, 2017 by a00847138

I have modified the PopupManager.js in WAB 2.5 to have a link that runs a geoprocessing script when clicked. The issue that I am having now is that the link appears for all features in my map but the geoprocessing script only relates to one feature. I have added a check that throws an error if a user tries to run the link from a incorrect feature but ideally the link wouldn't appear at all. Is there a way to only show the link when a particular feature is selected? I have attached my popupManager.js. 

Attachments

Outcomes