External command for Drawing Order?
Hi,
I found the command to open the LayerGroupsDialogView, which works with OpenLayerDrawingOrderGroups. The problem is that my users don't understand what service and graphics layers are, and I don't want them to change the order of the graphics layers anyway. I'd like them to go directly to the OrderServicesDialogView instead of going to the groups view.
Is there an external command to open the OrderServicesDialogView? I've already experimented with deleting the Graphics layer view from the module, but while that removes the functionality, the graphics button is still there, just not working, which would be confusign.
If there isn't an external command, could someone please suggest a workaround?
HTML5 2.10/GE 4.9
Thank you,
Helen
0
-
Hi Helen,
You actually solved the hard part of your question already! Once you know the name of a view, you can use the ActivateView command to open it. So in this case it would be
Command: ActivateView
CommandParameter: OrderServicesDialogView
It looks like it doesn't find your services correctly though if you skip straight to this view without opening the first one first. You'll get to the view, but the list of services to reorder will be empty. I would try using a workflow or a batch command to run both OpenLayerDrawingOrderGroups and ActivateView in sequence as a workaround for that.
Hope that helps!
-Amanda0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar