"Hide on disable" should remove tools for I want to menu
I would like to see the "Hide on disable" functionality work for the I want to menu like it does for the Toolbar. For example I have some workflows that work differently for two different Geocortex Identity roles. When I take permissions away from one of the roles for that workflow, the item does not appear on the toolbar for that group - as it shouldn't. The problem is, it still appears in the I want to menu for that group - which it shouldn't IMHO. Just curious if this has been addressed in a future version? (We are on 4.2.2 and GVH 2.3) Thanks.
0
-
James - You should add this to the Ideas section.
We ran into a similar issue but also with tools in the Results menu and with enabling and disabling Toolbars. We wrote a module and Workflow Commands to add enable and disable functionality at startup to disable tools based on credentials. The code is posted on Github (https://github.com/DigitalDataServices/GeocortexMenuComponents) with instructions.0 -
This isn't a property you can edit in Manager, but you can manually edit this in config, e.g.: { "iconUri" : "{ViewerConfigUri}../../../Resources/Images/Custom/map-Info-24.png", "text" : "Get Map Info", "description" : "Get information about the current map view", "command" : "RunWorkflowById", "commandParameter" : "GetMapInfo", "hideOnDisable" : "true" }I believe this will work at least as far back as GVH 2.3.
Note that the standard caveats for editing your json config files apply:
1. Ensure the site isn't open in Manager.
2. Verify your changes haven't created invalid json (using jsonlint.com or something similar).
3. Once your config changes have been saved, reload the site in Manager so it caches your manual edits.0 -
Jordan, that worked perfectly. Hopefully it will be included in core manager functionality soon enough. Thanks! (Thanks also to Tom for the workflow idea) 0 -
Happy to help! And I was mistaken about its availability in Manager: we've just added this capability as of Essentials 4.6 and the 2.7 HTML5 viewer.
_img_ alt=""Hide on disable" checkbox in Manager" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000PD4d&feoid=Body&refid=0EM60000000HSGe" _/_img_0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer