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

Announcements

News and Announcements icon
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

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

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans