Workflow – CRM Kitchen http://crmkitchen.com Microsoft Dynamic CRM Tue, 25 Oct 2016 14:58:06 +0000 en-US hourly 1 https://wordpress.org/?v=4.6.1 Trigger a Workflow on CRM 2015 using C# http://crmkitchen.com/trigger-workflow-crm-2015-using-c/ http://crmkitchen.com/trigger-workflow-crm-2015-using-c/#respond Thu, 09 Jul 2015 20:24:39 +0000 http://crmkitchen.com/?p=179 If you want to run/trigger a workflow, you can execute a workflow programmatically with following request : [crayon-5866b22cee873352981491/] Also this request is supported by Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update. Source : https://msdn.microsoft.com/en-us/library/gg309600.aspx

The post Trigger a Workflow on CRM 2015 using C# appeared first on CRM Kitchen.

]]>
If you want to run/trigger a workflow, you can execute a workflow programmatically with following request :

// Create an ExecuteWorkflow request.
ExecuteWorkflowRequest request = new ExecuteWorkflowRequest()
           {
             WorkflowId = _workflowId,
             EntityId = _leadId
           }; 
// Execute the workflow.
ExecuteWorkflowResponse response = 
(ExecuteWorkflowResponse)_serviceProxy.Execute(request);

Also this request is supported by Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update.

Source : https://msdn.microsoft.com/en-us/library/gg309600.aspx

The post Trigger a Workflow on CRM 2015 using C# appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/trigger-workflow-crm-2015-using-c/feed/ 0
How to fix Assembly does not have a strong name for CRM ? http://crmkitchen.com/fix-assembly-not-strong-name/ http://crmkitchen.com/fix-assembly-not-strong-name/#respond Sat, 04 Jul 2015 13:35:39 +0000 http://crmkitchen.com/?p=112 Referenced assembly XXX does not have a strong name. These errors are taken in the following steps :  Deployment with CRM Package   Register the Plugin with Plugin Registration Tool   How to Sign an Assembly in Visual Studio ? With the project node selected in Solution Explorer, from the Projectmenu, click Properties(or right-click the […]

The post How to fix Assembly does not have a strong name for CRM ? appeared first on CRM Kitchen.

]]>

Referenced assembly XXX does not have a strong name.

These errors are taken in the following steps : 

  • Deployment with CRM Package
    CRM Assembly Build

 

  • Register the Plugin with Plugin Registration Tool

CRM Strong Name Signing

 

How to Sign an Assembly in Visual Studio ?

  • With the project node selected in Solution Explorer, from the Projectmenu, click Properties(or right-click the project node in Solution Explorer, and click Properties)

CRM Strong Name Signing

  • In the Project Designer, click the Signing tab
  • Select the Sign the assembly check box

CRM Strong Name Signing

  • Specify a new key file. In the Choose a strong name key file drop-down list, select New… Note that new key files are always created in the .pfx format.The Create Strong Name Dialog appears.
  • In the Create Strong Name Key dialog box, enter a name and password for the new key file, and then click OK

More info : https://msdn.microsoft.com/en-us/library/ms247123(v=vs.90).aspx

 

Why Strong Name is required for CRM Projects ?

https://social.microsoft.com/Forums/en-US/01de0856-e7a6-429b-b150-cca174eefb28/why-strong-name-key-is-required-for-plugin-in-ms-crm-40?forum=crmdevelopment

 

We recommend you that read in a very detail post on Hosk’s Dynamic CRM Blog

https://crmbusiness.wordpress.com/2014/10/01/assembly-generation-failed-referenced-assembly-does-not-have-a-strong-name/

 

The post How to fix Assembly does not have a strong name for CRM ? appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/fix-assembly-not-strong-name/feed/ 0
Dynamics CRM 2013 Developer Toolkit for Visual Studio 2013 http://crmkitchen.com/dynamics-crm-2013-developer-toolkit-visual-studio-2013/ http://crmkitchen.com/dynamics-crm-2013-developer-toolkit-visual-studio-2013/#respond Tue, 30 Jun 2015 15:14:50 +0000 http://crmkitchen.com/?p=85   Normally there is no CRM Developer Toolkit installation file for Visual Studio 2013. But you can install it with some customization. Firstly Download the installation files. Open Visual Studio folder and Run Microsoft.CrmDeveloperTools.vsix file Run the crmSDKFix.reg file Copy contents of the CRM MSBuild folder to “C:\Program Files\MSBuild\Microsoft\CRM” or “C:\Program Files (x86)\MSBuild\Microsoft\CRM” If there is no CRM […]

The post Dynamics CRM 2013 Developer Toolkit for Visual Studio 2013 appeared first on CRM Kitchen.

]]>
 

Normally there is no CRM Developer Toolkit installation file for Visual Studio 2013. But you can install it with some customization.

s2

  • Firstly Download the installation files.
  • Open Visual Studio folder and Run Microsoft.CrmDeveloperTools.vsix file
  • s3
  • Run the crmSDKFix.reg file
  • Copy contents of the CRM MSBuild folder to “C:\Program Files\MSBuild\Microsoft\CRM” or “C:\Program Files (x86)\MSBuild\Microsoft\CRM”
  • If there is no CRM folder in MSBuild folder, you can create this CRM folder.
  • Now open Visual Studio and you can create CRM Toolkit Project.

The post Dynamics CRM 2013 Developer Toolkit for Visual Studio 2013 appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/dynamics-crm-2013-developer-toolkit-visual-studio-2013/feed/ 0
(Resolved) CRM Explorer not showing up on Visual Studio http://crmkitchen.com/resolved-crm-explorer-not-showing-visual-studio/ http://crmkitchen.com/resolved-crm-explorer-not-showing-visual-studio/#respond Tue, 30 Jun 2015 14:53:09 +0000 http://crmkitchen.com/?p=94 If you cannot find CRM Explorer in the Tools menu, you can fix the issue like that. Close the Visual Studio Project Open the Project’s Solution file (.sln) in a text edior Find the Global section and insert the following code at the beginning of the section. [crayon-5866b22cefd22248680153/] Save the file and open your project […]

The post (Resolved) CRM Explorer not showing up on Visual Studio appeared first on CRM Kitchen.

]]>
s1
If you cannot find CRM Explorer in the Tools menu, you can fix the issue like that.

  • Close the Visual Studio Project
  • Open the Project’s Solution file (.sln) in a text edior
  • Find the Global section and insert the following code at the beginning of the section.

GlobalSection(CRMSolutionProperties) = preSolution
        SolutionIsBoundToCRM = True
    EndGlobalSection

  • Save the file and open your project again.
  • Now you can find the CRM Explorer in the Tools Menu or Connect to Dynamics CRM Server dialog will show up automatically.

The post (Resolved) CRM Explorer not showing up on Visual Studio appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/resolved-crm-explorer-not-showing-visual-studio/feed/ 0