Get the ActiveTheme via Workflow
Hi
With 4.6.1 and HTMLViewer 2.7, is it possible to get the Active Theme via a Workflow? I need to see what theme the user currently has before I go into a workflow process.
Thanks
0
-
I don't think so, but you can probably set up a listener to look for whatever the event is that switching the theme calls, I suspect the LayerThemeChangingEvents (https://maperture.digitaldataservices.com/geocortex/reference/index.html?sub=layer-theme#events) . When you get that, you will probably find an argument for the id of the theme, which could be stored in a viewer external value and accessed in other workflows. You'll need to keep that workflow from timing out so that your listener stays awake and can pass that infromation to your external property whenever that event fires. 0 -
Thanks Zack - I thought that might be the case and thats the solution we are looking at. Cheers! 0
Please sign in to leave a comment.
Comments
2 comments