Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Is it possible to auto refresh a webpage via workflow

(0) ShareShare
ReportReport
Posted on by 127

Is it possible to auto refresh the webpage via workflow? To give a specific example, we have a roll up field and we are using a plug in to auto refresh the roll up field....but....it wont show on the screen til the webpage is refreshed.

What we would like to do, is when a user adds a record via a subgrid, it will then update the rollup field, and then refresh the page so the user sees what has happend.

Regards

Lee

*This post is locked for comments

  • Kevin Grech Profile Picture
    380 on at
    RE: Is it possible to auto refresh a webpage via workflow

    As Goutam Das said, You could set up a JS that calls an action (via a web request) that in turn calls the said workflow (or implement the workflow logic in the action itself)  and handle the refresh of the form in the JS callback

    Note that in this case you'll need CRM to refresh the data server-side (there's a request message for this in both plugins/custom actions and web api) then refresh the data from the browser (UI-wise) using Xrm (in 8.2 it's Xrm.Page.data.refresh() ). But as I said, the flow has to start from the browser, meaning you'll have to either add a new button or do some unsupported changes.

  • Verified answer
    Drew Poggemann Profile Picture
    4 on at
    RE: Is it possible to auto refresh a webpage via workflow

    Hi Mavver,

    We actually tried to do this the last project I was on and we were not able to accomplish.  We had a situation where the users were adding lines to quotes (custom entity) and when they added a line we stated that they had to refresh the screen to see the updated rollup field values.  Not the best experience, I agree, but what we had to do this.

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Is it possible to auto refresh a webpage via workflow

    Unfortunately this is not possible using workflow or plugin as they execute server side . You need to write client side logic where you can retrieve the data using Web API and based on that refresh the page or reopen the entity form using xrm method openEntityForm.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans