Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Auto refresh CRM form after Powerapp runs from custom ribbon button

(0) ShareShare
ReportReport
Posted on by 160

Good Afternoon,

I'm running into an issue when running a Powerapp through a custom button on my 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 custom 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

  • Verified answer
    StefanS365 Profile Picture
    3,573 Most Valuable Professional on at
    RE: Auto refresh CRM form after Powerapp runs from custom ribbon button

    Yes, you can't call javascript functions from PowerApps to refresh the separate browser window.

  • kcpacker85 Profile Picture
    160 on at
    RE: Auto refresh CRM form after Powerapp runs from custom ribbon button

    Thanks Stefan, is embedding my powerapp the only solution to solve my refresh issue then?  Would I be able to call the refreshform action after my powerapp is ran from a separate browser window?

  • Suggested answer
    StefanS365 Profile Picture
    3,573 Most Valuable Professional on at
    RE: Auto refresh CRM form after Powerapp runs from custom ribbon button

    Hi KC,

    You could embed a canvas app in your Dynamics 365 form.

    More info:

    docs.microsoft.com/.../embed-canvas-app-in-form

    www.linkedin.com/.../embedding-powerapps-canvas-dynamics-365-customer-rojy-thomas

    and you're able to refresh the host form:

    docs.microsoft.com/.../embedded-canvas-app-properties-actions

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans