cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Voltes
Helper V
Helper V

Embed canvas app - model driven - New record

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.

1 ACCEPTED SOLUTION

Accepted Solutions
HSheild
Super User
Super User

@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.

 

View solution in original post

5 REPLIES 5
cchannon
Super User
Super User

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.

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

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

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.

HSheild
Super User
Super User

@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.

 

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,251)