Atvik
Heimsmeistaramót Power BI DataViz
Feb 14, 4 PM - Mar 31, 4 PM
Með 4 tækifæri til að taka þátt gætirðu unnið ráðstefnupakka og komist í LIVE Grand Finale í Las Vegas
Nánari upplýsingarÞessi vafri er ekki lengur studdur.
Uppfærðu í Microsoft Edge til að nýta þér nýjustu eiginleika, öryggisuppfærslur og tæknilega aðstoð.
Mikilvægt
Canvas apps embedded on model-driven forms are now out of preview and generally available. The steps listed below are outdated and applicable only to the public preview release of canvas apps embedded on model-driven forms. For the updated list of steps for the latest release, go to: Add an embedded canvas app on a model-driven form
This article explains how to add an embedded canvas app and pass a list of records related to the current (main form) record as a data context to the embedded canvas app.
Let's say you want to add an embedded canvas app on an account main form and pass a list of contacts related to the current account record to the embedded canvas app. To do this, follow these steps:
Sign in to Power Apps and open the form editor for a main form of a table, such as the account table.
Select the section on the form where you want the embedded canvas app to appear.
With the section selected, on the Insert tab, in the Control group, select Sub-Grid.
In the Set Properties dialog box, select the Display tab, and then in the Name box enter a name for the grid control.
In the Data Source section, select an Table and Default View that corresponds to the list of records that you want to pass as data context to the embedded canvas app.
Select the Controls tab, and then select Add Control…
In the Add Control dialog box, in the list of available controls, select Canvas app and then select Add.
In the Set Properties dialog box, in the list of controls select Canvas app and then select the Web option.
In the section below the controls list, see the list of properties corresponding to the Canvas app control and note the following:
Select the Customize button to create or edit the canvas app. This opens Power Apps Studio in a new browser tab.
Mikilvægt
In Power Apps Studio, notice that there is a ModelDrivenFormIntegration control located in the left pane. This control is responsible for bringing contextual data from the host model-driven form to the embedded canvas app.
Select the Gallery1 control and observe that the Items property is set to ModelDrivenFormIntegration.Data.
In the property pane on the right, next to Columns, select Edit.
In the data pane, change the column mapped to the Title1 control to FullName or another column that has data.
Observe that the gallery displays the data being passed to it from the host model-driven form via the ModelDrivenFormIntegration control. Close the data pane.
Select the File tab, and select Settings.
On the Upcoming features tab, in the Experimental features section, set Optimize embedding appearance to On.
Select the General tab. Provide a unique name for the app and then select Save. Note the following:
Close the Settings dialog.
Select Back, and then select the browser tab that has the form editor open.
Observe that the App ID property of the Canvas app control now has a value automatically filled in. Note the following:
In the Set Properties dialog box, select the Display tab, clear Display label on the form, and then select OK.
On the Home tab, select Save, and then select Publish.
After you have added an embedded canvas app to your model-driven form, share your embedded canvas app with other users. More information: Share an embedded canvas app.
When users open a model-driven app (Unified Interface only) that includes the form you have modified, they see the embedded canvas app on the form. Changing the record displayed on the main form changes the data context that is passed to the form and the embedded app refreshes to show the relevant data.
This article showed you how to get started with the embedding a canvas app in a model-driven form. You can further customize the embedded canvas app to connect and bring in data from various data sources. Use the Filter, Search, and LookUp functions and the context passed in from the host model-driven form to filter or find specific records in those data sources. Use the WYSIWYG canvas app editor to easily design the interface to match your requirements.
Embed a canvas app on a model-driven form
Add an embedded canvas app on a model-driven form
Edit a canvas app embedded on a model-driven form
Customize the screen size and orientation of a canvas app embedded on a model-driven form
Perform predefined actions on the host form from within an embedded canvas app
ModelDrivenFormIntegration control's properties and actions
Share an embedded canvas app
Guidelines on working with embedded canvas apps
Migrating embedded canvas apps on model-driven forms created using the public preview release to latest
Atvik
Heimsmeistaramót Power BI DataViz
Feb 14, 4 PM - Mar 31, 4 PM
Með 4 tækifæri til að taka þátt gætirðu unnið ráðstefnupakka og komist í LIVE Grand Finale í Las Vegas
Nánari upplýsingarÞjálfun
Námsslóð
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
Vottorð
Microsoft Certified: Power Platform Functional Consultant Associate - Certifications
Demonstrate the use of Microsoft Power Platform solutions to simplify, automate, and empower business processes for organizations in the role of a Functional Consultant.