Zum Hauptinhalt gehen

"Hide on disable" should remove tools for I want to menu

Kommentare

4 Kommentare

  • Tom Neer
    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
  • Permanently deleted user
    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
  • James Landwehr
    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
  • Permanently deleted user
    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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.