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 / PowerApps Embedded App...
Power Apps
Unanswered

PowerApps Embedded App shows different data initially while loading

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have created a PowerApps application and embedded in d365 application. It shows information regarding the entity that it is connected to PowerApps using that entities 'Unique Id'.

However when the user first loads the page for say 'Unique Id' = 2, it shows data from from 'Unique Id' = 1 initially while the app is loading and then later it changes to correct information for 'Unique Id' = 2. Similar thing happens when open the app for any other 'Unique Id'. This confuses the user quite a bit.

Is there any way I can avoid this from happening?

Can I give some default value to ModelDrivenFormIntegration so that nothing is displayed while the app is loading?

Categories:
  • roryl Profile Picture
    Microsoft Employee on at

     

    Hi sg3,

     

    Thank you for your post to the community. Is the Power Apps app a canvas app embedded on the Dynamics page, or is this for a model-driven app? This information will give me a better idea around our next steps.

     

    Thank you!

     

    Rory

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It is a Canvas App embedded in Dynamics page.

  • roryl Profile Picture
    Microsoft Employee on at

     

    Hi sg3,

     

    Thank you for your reply. Could you share the code you are using for the gallery for the ModelDrivenFormIntegration function to display the data? I also wanted to check in to ask if you could clear the browser cache and let me know if the issue persists? When this problem happens, is any data being written or is it just displaying the data?

     

    This information will help me better diagnose the cause of the issue.

     

    Thank you!

    Rory

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am using a table.

    This is the code I am using:

    SortByColumns(Filter('Work Order', ActualFolderPath = "msdyn/" & [@ModelDrivenFormIntegration].Item.'Number' & "_" & Upper(Substitute([@ModelDrivenFormIntegration].Item.msdyn_id, "-", "")) & "/"), "Created")

     

    I have cleared the cache and checked, it is still there.

     

    It is just displaying data.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

    I have found out what is happening.

    My mistake. I made wrong observations.

    Initially the 'Unique Id' is blank. Which is fine.

    However I have noticed is that it is taking to receive data from dynamics page.

    I have created a dynamic text box to show the Id value with code:

    Textbox.Text = [@ModelDrivenFormIntegration].Item.'Number'

     

    When I open the dynamics page for a certain number, it takes some time before the number shows up in the text box. Till then it shows different data.

    Is there any way to speed up the process?

  • roryl Profile Picture
    Microsoft Employee on at

     

    Hi sg3,

     

    Thank you for your reply. In terms of performance, I wouldn’t expect to app to take long to update the data. I would like to share the following resources which describe how to optimize performance for an app. Can you check and see if any of the scenarios outlined here help with the slowness for your app?

     

    https://powerapps.microsoft.com/en-us/blog/performance-considerations-with-powerapps/

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/performance-tips

     

     

    Thank you,

    Rory

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi 

  • roryl Profile Picture
    Microsoft Employee on at

     

    Hi sg3,

     

    Thank you for your reply. We’d be happy to help determine why the app is slow. We will need to collect some additional diagnostics to better understand the cause to do this though. Would you be able to create a support request? This will allow us to work with you directly to get this data. More information about how to create a support ticket is available here: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

     

    Thank you,

    Rory

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard