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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Canvas App in Model-Dr...
Power Apps
Suggested Answer

Canvas App in Model-Driven Form Showing Incorrect or Stale Record Data

(0) ShareShare
ReportReport
Posted on by 112

We have integrated a Canvas App into a Model-Driven App by embedding it in an entity form. The Canvas App is designed to display data related to the currently opened record.

However, we are occasionally facing issues where the Canvas App:

  • Shows data from a previously opened record,
  • Displays unrelated record data,
  • Or sometimes shows no data at all.

Interestingly, after refreshing the record (which reloads the Canvas App), the correct data is displayed.

Has anyone experienced similar behavior?

Is there a known reason for this issue — such as data context not being passed correctly, caching, or delayed initialization?

Are there recommended practices to ensure the Canvas App always loads with the correct record context?

Any insights or solutions would be greatly appreciated.

Categories:
I have the same question (0)
  • Suggested answer
    Gabriel G. Profile Picture
    831 Super User 2025 Season 2 on at
    Hi,
     
    Embedded canvas in model-driven is not instant. Your model-driven record's page load, then take 2-3 seconds to load canvas (since it is a complex component) then display it based on context informations you pass to the canvas app. So, loading performance is the cause of your issue. Browser's cache keep last record informations until you replace it with the new one (which takes around 2-3 seconds, maybe longer sometimes).
     
    Does your canvas simply display data ? If you only display data with canvas help, I suggest you to use a HTML webresource instead of it, which will be much more efficient. If you need to make operation, I suggest you make a different process, using a canvas triggered by command bar button which make operations on your record, and then display it with your model-driven form.
     
    Embedded canvas can be useful in a specific way, but will be a pain if you use it the wrong way. Consider using embedded canvas as a last option in my opinion.
     
    You can provide more information on your case if you need more help to make a decision :).
     
    I hope it helps!
    ___________________________________________________________________________________
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard