dynamics-crm-online

Dynamics 365 CRM Online - Use a Field that is NOT in collection (Hasn't been updated)

我的未来我决定 提交于 2020-01-24 20:53:45
问题 The overall question is: How do I access entity variables that are not in my collection (haven't been updated) in a plugin for D365 CRM? I have been wrestling with this for quite a while, and now, I turn to you, the forum Gods, for help in understanding what's happening here. I have customizations on the Work Order entity within D365 CRM (v9.0). Essentially, whenever one of three fields is updated, I need to perform the same logic each time. For whatever reason, the plugin will ONLY work when

How to “Pass configuration data to your plug-in” and what's the purpose of the same ? Any real time scenario with example?

一世执手 提交于 2020-01-24 15:03:30
问题 What's the use of passing configuration data to plugin and how to do this ? https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/write-plug-in Pass configuration data to your plug-in When you register a plug-in you have the ability to pass configuration data to it. Configuration data allows you to define how a specific instance of a registered plug-in should behave. This information is passed as string data to parameters in the constructor of your class. There are two

How to Get a Dynamics 365CE Personal Development Environment?

 ̄綄美尐妖づ 提交于 2020-01-23 03:32:46
问题 I'm learning Microsoft Dynamics 365CE online and I'd like a personal environment to try out development on. Is there a way to do this without paying for a full licenced environment? I'm not going to use this for production, only personal education. 回答1: You can get a free 30 days trial & use it for personal development/learning purpose in full fledged CRM online environment. Proceed to the Dynamics 365 trial sign-up page & signup. Step by step instructions. 回答2: USE INCOGNITO MODE ONLY!!! (Or

How to apply custom FetchXML to a Subgrid using JavaScript

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-13 20:48:48
问题 The implementation of applying custom FetchXML to a Subgrid appears to have changed from CRM 2011/13 to Dynamics 365. The change is with respect to GridControl.SetParameter() . I have followed many articles talking about this same issue but nothing is working at the moment on Dynamics 365 Online. Is there any alternative method to achieve the same functionality? In my below code, I am trying to fetch all of the phone call and email activities related to the account and show them on the

What Changes Does Referencing CodeGeneration.CodeCustomization Make to the Early Bound Generated CRM Entities?

浪尽此生 提交于 2020-01-11 06:12:15
问题 After reading this SO question, I noticed that the link in the question made a reference to Microsoft.Xrm.Client.CodeGeneration.CodeCustomization,Microsoft.Xrm.Client.CodeGeneration . What advantages it has over the standard code gen? According to LameCoder it changes all the entities to inherit from Microsoft.Xrm.Client.CrmEntity rather than `Microsoft.Xrm.Sdk.Entity. What changes does that make and what other changes are created? 回答1: Here is the best site I could currently find on what it

How do you enable logging for CrmServiceClient in the Xrm Tooling toolkit?

六月ゝ 毕业季﹏ 提交于 2020-01-11 06:07:53
问题 I'm having issues trying to log in to a CRM Online organization through the use of the latest version of the Xrm Tooling nuget package using the connection string constructor from a custom powershell cmdlet. I'm receiving a rather unhelpful "Unable to Login to Dynamics CRM" error message and am attempting to enable tracing to troubleshoot but have not been able to enable it by modifying the .dll.config file like the below (taken from an XrmToolbox issue on GitHub): <?xml version="1.0"

How do you enable logging for CrmServiceClient in the Xrm Tooling toolkit?

橙三吉。 提交于 2020-01-11 06:06:42
问题 I'm having issues trying to log in to a CRM Online organization through the use of the latest version of the Xrm Tooling nuget package using the connection string constructor from a custom powershell cmdlet. I'm receiving a rather unhelpful "Unable to Login to Dynamics CRM" error message and am attempting to enable tracing to troubleshoot but have not been able to enable it by modifying the .dll.config file like the below (taken from an XrmToolbox issue on GitHub): <?xml version="1.0"

Can't disable (set to read-only, protect, gray-out etc.) a field

时光总嘲笑我的痴心妄想 提交于 2020-01-06 19:30:59
问题 I've run this code: Xrm.Page.data.entity.attributes.get("subject").setValue("Beep");; alert(Xrm.Page.ui.controls.get("subject").setDisabled); Xrm.Page.ui.controls.get("subject").setDisabled(true); As expected, I get the text Beep into the field. As expected, the alert tells me the contents of the method (and as far I can tell, they're doing what they're supposed to). However, the Control itself doesn't get disabled. What am I doing wrong? I believe that I saw one example of different approach

How to migrate or move activites between contacts in Dynamics CRM

纵饮孤独 提交于 2020-01-06 05:14:28
问题 Two different contacts had the same email address, after an automatic record creation rule was applied, CRM associated email activities to the wrong contact. I've updated the email address value in one of the contacts (the wrong contact) but it has activities that do not belong to it and I need to move them to the right contact. How can move activities between two contacts? I cannot merge the contacts as they are legitimate contacts. I did try to update the partyid field of the activityparty

Fetch XML report aggregate undocumented limit

半世苍凉 提交于 2020-01-02 10:12:05
问题 I've been struggling with this one fetchxml report for Dynamics CRM online. The report is using aggregate to detect duplications based on certain fields. So, even though it is an aggregate report, the data set will return a lot of rows. Then I found out that the number of rows returned for aggregate fetchxml is limited to 5000. I understand that normal fetchxml report will return records more than 5000 but for aggregate report, this doesn't seem to be the case. In the resultset, the