Batch commands in HTML5 viewer I want to menu
I am adding the measure distance and area tools to the I want to menu in the HTML5 viewer. Can I set up batch commands like you do in the Silverlight viewer to show the toolbar, set the current tab, and activate the measure tool?
-
+1
I'd also like to open the Drawing and Measure tools from the I Want To menu.
Did you solve this?
0 -
Yes Victoria helped me figure out how to manually add batch commands to the HTML5 viewer I want to menu.
To configure an I Want To Menu item to run batch commands, you will have to edit each of the Desktop.json.js, Tablet.json.js, and Handheld.json.js files manually.
Search for the IWantToMenu module, and configure a menu item as follows:
{ "iconUri": "", "text": "Batch", "description": "myBatchCommand", "batch": [ { "command": "ActivateView", "commandParameter": "MainToolbarView" }, { "command": "ActivateView", "commandParameter": "WorkflowListView" } ] },You can add as many commands into the array as you like, just remember to add a comma after each command.
She said that this is something Latitudes is looking to add in the future so that the "I want to menu" batch commands can be configured from Essentials Manager.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare