Skip to main content

Dynamics CRM Development: Tips and Tricks – Calling a Workflow from Ribbon Button

There are a lot of quick ways of doing things in Dynamics CRM but developers struggle in finding how. Today I am going to explain how to call a workflow on a custom ribbon button.
Let’s say you have a situation, where you want to perform some operation on customribbon button on “click event”. Let us take an example. I have a button on OPPORTUNITY form called‘ConfirmRequest’. On the click event of this button I have to generate an ORDERandalso want to send an email. The best way to achieve this is by creating a workflow. Butthe issue is, how to call workflow on the button click.
There are many solutions posted on the web, that involve using JavaScript, web resources etc. however there is a much easier way that requires no coding.
For this we use Ribbon Workbench. The same can be downloaded from the link https://www.develop1.net/public/Download%20Ribbon%20Workbench%202013.aspx. Download and install the solution in your CRM instance.
Here are the steps to follow:
  • Create a workflow, for example – I created a workflow called Generate Order from Opportunity.
  • Extract the GUID of this workflow with the help of advanced find. Here is how you do it:
  • Open advanced find window
  • Look for processes and search for your workflow name
    Soluzione IT services,Dynamic CRM Development services
  • Export to Excel and extract the GUID of the proceed from the column A called (Do Not Modify)Process
  • Load the new solution into the Ribbon Workbench with OPPORTUNITY entity.
  • Soluzione It services,CRM development services,CRM Services

  • Expand the commands, “Solution Elements” tab. 
    Soluzione CRM  Development services
          

Comments

  1. Nice blog post, regarding CRM software development and tips and tricks. It is really difficult to manage a CRM without any experience. Thanks for sharing such an informative knowledge.

    ReplyDelete
  2. I just want to mention Cleveroad company, which has great expertise in custom CRM development. Feel free to ask our managers

    ReplyDelete
  3. Nice Blog! Keep it up. I am looking for these kinds of blogs for the last many days. Thanks for sharing it with us. CRM Development Services

    ReplyDelete
  4. This is very useful information for any Salesforce Developer. We are highly experienced in salesforce crm consulting .Please keep updating this type of article.

    ReplyDelete
  5. Such a great article! Thanks to share!
    QSS Technosoft’s customized CRM Software Development services focus on improving your sales while maintaining relevant sales relationships with other clients proficiently.

    ReplyDelete

Post a Comment

Popular posts from this blog

The “New” Business Process Flows in Dynamics 365

One of the reason that Dynamics scores over many other CRMs is the competency to create and customize business process flows and initiate workflows. The new Dynamics 365 announcement of CRM late last year has one of cool upgrading of the Business Process Flows. Business Process Flow in MicrosoftDynamics 365  is a tool, which is meant to help guide users through a business process in the system. Business process flows are representations of your business processes and are displayed visually in Dynamics 365 as a heading across the top of an entity form. This can be modified to suit the business process requirements for that entity. A business process flow is composed of Stages, and within each stage there are Steps to complete which are fields. In the business process flow heading, a user can see which stage they are at in the procedure, and which steps they want to complete before they proceed. Business process flows permit organizations to require users to complete cer

Harnessing Mobility with Dynamics 365 & Powerapps

Today, the business progressively depends on mobile technology. The next  generation  of enterprise mobility will be about  driving a continuous,integrated mobile experience – giving employees, customers, and partners the ability to pick up any device and have immediate access to all of the data, tools, interfaces, and controls they want. But they need to be able to do this without negotiating data security and integrity  Enterprise Mobile computing lets us tackle nearly any vocational  task  from  our  phones. Mobile  apps  for business  tasks  have  lagged  behind. Those  apps  that  do exist  have  not   always  been  as  comprehensive or available  as  desktop  solutions. Microsoft  saw  this issue and  presented  a cure: Microsoft Power Apps, which  is  part of   Microsoft Dynamics 365. Mobility with Dynamics 365 & Power Apps   Dynamics 365 is  the  cloud-bundled  version  of  its CRM  and  ERP  solutions. The  benefit  of  the  Power Apps  assimilat