WebApp Builder 2.3 - Restrict feature action options

1427
1
03-28-2017 09:46 AM
OverlaysS
New Contributor

Is there a way to restrict the feature action options in WebApp builder?

WebApp Builder 2.3 enables widgets to cross-interact with each other using feature actions.  For example - the default pop-up  can be used to set a feature as input to geoprocessing widgets;  the "SELECT" widget also gives the option to use selection as input to geoprocessing tools.

I have three geoprocessing widgets in my application and they all appear as feature action options in the  pop-up and SELECT widget options. I want to ideally be able to either disable any geoprocessing tool of choice or disable all of them.

I tried deleting the feature action setting in the app config.json but no success. I have also taken a look at the FeatureActionManager.js and BaseFeatureAction.js file (located in the jimu.js folder) but no luck.

Any suggestions/pointer will be appreciated.

Thanks

Offie

0 Kudos
1 Reply
JeremyWolff
New Contributor II

Hi Offie,

Have you found a solution for that so far? I am also trying to remove a few feature actions in the query result, come of which appear twice (see in the photo attached). 

I look in the same files as you (FeatureActionManager.js and BaseFeatureAction.js file) but no luck.

Let me know what you have found.

 

Cheers, 

Jeremy

PS: The enhaced search widget from Robert Scheitlin, GISP‌ does not have this issue:

#querywidget#customwidget‌ 

0 Kudos