dynamics-crm

Setting null for single-valued navigation property using Xrm.WebApi

我怕爱的太早我们不能终老 提交于 2019-12-30 11:29:26
问题 We are in the process of remediation, re-engineering old JS web resources for latest D365 v9 sdk changes w.r.t Client scripting API improvements & deprecation. When rewriting the web api methods using Xrm.WebApi , we end up with this blocker. The scenario is setting null to lookup, and tried the below code: var data = { "abc_relatedentity@odata.bind": null }; Xrm.WebApi.updateRecord("abc_entity", abc_entityid, data).then(successCallback, errorCallback); This is throwing error: "The 'odata

Setting null for single-valued navigation property using Xrm.WebApi

倾然丶 夕夏残阳落幕 提交于 2019-12-30 11:29:26
问题 We are in the process of remediation, re-engineering old JS web resources for latest D365 v9 sdk changes w.r.t Client scripting API improvements & deprecation. When rewriting the web api methods using Xrm.WebApi , we end up with this blocker. The scenario is setting null to lookup, and tried the below code: var data = { "abc_relatedentity@odata.bind": null }; Xrm.WebApi.updateRecord("abc_entity", abc_entityid, data).then(successCallback, errorCallback); This is throwing error: "The 'odata

Understanding Link-entity in FetchXML

廉价感情. 提交于 2019-12-29 07:18:12
问题 I understand <link-entity> is used to do joins, but can you help me translate the following into english? <entity name = "example"> *insert a bunch of attributes* <link-entity name="providercertification" from="providerid" to="vendorid" alias="aa"> I understand <link-entity> is used for joins, but the join type is not specified, so that is throwing me off. How does the link-entity work if no join type is specified? Is it automatically an inner join? Also, which column does the from part apply

Get the first value of result of LookupSet if not null in SSRS for Dynamic 365

时光毁灭记忆、已成空白 提交于 2019-12-25 09:40:07
问题 I'm writing a report for Microsoft Dynamics 365 Version 1612 (8.2.2.113) which uses the following expression: =IIF(LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet").Length = 0, "", LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet")(0) ) The idea is to return the code of first product with name as "Test", and return blank if there is no match. However, because IIF in SSRS does not short-circuited, even

Get the first value of result of LookupSet if not null in SSRS for Dynamic 365

岁酱吖の 提交于 2019-12-25 09:39:32
问题 I'm writing a report for Microsoft Dynamics 365 Version 1612 (8.2.2.113) which uses the following expression: =IIF(LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet").Length = 0, "", LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet")(0) ) The idea is to return the code of first product with name as "Test", and return blank if there is no match. However, because IIF in SSRS does not short-circuited, even

Updating to .net 4.6.2 from .net 4.5.2 causing Object Reference Exception on ExecuteCore method within xrm sdk

落爺英雄遲暮 提交于 2019-12-25 09:38:08
问题 We have a Win 8.1 store app that is developed against the .net 4.5.2 framework, when the computer is updated to .net 4.6.2 we receive an Object Reference is not set to the value of an Object exception. The application consists of two parts the store app which holds all the UI logic and the Agent which holds all the data layer interaction with the Dynamics CRM Outlook Connector. I have identified the line it is erroring on base.ExecuteCore(request) when running the first request which is a

Dynamics CRM daemon app with Client Assertion Certificate (Azure AD) gives 401

元气小坏坏 提交于 2019-12-25 08:30:58
问题 I am working on an app where I need to keep talking to some of the Dynamics CRM APIs in background jobs (every several minutes to upload updated content). Since ADAL authentication with user credentials (app permissions) use flawlessly with CRM APIs, I was under impression that I will get it working with Client Assertion Certificate Credentials as well. Code looks something like this - var certCred = new ClientAssertionCertificate(clientId, cert); var result = await authContext

Convert Single line text to Multiline text (MS CRM 2016)

拟墨画扇 提交于 2019-12-25 07:48:57
问题 I would ask about capability to change the filed datatype from Single line to Multiline without delete this field. Actually the CRM form editor is disable the data type option set after filed created, so I think I have to change the data type via Database but I need to know if is it possible to do that, and if we change the data type from the database is it will change the filed from single line shape to multiline in the form.? because my CRM is online so I need confirm is it possible, to ask

What is workflow in CRM2011 For sending mails after getting Approved?

我怕爱的太早我们不能终老 提交于 2019-12-25 07:19:03
问题 I create one campaign with the " Sending for approval " status. Then i moved to approved authority persons through the assign records via workflow. He open that Campaign and approved that particular record's status. My question is how to get that approved status in my workflow using CRM2011 or how to check that campaign is approved/otherStatus via my workflow? What is the workflow for getting that response? 回答1: I don't know if i understand well your question. You want launch a workflow when

System.BadImageFormatException when plugin executes

左心房为你撑大大i 提交于 2019-12-25 07:06:27
问题 I have a custom plugin registered in my CRM 2011 instance. Until today the plugin was working perfect but al of a sudden I am get this System.BadImageFormatException error when creating a record. I have tried researching the issue but I can only find people having this issue while registering a plugin. My research has led me to believe it is something to do with 64 bit vs 32 bit. I have tried changing the target of my assembly from "Any CPU" to 64 bit but I get the same error when the plugin