Skip to main content
Dynamics 365 general forum
Suggested answer

How to edit/copy commands that run when a button is clicked in the Ribbon Workbench

editSubscribe (1) ShareShare
ReportReport
Posted on by 139
Hello, in my Dynamics 365 Sales instance, I have 2 entities: Quote (renamed to Estimation & Pricing) and Order (renamed to Awarded Project).
 
In each Estimation & Pricing record, there's a button called Activate Estimation & Pricing (it was Activate Quote) that once clicked, sets the record as Active, and shows another button in the Ribbon called Create Awarded Project (it was Create Order):
 
(1):
//
 
 
 
 
 
 
 
 
 
 
 
(2):
//
 
 
 
 
 
 
 
 
 
 
 
 
In my Ribbon Workbench, I want to create 1 button that Activates the Quote and Creates the Order at the same time to simplify the user experience, but apparently I cannot access the commands: Mscrm.Form.quote.ActivateQuoteMscrm.Form.quote.CreateOrder
//
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Is there a way to accomplish that?
Attachments
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    How to edit/copy commands that run when a button is clicked in the Ribbon Workbench
    Hi   Joseph Nasr ,
    In Ribbon Workbench tool, Right-click button and select 'Customise command'
     
    Through checking these two commands, they are mainly based on custom Javascript action.
    You can create one new button and use these two functions to achieve same effect.
    Maybe you can create your own web resource, and add these two function name into new resource.
    More information:
    https://community.dynamics.com/forums/thread/details/?threadid=bda0abda-765f-498b-a565-7c036aa2729b
    I hope you can mark my answer verified if it answer your question! If you have any questions, please feel free to contact me.
    Regards,
    Leah

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,126 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,646 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans