Embedding a Power Apps app in a finance and operations form
There are some scenarios where we can extend the functionality in F&O using a Power Apps app inside F&O. Not only do we embed the app, we can also complement F&O with a Power Apps app, which uses data from F&O.
Next, we’re going to learn how we can let the Power Apps app know which record in F&O to use to show the corresponding data in the app.
Passing the app context
What is exactly the app context? When we embed a Power Apps app inside Dynamics 365 F&O, we expect it to show us the relevant data depending on the active F&O record. So, if, for example, we embed an app that displays the open transactions of a customer in the customer’s form, we would expect to see only the transactions of the customer that we have selected.
We can achieve that thanks to two variables that are passed from F&O to Power Apps:
EntityId
: When we embed the app in a form, we select...