Skip to main content

For the new Event service in Web 5.25: how do we use it?

Comments

3 comments

  • Alisa Lindley

    Hi Zack,

    The new Event Service settings can be accessed under the Services tab in Web Designer. To set it up, you would click the Add Event Listener button then specify the event you would like to use as the trigger. You can find a list of events for VertiGIS Studio Web here. You would then select the desired command under the Action property. There are a few more optional setting you can configure, such as Title and Sender, but that's about the gist of it. Here are a few screenshots as an example:

    4
  • Zack Robison

    Awesome, thanks so much for the tips!  And with pictures too, I can even follow along XD.  I didn't realize it would be so easy, this is very cool.  I'm stoked!

    1
  • Tor Røkkum Børset

    Can you use an event-listener to watch if a button is activated? If so, which command and which arguments to put into the "Event"-field? 

    Also, I havent quite figured out how to write event-arguments into the event window. Could you give us an example of this?

    For instance the workflow.workflow-finished event, and its arguments:
    https://developers.vertigisstudio.com/docs/web/api-commands-operations-events/#definition-WorkflowFinishedEventArgs 

    Is there by chance an event that listens to if a workflow has been terminated / closed because a parent component was closed? For example if a panel with a workflow within is closed. 


    Kind regards
    Tor

    0

Please sign in to leave a comment.