USD – FireEvent Action

Leave a comment

In USD, we can call the FireEvent action to fire an event in our action call.

For example, let’s add a new event to Contact hosted control:

Give the event a name, e.g. EventWeWillRun:

In the event, we will create an action called DisplayAMessage, that will display some text, e.g. “Event has been called!”:

The event should now look like this:

With the event created on the contact:

Now, let’s call this event after the BrowerDocumentComplete event fires for the same Contact hosted control:

 Add a new action. We will fire this event using the FireEvent action:

It should now look like:

Now let’s run USD and click on a contact.

We can see our event is called through the FireEvent action:

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, BI, Web, Cloud and Data Science.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

Your email address will not be published. Required fields are marked *