Can you customize the Context Menu Options (ie. List of tools in the Results Table Actions section) by Layer?
Hello fellow geo-nerds,
I know it is possible to customize the list of tool/workflows/commands that are presented to the end user in the Result Table Actions Context menu as a whole. However, I am wondering if the options in this menu can be filtered by layer? In other words, I want to control the options presented to the user when viewing the results table for a certain layer.
In our application we have a document preview workflow that only applies to our Document Layer, I was hoping to only make this workflow available to the end user when viewing results in the results table from our document layer and not have it visible when viewing results in the results table for other layers.
Any help or comments would be very much appreciated.
Evan
0
-
I'm not aware that this feature has been implemented.
We wrote a JavaScript library for a project several years ago to do this. It is available on Github for free. I cannot remember if this was before or after the Results Menu change, but may still function. We have detailed instructions and a sample Workflow.
Toggle Geocortex Menu Components (https://github.com/DigitalDataServices/GeocortexMenuComponents)
This free JavaScript library for the Geocortex Viewer for HTML5 adds the ability to disable or enable menu and toolbar items within the Geocortex Viewer for HTML5.
Using Geocortex Workflows, menu and toolbar items can be disabled or enabled based on user credentials or interaction. Examples include disabling Export functionality from Results Menu for anonymous users, disabling and enabling toolbars based on user roles, or any other use that comes to mind. This library only disables or enables menu and toolbar items that are pre-configured within the Geocortex Site, it does not dynamically add new menu and toolbar items.
Disable and enable the following items in Geocortex Viewer for HTML5:- I Want To... Menu items
- Results Menu items
- Compact Toolbar tool items
- Full Toolbar tabs, groups, and tool items
Requirements
Geocortex Essentials 4.4.3 and Geocortex Viewer for HTML5 2.5.2 and tested on beta versions of Geocortex Essentials 4.5 and Geocortex Viewer for HTML5 2.6. It may run on earlier versions of Geocortex Essentials and Geocortex Viewer for HTML5 but has not been tested.0 -
Reviewing the issues, it is not updated for the new Results List. However, in the Issues, contact Andrew Biggins for the changes he made to make it compatible. 0
Please sign in to leave a comment.
Comments
2 comments