Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Ribbon Workbench workflow button in Unified Interface

Jump to Best Answer
  • 1.  Ribbon Workbench workflow button in Unified Interface

    GOLD CONTRIBUTOR
    Posted 6 days ago
    I followed the steps here to create a button to launch a workflow on forms in the classic web interface for Dynamics 365. In preparing to transition to the Unified Interface, I find that the button no longer works properly.

    The ErrorDetails.txt contains the following
    Error: Invalid JavaScript Action Library: /_static/_common/scripts/CommandBarActions.js is not a web resource and is not supported.
        at https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:3393:2055
        at Array.map (<anonymous>)
        at Object.execute (https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:3393:1613)
        at https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:618:1367
        at new Promise (<anonymous>)
        at O._executeAsyncAction (https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:618:1068)
        at O._executeAsync (https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:618:912)
        at O.executeAction (https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:618:177)
        at t.dispatch (https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:618:5545)
        at https://***.crm.dynamics.com/uclient/scripts/app.js?v=1.3.378-2001.1:1459:1395​

    This error is referencing the library in step 9 in the instructions ("where the magic happens"). I am looking for suggestions on how to continue to make the magic happen in Unified Interface, without referencing the /_static/ scripts in steps 9 and 10.

    What have your solutions been on this?

    ------------------------------
    Adam Posegate
    Fox Valley Technical College
    Appleton WI
    ------------------------------
    Conference-CRMUG_200x200


  • 2.  RE: Ribbon Workbench workflow button in Unified Interface
    Best Answer

    MICROSOFT MVP
    Posted 5 days ago
    @Adam Posegate - Check out Scott Durow's (creator of the Ribbon Workbench) article on the topic of Smart Buttons in the Ribbon Workbench for model-driven apps (Dynamics 365 UCI): http://develop1.net/public/post/2019/12/21/smart-buttons-for-the-unified-interface ​

    ------------------------------
    Aaron Back
    Microsoft MVP | Sr. Microsoft Dynamics 365 Consultant
    ACE Microtechnology
    _______________________________________
    CRMUG Board Member
    CRMUG Chapter Leader - Cincinnati, Ohio
    ------------------------------

    Conference-CRMUG_200x200


  • 3.  RE: Ribbon Workbench workflow button in Unified Interface

    GOLD CONTRIBUTOR
    Posted 5 days ago
    Smart Buttons! PERFECT!

    Thanks for your help--

    ------------------------------
    Adam Posegate
    Fox Valley Technical College
    Appleton WI
    ------------------------------

    Conference-CRMUG_200x200


  • 4.  RE: Ribbon Workbench workflow button in Unified Interface

    MICROSOFT MVP
    Posted 3 days ago
    @Adam Posegate - Could you please mark the answer as the "Best Answer" to help others that may have a similar question/issue? ​

    ------------------------------
    Aaron Back
    Microsoft MVP | Sr. Microsoft Dynamics 365 Consultant
    ACE Microtechnology
    _______________________________________
    CRMUG Board Member
    CRMUG Chapter Leader - Cincinnati, Ohio
    ------------------------------

    Conference-CRMUG_200x200


If you've found this thread useful, dive deeper into User Group community content by role