RUN JAVASCRIPT WHEN USER CLICKS ON UNIFIED INTERFACE TAB
In Dynamics 365 / Power App, we may want to “do something” when a user clicks on a form tab. Let’s look at how we can write a handler to invoke custom code.
In our example, let’s look at the Account form. This form has multiple tabs – Summary, Project Price Lists, General etc. Let’s write code so when a user clicks in and out of the General tab, our code runs:
- Edit the form and go to the General tab properties:
2. We see the tab is actually called Partner_Details. Click OK: