microsoft-dynamics

SQL Server Connection using GPConnNet.dll

我们两清 提交于 2020-01-06 15:53:27
问题 I am attempting to make a connection to a Dynamics GP SQL Server Database using the currently logged in credentials from GP. (for context http://blogs.msdn.com/b/developingfordynamicsgp/archive/2008/10/02/why-does-microsoft-dynamics-gp-encrypt-passwords.aspx) Using the code provided from the documentation of GPConnNet.dll I should be able to get a connection but have been unable to do so for non-sa users, sa and dynsa work fine. I am receiving a login failed sql server error.

crm dynamics 2016 limit the number of files in a note

不想你离开。 提交于 2020-01-06 07:25:13
问题 I'm trying to attach a document to the opportunity. My question is Can the note be altered so that only one file can be attached and not several? some example? 回答1: You can write a plugin on Pre-operation stage of Annotation Create message to evaluate if there is an attachment already for that particular Opportunity & stop the execution by throwing InvalidPluginExecutionException exception. You can attach only one file in each Notes entry. So this should work. 来源: https://stackoverflow.com

CRMServiceClient does not try to connect to Dynamics CRM

两盒软妹~` 提交于 2019-12-31 05:33:10
问题 Using the latest SDK for Dynamics CRM, I am attempting to create a new CRMServiceClient([ConnectionString]). I try to do anything with it including a WHOAMI request, and I get Unable to Login to Dynamics OrganizationServiceProxy is null. When I run fiddler, nothing is even attempting to communicate to the server to attempt a login. I am unsure what is wrong, as I would have thought newing up a CRMServiceClient would have tried to connect since OrganizationServiceProxy is a child object of

Call Dynamics Web API in C# Plugin

此生再无相见时 提交于 2019-12-31 00:46:48
问题 I have a Business Process Flow in Microsoft Dynamics to handle creation of a new client. When the process finishes, I am attaching a workflow that kicks of an action which calls a plugin to do some custom processing. I am following this article to set up this process. In my plugin, I have a call to the Dynamics Web API (see code below). When I hit the responseMessage = client.GetAsync(url).Result; line, my plugin exits without returning an error. When I am debugging in the Plugin Registration

Call Dynamics Web API in C# Plugin

北慕城南 提交于 2019-12-31 00:46:46
问题 I have a Business Process Flow in Microsoft Dynamics to handle creation of a new client. When the process finishes, I am attaching a workflow that kicks of an action which calls a plugin to do some custom processing. I am following this article to set up this process. In my plugin, I have a call to the Dynamics Web API (see code below). When I hit the responseMessage = client.GetAsync(url).Result; line, my plugin exits without returning an error. When I am debugging in the Plugin Registration

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

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

Create incident in dynamics crm using api in php

时光怂恿深爱的人放手 提交于 2019-12-25 04:57:06
问题 Im trying to create case in dynamics CRM using php.For that I can see that title,description and customer is required.So that I tried below code: $authHeader = 'Authorization:' . $type.' '.$access_token; //Request for incidents $data = array("title"=>"api_incident_title", "description" =>"api_incident_description", "primaryContactid" =>"https://vonageholdings.crm.dynamics.com/api/data/v8.0/accounts(ebaf25a6-f131-e611-80f8-c4346bac3990)" ); //URL $url ='https://vonageholdings.crm.dynamics.com

Dynamics AX 2009 “user group permission”

血红的双手。 提交于 2019-12-25 04:05:45
问题 I would like to prepare very fast "user group permission" but this is very difficult for example If I would like to add access for Administration ->Location View this software give only permission for parent but not for all nodes in this parent. What should I do to fix this problem? If I will click Dimension sets I need make permission to all child in this parent. Do you know what I have to do? public void MCOVgrantFullAccess(SecurityKeySet _startSecurityKeySet = null) { //klasa systemowa