Skip to main content

Get the ActiveTheme via Workflow

Comments

2 comments

  • Zack Robison
    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
  • Permanently deleted user
    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.