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 / Auto refresh CRM form ...
Power Apps
Unanswered

Auto refresh CRM form after Powerapp runs from custom ribbon button

(0) ShareShare
ReportReport
Posted on by 36

Good Afternoon,

I'm running into an issue when running a Powerapp through a custom button on my CRM Opportunity form.  The powerapp is launched from a custom button into a separate web page, and when my powerapp finishes and web browser closes, I need CRM to then automatically refresh the main entity Opportunity form?

 

If my button created a custom CRM form this would be easy, but since a new powerapp browser window is launched, CRM does not know when that windows closes.

Has anyone been able to figure this out?

Thanks

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @msm8504 ,

    Could you please share a bit more about your scenario?

    Do you embed a canvas app into your D365 CRM Opportunity form?

    Further, could you please share a screenshot about your issue?

     

    Based on the needs that you mentioned, I think you could consider embed a canvas app within your D365 CRM Opportunity form to achieve your needs.

    Please check and see if the following blog would help in your scenario:

    https://powerapps.microsoft.com/en-us/blog/enrich-your-model-driven-forms-with-embedded-canvas-apps-public-preview/

    More details about embedding a canvas app within D365 CRM Entity, please check the following article:

    https://the365hero.com/blog/2018/12/24/embedded-canvas-apps-for-dynamics-365/

     

    Best regards,

  • kcpacker85 Profile Picture
    36 on at

    Hi @v-xida-msft 

     

    I've looked into embedding direclty on the form, but the current business needs won't allow this.  It needs to be a custom button that calls a javascript action to launch the powerapp into a seperate browser window.  From there the user inputs the info needed and the papp runs a flow which updates custom Opp form fields.  Everything is working perfectly execpt for auto-refreshing the Opp form after the papp windows is closed.  Is there like a timer refresh action I could add to the custom ribbon button after it runs?  I'm stuck on if this is even possible.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @msm8504 ,

    Yeah, I got it. Do you want the Opp form to be refreshed automatically after the PowerApps app windows is closed?

     

    Based on the needs that you mentioned, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    Currently, there is no functions supported in PowerApps to force the D365 CRM form to refreshed. The only solution now is refreshing your D365 CRM form web page manually to force the Opp form to be refreshed.

     

    If would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    In addition, have you taken a try with the Model-Driven app in PowerApps? Based on the needs that you mentioned, I think the Model-Driven app could achieve your needs.

    Please check and see if the following blog would help in your scenario:

    https://powerapps.microsoft.com/en-us/blog/announcing-the-general-availability-of-embedded-canvas-apps-in-model-driven-forms/

     

    Best regards,

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard