In this blog post, we will Invoke a Power Automate from Dynamics 365 Or Model-Driven Apps using Form Scripts.
Scenario
A person fills up the Form and saves it in the Model-Driven app. The Script captures the items(column) values, passes the values to Power Automate which generates a PDF, and sends it as an Email Attachment.
This article is broadly devide into two main part
- Configuring Form Scripts in model-driven apps.
- Invoking a Power Automate from Form Scri
Basics of Client API object modelfor Model-Criven apps
The Client API object model for model-driven apps provides you objects and methods that you can use to apply custom business logic in model-driven apps using JavaScript, such as Get or set column values, show and hide user interface elements, etc. For details on the Client API, object model see the link.
We will Trigger our code whenever a Form is saved(OnSave). We…
View original post 592 more words
Could provide reasons for using JavaScript instead for an ordinary Dataverse connector in Flow?
LikeLike