dynamics-crm-online

How to get Process Finish Button event in Dynamics CRM?

跟風遠走 提交于 2021-02-19 02:25:08
问题 I am using Dynamics 365 online instance to integrate sales process. I have one condition where I need to change the Probability field value to 100 when user clicks on Finish button in Close Process Stage. I have done some research and found that ( OnProcessStatusChange event ) can help to get business process flow status change (statuses: Active, Finished , or Aborted) Ref Link: OnProcessStatusChangeEvent I have checked this by adding this to form OnLoad event like below, but nothing happens.

Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory' in CRM Plugin

牧云@^-^@ 提交于 2021-01-29 07:44:23
问题 I am developing a plugin that uses ADAL nuget package. My plugin assembly throws an exception when I execute due to missing Microsoft.IdentityModel.Clients.ActiveDirectory dll. The assembly is referencing and merged properly in the merged dll and this is what I see in ILSpy tool: Here is the list of references in my plugin assembly: Any ideas how to fix this issue? After i tried multiple tools to merge my dlls using ILMerge and ILRepack i am facing the same issue. How can i find out Clients

Dynamics CRM SDK : Batch update specific fields in entity

纵饮孤独 提交于 2020-07-05 04:51:08
问题 I am new to Dynamics CRM development. I want to batch update certain fields in Entity using Batch update method in Dynamics CRM Online. I am using below code for performing batch update: var multipleRequest = new ExecuteMultipleRequest() { Settings = new ExecuteMultipleSettings() { ContinueOnError = false, ReturnResponses = true }, Requests = new OrganizationRequestCollection() }; foreach (var entity in entities.Entities) { UpdateRequest updateRequest = new UpdateRequest { Target = entity };

Counting ALL rows in Dynamics CRM Online web api (ODATA)

坚强是说给别人听的谎言 提交于 2020-05-12 05:04:30
问题 Is it possible to count all rows in a given entity, bypassing the 5000 row limit and bypassing the pagesize limit? I do not want to return more than 5000 rows in one request, but only want the count of all the rows in that given entity. According to Microsoft, you cannot do it in the request URI: The count value does not represent the total number of entities in the system. It is limited by the maximum number of entities that can be returned. I have tried this: GET [Organization URI]/api/data

Counting ALL rows in Dynamics CRM Online web api (ODATA)

纵饮孤独 提交于 2020-05-12 05:04:10
问题 Is it possible to count all rows in a given entity, bypassing the 5000 row limit and bypassing the pagesize limit? I do not want to return more than 5000 rows in one request, but only want the count of all the rows in that given entity. According to Microsoft, you cannot do it in the request URI: The count value does not represent the total number of entities in the system. It is limited by the maximum number of entities that can be returned. I have tried this: GET [Organization URI]/api/data

RibbonActions.js Deprecated in Dynamics 365 Unified Interface. Is there any new JS Library replacing RibbonActions.js?

妖精的绣舞 提交于 2020-03-21 05:11:56
问题 I am using the OOTB Send Direct Email button to send bulk emails. This works fine in Classic mode but throws below error in the Unified Interface . After some research I found out that /_static/_common/scripts/RibbonActions.js is deprecated and $webresource must be used instead. Is there any way I can find the new library for RibbonActions.js ? Looked into D365 Documentation and Ribbon Workbench Documentation, found nothing. Any solutions would be helpful. 回答1: When you type $webresource

Dynamics Crm 365 custom button on navigation tool bar

不羁的心 提交于 2020-02-04 05:05:26
问题 In Dynamics Crm 365 (online), is it possible to create and display a custom button/icon in the navigation bar? 回答1: We achieved by doing this. Add/Use an existing ribbon/command bar button & it's Enable rule as shortcut to execute the below script as a Function from javascript web resource : [Simply copy this script, change org_url & run it in browser developer toolbar console to see it in action] var element = window.parent.document.getElementById("navTabGroupDiv"); var url = "http://<org

Dynamics CRM Auto Import CSV

爱⌒轻易说出口 提交于 2020-02-02 16:37:08
问题 I'm trying to find a way to automatically import a csv or xml file into MS Dynamics CRM as a new Lead. Does anyone have any clue how to go about this? The idea would be for a CRM job of some sort to run every so often to look for a file at a given location. If a file is found, import it's records as new Lead records in CRM. We use CRM 2013 Online. Thoughts? Mg 回答1: I'm not sure of a way that you could "pull it" from CRM, but you could push to it. Create a "Console App" that loads the import

Dynamics CRM Auto Import CSV

自古美人都是妖i 提交于 2020-02-02 16:34:33
问题 I'm trying to find a way to automatically import a csv or xml file into MS Dynamics CRM as a new Lead. Does anyone have any clue how to go about this? The idea would be for a CRM job of some sort to run every so often to look for a file at a given location. If a file is found, import it's records as new Lead records in CRM. We use CRM 2013 Online. Thoughts? Mg 回答1: I'm not sure of a way that you could "pull it" from CRM, but you could push to it. Create a "Console App" that loads the import

Custom Tab in the Field Service Schedule Board

主宰稳场 提交于 2020-01-24 21:30:17
问题 I found this blog: http://www.powerobjects.com/2016/08/01/advanced-customizations-for-the-custom-tab-in-the-field-service-schedule-board/#collapse2 In it the author describes using configuration to create a new tab in the Field Services Schedule Board by pointing it to a CRM web resource. The blog includes the following javascript: function updateBooking() { var entityRecordGuid = "10B8A40B-D499-E611-80E6-A45D36FC5A4C"; // GUID is hardcoded to make the sample code easier to understand. // We