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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans