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.

  • Diego Botta Profile Picture
    15 on at
    RE: Ribbon Workbench Workflow + refresh

    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

  • Prakash Kalimuthu Profile Picture
    on at
    RE: Ribbon Workbench Workflow + refresh

    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

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

🌸 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…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans