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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Ribbon Workbench Workflow + refresh

(0) ShareShare
ReportReport
Posted on by 15

Hi guys, I work with dynamic on premise.

I made a button with three js actions on selected record -> Export to Excel & start a workflow & refresh the page. The third one doesn't work, I used this js:

selectedControl.refresh(); 

with pass CRM Parameter ‘SelectedControl’ on command’s Custom JS action.

Any idea?

Thank everyone.

I have the same question (0)
  • Prakash Kalimuthu Profile Picture
    on at

    Hi,

    selectedControl.refresh() will work only in grid.

    If it is inside form, try to pass "Primary control" as parameter to get formcontext. Then use formContext.data.refresh(save).then(successCallback, errorCallback);  it is a promise.

    Save parameter is optional. If there are any unsaved changes while calling the method, pass true. So that changes gets saves and form gets refreshed.

    Regards,

    Prakash

  • Diego Botta Profile Picture
    15 on at

    Hi Prakash,

    Thanks for taking the time to answer me.

    I will try. To corroborate that we speak of the same place  i attach an image.

    example-for-dynamic.png

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 112 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 73

#3
Chris1968 Profile Picture

Chris1968 20

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans