Posts

Showing posts from March, 2019

Migrate Records from one MS CRM Organization to another using SSIS Kingway Package

Image
1   Create a new SSIS Integration Service Package. 2 Right Click on SSIS Package and Add New SSIS Package. 3 Go to Control Flow and add Data Flow Task. 4.       4.     Double click on data flow to navigate to Data flow 2.       Add Kingsway Dynamics CRM Source and destination  6.         Connect the flow as shown below, Incase any error occur update the error message in OLEDB Destination(SQL Table). 7.         Run the Package.

Execute on-demand workflow using JavaScript in D365

1. Create a on-demand workflow in MS CRM 2. Retrieve the workflow GUID(http://XXX/xx/XRMServices/2011/OrganizationData.svc/WorkflowSet?$filter=Name eq 'Test Workflow'&$select=WorkflowId ActiveWorkflowId/Id ne null) 3. Execute the wokrflow 4.        executeOnDemandWorkflow: function (recordId, workflowId) {             var responseResult;             try {                 var clientUrl = VeriLoan.XrmHelper.getOrganizationURL();                 var query = "workflows(" + workflowId.replace("}", "").replace("{", "") + ")/Microsoft.Dynamics.CRM.ExecuteWorkflow";                 //setup data object passing in record id                 var data = {                     "EntityId": recordId, ...