Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Answered

Adding custom page to model-driven app

Posted on by 20

Hi, 

I am currently creating an canvas app to embed in a model-driven form in order to be able to work with a more flexible layout. 

However, I read this article regarding custom pages (preview): Add a custom page to your model-driven app - Power Apps | Microsoft Docs and thought that it might be useful for a better integration with the mode-driven app.

It describes how to add a custom page into a site map. However, I am not sure if custom pages can be embedded in forms like canvas apps and whether this is a better option than embedding an canvas app - can anybody help? 

Regards

Categories:
  • Yash1105 Profile Picture
    Yash1105 5 on at
    RE: Adding custom page to model-driven app

    Michael Hernandez MMC

    Did you able to figure out how to pass record object from Dataverse to Custom Page when it is embedded in form?

    Thank you in advance.

  • ABDwbg Profile Picture
    ABDwbg 35 on at
    RE: Adding custom page to model-driven app

    Please check my reply

  • ABDwbg Profile Picture
    ABDwbg 35 on at
    RE: Adding custom page to model-driven app

    Thank you.

    Even if we incorporated the access in the form, this method required sharing the access separately. Access to the custom pages doesn't need to be granted separately.

    Can we include a custom page inside a form without granting anyone else access to the custom pages that are contained in the form?

  • RE: Adding custom page to model-driven app

    How did you get the account name within the custom page?

  • MMCJF Profile Picture
    MMCJF 20 on at
    RE: Adding custom page to model-driven app

    Hi Steve

    Thank you so much for your reply and detailed description! It works :-)

    Regards,

    Maja

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Adding custom page to model-driven app

    Hi Maja Møller Christensen,

    It is possible to implement custom pages that can be embedded in forms such as canvas applications. I did the following test:

    1.Go to Power Apps and select your Canvas App, then click on Edit->Edit in preview.

    pic53.png

    2.Select the custom page and click on Edit.

    pic54.png

    3.Find the App ID of this page and copy it.

    pic55.png

    pic56.png

    4.Select the Table, which includes the form where the canvas app needs to be shown. Select Forms and choose the Main Form.

    pic57.png

    5.In the form designer, select the section on the form where the embedded canvas app needs to appear.

    Either select + Component from the top menu, or select the component icon from the left hand menu. This opens the components pane.

    6.Paste the copied App ID into the Static value of App ID and save it.

    pic58.png

    7.Save and publish.

    pic59.png

    About which would be better, this is based on our business and application scenarios Canvas Apps are designed to build a flexible user interface that connects to various data sources easily, whereas model driven apps are designed with an out of the box business model that you can easily extend and integrate. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,647 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans