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.