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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Refresh form after plugin update

(0) ShareShare
ReportReport
Posted on by 20

When i save a record, i have a plugin that runs on update of a record, but the changes are not immediately visible on the form the subgrid, as i have to refresh. Is there a way to eliminate that issue, is there an solution for this?

I have the same question (0)
  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Gertjan Deschuytter,

    Use the form 'On save' event. Refresh the subgrid using JS with a set timeout function.

    For more details:

    1. https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/grids/gridcontrol/refresh
    2. www.w3schools.com/.../met_win_settimeout.asp
  • Ganesh Chowhan Profile Picture
    160 on at

    Hi,

    Yes, if you can make the plugin synchronous then your changes will reflect immediately, however if your requirement doesn't support for sync plugin then you might need to write client side JS code to reload the subgrid after some delay.

    Thank you.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Ganesh Chowhan,

     

    It seems to refresh sub-grid records. How would it be possible when the plugin is synchronous?

  • Suggested answer
    Ganesh Chowhan Profile Picture
    160 on at

    Hi Abdul,

    If plugin is synchronous and running in same execution context it will work, after save of parent record will refresh as well its grids. I tried.

    Please let me know if you have any other thoughts on this.

    Thank you.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Ganesh Chowhan,

    Thank you.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans