Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Answered

Embed canvas app - model driven - New record

(1) ShareShare
ReportReport
Posted on by 265

Hello guys,

 

Is the embed canvas app in model driven only meant for Edit the existing ? Could we use the same canvas app for create new record as well ?

 

So in our Model Driven App, when we look at the view of our table (through the navigation), when we click the New button at the top, it will also load the main form with the embed canvas app ->

Voltes_1-1626258061299.png

I noticed in mine right now, when I edit the existing, it will show me the canvas app that I embed, but when I add (Click New button), it just blank form, it the same form that used to have the embed canvas app, only it is blank or only the field for the key integration.

 

Thanks.

  • Verified answer
    H Sheild Profile Picture
    H Sheild 2,962 on at
    Re: Embed canvas app - model driven - New record

    @Voltes , this a known and documented limitation of embedded Canvas Apps


    See https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embedded-canvas-app-guidelines

    • Embedded canvas apps are not displayed when creating a new row since they need a row context to be passed to them.

     

  • cchannon Profile Picture
    cchannon 4,702 on at
    Re: Embed canvas app - model driven - New record

    As long as the recordId is not one of the input parameters, a PCF will render on a Create Form (even a QuickCreate). That should give you the UI flexibility to do whatever you're trying to do with Canvas.

  • Voltes Profile Picture
    Voltes 265 on at
    Re: Embed canvas app - model driven - New record

    Hi @cchannon 

     

    Yeap, I tried to put some default value in a field, thought that the embed only need a field that has value.

    Still it is not showing. So I guess it is need a GUID by means it supposed to save so to have an physical record in database first.

     

    Wish there is another workaround or trick.

     

    Thanks

  • Voltes Profile Picture
    Voltes 265 on at
    Re: Embed canvas app - model driven - New record

    Hi 

     

    Thanks for the input, Well, actually the plan in my Canvas app, there is also create new record. Thought by detect that GUID not exist, means we're able to "Add new record"  ? 

     

    May I know the integration or the relationship, is through GUID or the field that we use to add the Canvas App ?

     

    Thanks

  • cchannon Profile Picture
    cchannon 4,702 on at
    Re: Embed canvas app - model driven - New record

    As with a subgrid, a Create form is a limited portion of the form functionality because while on that form, the record does not yet exist. The Guid is not generated until you hit Save, so for subgrids there is no Guid to build relationships with and for Canvas Apps there is no Id to pass in as context.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics