Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to refresh the page after custom ribbon button click action is performed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all,

I create a custom ribbon button like "confirm quote" using ribbon workbench.

On that button i call a workflow ,with the help of this link.

https://ribbonworkbench.uservoice.com/knowledgebase/articles/132235-create-a-workflow-short-cut-ribbon-button-no-code

When i clicked on the custom button it will show the confirmation window.

Workflow executes properly but i need to refresh the whole page again and again,it is very time consuming .

I tried   Xrm.Page.data.refresh();  java script command in a web resource ,and call that on a custom button,but it not work for me.

It happens not only for the workflow but also for other custom actions like dialog,plugin on ribbon button.

I want like ,when i click on the button i will show  like this

refresh-error.png

or  like this

refresh-error-2.png

Help me to resolved this problem.

Thank You in advance.

*This post is locked for comments

  • ashlega Profile Picture
    ashlega 34,477 on at
    RE: How to refresh the page after custom ribbon button click action is performed

    Hi,

     you might combine what was discussed here(how to call a sync workflow and wait till completion):

    community.dynamics.com/.../650365

     with alert.js:

    alertjs.codeplex.com/documentation

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 Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans