Turning a folder on
How does one turn a folder on in the layer list using WF5 when the folder is just an HTML5 Viewer folder and does not have a grouplayer equivalent in a map service. Set Layer Visibility does not seem to work on the 4-digit folder ids?
-
AAM/Latitude got back to me and this is not currently possible. You cannot use the ID to set layer visibility and you cannot call a WF4 from a WF5 that contains Client activities. You can work around it using themes, though that will mix up the currently displayed layers.
It's bit of a bummer, since the WF5 layer visibility settings are still buggy and don't work reliably when the parent folder is not turned on (as someone else mentioned on this forum).
If you don't need too many levels of layer hierarchy (as I do), you can use a group layer in a map service, keep it as folder in Essentials and use its folder ID as layer ID and no sublayer ID to set folder visibility - does not work for a folder created only in the HTML5 viewer, though.
0 -
Hi Helen,
Technically it is possible to run a xaml workflow that contains client-side activities from a 5-series workflow, if you're ok with these restrictions:
- your 5-series workflow won't wait for the xaml workflow to finish, it'll move right ahead to the next activity
- you can send input argument values from the 5-series workflow to the xaml one, but you can't pass back any outputs from the xaml workflow in your 5-series workflow
To do it, use the Run Command activity like this:
Command Name: RunWorkflowWithArguments
Command Parameter:
={ workflowId: "MyWorkflowId", Arg1: "test value 1", Arg2: "text value 2" }(In this example, the xaml workflow would be added to your site with an Id of MyWorkflowId. It would have two string Input Arguments called Arg1 and Arg2.)
0 -
Thanks, this worked for me.
0
Please sign in to leave a comment.
Comments
3 comments