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:

 

THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
 

I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.

IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.

THANK YOU, AND LET'S KEEP LEARNING TOGETHER.

CARL

https://www.youtube.com/carldesouza

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

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