web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Embedded Canvas App in...
Power Apps
Suggested Answer

Embedded Canvas App in Model Driven App not loading Data - ModelDrivenFormsIntegration

(0) ShareShare
ReportReport
Posted on by 2,561 Super User 2026 Season 1
Hi all,
 
maybe I am doing something entirely wrong here but it did work that way usually.
I am trying to embed a canvas app into my MDA. Basically the CanvasApp is there but does not load the data. 
There should be the name displayed but the condition seems to be blank an no data passed towards the canvas app:
 
It seems like the old form designer does not work for me right now as I cannot find the custom control option for one of my fields.

The ModelDrivenFormIntegration is setup and at least shows the necessary data inside the canvas app designer:


I am a bit blank what else the issue could be. I remember that the only way of making that app work was directly adding it inside the form but this also does not work as the canvas app control directly wants the binding column, an app name and an app id. If not provided the app itself crashes.
I am binding it to the 'Account Name' Column as this is always present in the form.
 
Any idea what else there is to try or which workaround I could use?
 
Categories:
I have the same question (0)
  • Suggested answer
    CU18050859-2 Profile Picture
    3 on at

    Hi Lucas,

    Most likely root cause i could find was:

    • The app may have been added using the newer Canvas App control experience instead of the classic embedded Canvas App integration flow
    • In that setup, ModelDrivenFormIntegration often does not receive the form context correctly

    Recommended fix:

    1. Remove the current embedded Canvas App control
      • Remove the existing app/control from the form
      • Save and publish the form
    2. Recreate the embedded app using the classic integration flow
      • Open the Main Form
      • Add a field to the form
      • Go to:
        Change Properties -> Controls
      • Add:
        Canvas App control
      • Choose:
        “Create a new app”
    3. Bind the control to a guaranteed populated field
      Recommended:
      • Account ID (preferred)
      • or Account Name
    4. Test with a simple formula first
      Example label formula:

      ModelDrivenFormIntegration.Item.'Account Name'

      or

      First(ModelDrivenFormIntegration.Data).name

    5. Important testing requirement
      • Test only on already saved records
      • Embedded Canvas Apps often fail on unsaved/new records
    6. Publish everything in this order
      • Save app
      • Publish app
      • Save form
      • Publish form
      • Publish all customizations

    Additional note:

    • If the app references ModelDrivenFormIntegration inside App.OnStart, this can also fail because the integration context is not always available during startup
    • Better approach:
      • Use Screen.OnVisible
      • or directly reference ModelDrivenFormIntegration.Item
  • timl Profile Picture
    37,152 Super User 2026 Season 1 on at
     
    >>I remember that the only way of making that app work was directly adding it inside the form but this also does not work as the canvas app control directly wants the binding column, an app name and an app id
     
    This is correct - just to clarify, did you specify the app name and app id, as this could be a possible explanation? I assume you did as the canvas app appears in your model driven app screenshot? 
  • Lucas001 Profile Picture
    2,561 Super User 2026 Season 1 on at
     
    Already asked the AI and found the same steps. Problem is that the control for the form where one can add the canvas app as control is not available, neither in the account table nor in any other. The account table behaves different than expected as all fields are somehow not named:

     
    @timl

    that's what I can do and as the app is loaded it seems good to me. I am just not sure why the context is not properly passed at all. The Canvas App has been created outside and than added via the CanvasApp Control Component. I did not hide the label to show the Column name does match the binding column.
    Any idea?

  • Suggested answer
    Inogic Profile Picture
    1,291 Moderator on at
    Hi
     
    Your embedded Canvas App is not loading data (ModelDrivenFormIntegration.Item showing blank) is caused by how the app is added to the Model-Driven Form:

    Common Cause - Incorrect Embedding Method (No ModelDrivenFormIntegration Context)

    The ModelDrivenFormIntegration control only works when the canvas app is embedded using the field control (Canvas App) method via the classic form designer.

    Reference: https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/embedded-canvas-app-add-classic-designer

    If the app is added using modern designer placement or other embedding methods, the app UI will load but no form context is passed.

    As a result, ModelDrivenFormIntegration.Item remains blank, causing the label to show "Loading..." even though the app appears correctly.

    This is why it works in the Canvas App designer (mock data is provided) but not on the actual form (real context is missing).


    Quick Fix Steps

    Please verify the following:
    • Open the form using Classic Form Designer
    • Select a field (preferably a placeholder field)
    • Go to Change Properties → Controls → Add Control → Canvas App
    • Set App Name and App ID correctly
    • Ensure the control is enabled for Web
    • Save and Publish the form


    Hope this resolves your issue.
     
    Thanks!
    Inogic
  • Lucas001 Profile Picture
    2,561 Super User 2026 Season 1 on at
    Hi @timl@Inogic,
     
    I am really trying...
    Why so ever the classic designer does not let me edit the Field:
    When clicking the buttons as I am used to I get the following issue in the console.
     
     

    Any idea?
  • timl Profile Picture
    37,152 Super User 2026 Season 1 on at
     
    I tested this against the Account table - the fields displayed ok in the right hand pane and I was able to open the properties of Account Number and to add/assign a canvas app.

     
    I'm not sure why this isn't working for you. 
     
    If you create a new form for the Account table and try doing it there, does that make a difference?
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 915

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 457

Last 30 days Overall leaderboard