dynamics-crm-online

Missing trace logs in custom workflow activity for Real-Time workflow

无人久伴 提交于 2020-01-02 05:45:14
问题 I've written a custom workflow activity against CRM 2013. You don't need to understand what it does. The problem I have is that despite instantiating the ITracingService , any tracing content that I generate using the Trace(...) method is obfuscated at runtime for real-time workflows only . In other words, if I run my workflow asynchronously and (deliberately) throw an Exception, I get to see the trace log in the corresponding system job record. If I simply switch the workflow to be "real

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

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

Microsoft Dynamics CRM Online (2013) - Get number of tickets via API

半世苍凉 提交于 2019-12-25 02:45:22
问题 I use Dynamics CRM Online (2013) to manage daily incident tickets, daily requests and change requests. I'd like to use their API and pull this information into a custom application to display them on a dashboard. Basically what I want to do is to be able to grab the number of open tickets using my application. Then it'll publish this information to elsewhere. It's a Java application running on a Windows server. Can you please point me in the correct direction? 回答1: MSDN lists a walkthrough

Customize Campaign Form in Microsoft Dynamics CRM 2011?

青春壹個敷衍的年華 提交于 2019-12-25 00:18:05
问题 I need to customize the Campaign Form in Microsoft Dynamis CRM .In this Form I need to customize the calender of Fiscal Year.it dispalys mm/dd/yyy format ..and i need to customize MM/YYYY Fromat.How to do this? 回答1: This is only fot that field? The format of datetime is based on user options. If it's only for that field see this answer. 回答2: I suspect that the date-time field is formatted according to the system settings (be that picked from CRM or the user's computer). Not sure if it's

How To Create a case Or Incident In Microsoft Dynamics Online CRM using php-crm-toolkit

旧时模样 提交于 2019-12-25 00:14:09
问题 I am trying to create case it's giving me "Fatal error: Uncaught AlexaCRM\CRMToolkit\SoapFault: You should specify a parent contact or account. in D:\wamp64\www\php_crm\vendor\alexacrm\php-crm-toolkit\src\Client.php on line 1159" My code: <?php /** * Use init.php if you didn't install the package via Composer */ require_once 'vendor/autoload.php'; use AlexaCRM\CRMToolkit\Client as OrganizationService; use AlexaCRM\CRMToolkit\Settings; $options = [ 'serverUrl' => '**********************',

ILMerge with CRM plugin and Sharepoint Online

假装没事ソ 提交于 2019-12-24 19:40:28
问题 I am trying to us ILMerge via nuget to merge two SharePoint assemblies in to my plugin dll. The assemblies are; Microsoft.SharePoint.Client (v16.1) Microsoft.SharePoint.Client.Runtime (v16.1) They seem to successfully merge in to my single plugin dll and i can see the required classes etc if I inspect the dll with JustDecompile. When debugging the plugin, it throws a security exception; Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0

How do I add items in the sub menu options through c# - Dynamics CRM Online

一个人想着一个人 提交于 2019-12-24 10:56:05
问题 I have an existing opportunity with some menu items as shown in the below image. I want to programatically add the product using a windows forms application.The existing product was added using Dynamics Online Portal. But, I need to do the same via c#. After searching in the internet, I found out that we can achieve this by using Related Enitities & calling Service.Execute(Request). So first, I found out the entity names of the required.As I found the entity name for Motor Products, I used