Skip to main content
Business Central forum
Suggested answer

How do I refresh a page in an OnAfterGetRecord() trigger?

editSubscribe (0) ShareShare
Posted on by 479

Currently working on a page extensions for the Sales Invoice page. After modifying a field on the Sales Header, I want to refresh the Sales Invoice page so that it reflects the change. How do I do this?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,926 Super User on at
    RE: How do I refresh a page in an OnAfterGetRecord() trigger?

    Hi, I think you can use the following method.

    Page.Update([Boolean]) Method:

    For example,


    Hope this helps.



Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans