Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Ribbon Workbench Buttons and Static Libraries in Unified Interface

(0) ShareShare
ReportReport
Posted on by 10

We have built out some custom Ribbon Workbench buttons that are no longer working in the Unified Interface. One example is a customized assign button that performs some actions before prompting the user to assign the record to another user. This was set up via some JavaScript saved as a web resource. Once our custom actions had been performed, the assign prompt was shown with the following code:

Mscrm.CommandBarActions.assignQueue(fPrimItemID,pEntityTypeCode);

The two parameters were passed to the function through Ribbon Workbench. I am aware that static libraries are no longer supported in the Unified Interface. So, is there an alternative way to perform our custom actions and then bring up the assign record prompt afterward? The script would save any changes made to the record and clear any form notifications prior to bringing up the prompt. We had a user who would not manually save her changes to the record before assigning it to someone else, and found that the out of the box assign button did not apply her changes before transferring ownership of the record to another user.

  • Suggested answer
    chris xu Profile Picture
    chris xu on at
    RE: Ribbon Workbench Buttons and Static Libraries in Unified Interface

    Hi WardServicesInc,

    With my understanding, within the script which bound on Ribbon Button, firstly it will save the record and then execute a command "Mscrm.CommandBarActions.assignQueue(fPrimItemID,pEntityTypeCode)" which is the standard assignment action.

    If it is, to make sure the record was saved before assignment, why not customize the system assign button to add additional script command to save the reocrd?

    Thanks

    Chris X

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,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans