dynamics-crm-online

Microsoft Dynamics - Web API

与世无争的帅哥 提交于 2019-12-12 20:58:50
问题 I'm trying to create a new "incident" (case) in by Dynamics 365 instance via the Web API. In my http request, I don't know which field are mandatory. I tried to only add the title, subject, and customer, but I have a Http 400 error back... I'm using Postman do try my Http Request. If I send the following json { "title": "Case created from Web api", "_customerid_value": "bb2b6a80-7102-e711-8101-3993bb354ff0" } But I had the error: "CRM do not support direct update of Entity Reference

CRM Online 2011 Integration Testing running in Production environment

倾然丶 夕夏残阳落幕 提交于 2019-12-12 09:53:29
问题 I'm writing some code for Dynamics CRM Online 2011. I'd like to have a set of integration tests be run in CRM Online and be able to examine: Some log output Assertion failures Under the control of a test runner on my local machine. Right now, I'm doing: var passes = new List<string>(); var fails = new List<Tuple<string,Exception>>(); foreach(Action<StringWriter> testAction in EnumTests()) { var log = stringWriter(); try { testAction(log); passes.Add(log.ToString()); } catch(Exception e) {

OpenIDConnect Azure Website hosted in an iFrame within Dynamics CRM Online

你离开我真会死。 提交于 2019-12-12 09:50:03
问题 I'm trying to get the OpenIDConnect Azure sample from here working within an iFrame in CRM. I've deployed to Azure where login works fine when hitting the site directly. When I access the site via an iFrame in CRM Online it's displayed fine but when I attempt to login I'm getting the following error: Microsoft.IdentityModel.Protocols.OpenIdConnectProtocolInvalidNonceException: IDX10311: RequireNonce is 'true' (default) but validationContext.Nonce is null. A nonce cannot be validated. If you

How to access controls from a console

亡梦爱人 提交于 2019-12-12 08:15:23
问题 I tried to execute the following command from the console. var subject = Xrm.Page.ui.controls.get("subject"); That's the exact syntax I'm using in the web resource that I'm plugging in to CRM. However, I only got an error message saying that "unable to get property 'controls' of undefined or null reference". I do understand the message. What I want to know is two-fold. What syntax will work from the console ( F12 ) to refer to the stuff on the screen? Why doesn't it work the way I did? Where

How to disable Skype and Lync telephony providers for Dynamics CRM completely

无人久伴 提交于 2019-12-12 05:57:08
问题 How can we disable the Skype and Lync providers completely from Dynamics CRM 2015 Online in either supported or unsupported way? What I have tried so far: - Created my own link on phone number fields - Tried to locate any jQuery event handlers attached to the element in the DOM - Assigned the blank event handler to Mscrm.ReadFormUtilities.handlePhoneNumberClick (Ref: http://crmtipoftheday.com/2014/05/15/how-to-block-click-to-call-in-crm/) Still when I click on the phone number the Dynamics

Is there any Common Way for updating status using c# in Dynamics CRM

我的未来我决定 提交于 2019-12-12 05:39:54
问题 I want to update the status using single common way in c#. For now I know about SetStateRequest but it did not change its status to any of status. e.g. If i want to change status to fulfilled for order or canceled for order then it requires FulfillSalesOrderRequest and CancelSalesOrderRequest .Like wise different different class for quote's status and others. So I want some common way for change status.If is there any solution please suggest me. 回答1: If you are on CRM 2015 Update 1 or later,

Updating Transaction Currency On Form Doesn't Update Custom Money Currency Symbol

浪子不回头ぞ 提交于 2019-12-12 02:56:52
问题 I'm creating an empty shell of a lead on a custom web page, then redirecting the user to the newly created lead. The TransactionCurrencyId on the lead is empty on load, and in the OnLoad event, JS is setting the TransactionCurrencyId, and then populating the custom Money field. Upon setting the money field, the following alert is being thrown: A Currency is required if a value exists in a money field. Select a currency and try again. Manually clearing the TransactionCurrencyId, and then re

Can I programatically refresh an Outlook entity view? (online 2013)

时间秒杀一切 提交于 2019-12-12 02:30:07
问题 Our setup is Outlook 2010 + CRM addin connected to a 2013 online instance. I have some custom ribbon buttons on the lead grid ribbon that manipulate selected leads. After certain operations, I would like to tell Outlook to refresh the current view as the operation has updated selected leads so they should no longer show in the current view. Currently, I have to explain to users that the view updates on its own schedule and they must manually refresh the view (View tab/Refresh button) if they

Access/use roles and custom info from OpenId Connect profile within Dynamics 365 Portal?

ぐ巨炮叔叔 提交于 2019-12-12 02:18:19
问题 I am starting to work with Dynamics 365 Portal add-on (Online, not on-prem), which I've configured to use an external authentication provider in the form of Identity Server with OpenId Connect. The problem with this is that I don't have access to the under-the-hood portal authentication process, there's just a few basic config settings and users can authenticate using the external IdP. I can't access roles, claims, or any custom info that might come back as part of the OpenId Connect user's

Dynamics CRM plugin, cannot register StringMap as PrimaryEntity

霸气de小男生 提交于 2019-12-11 19:26:21
问题 In dynamics CRM, can I monitor stringmap table update using plugin? I only need to monitor one attribute, like [AttributeName]='abc' I added the following item into the plugin XML configure file, after I import the XML file, the PrimaryEntity is none. <Step PluginTypeName="Classes.Ind" Description="Ind PreCreate" InvocationSource="0" MessageName="Create" Mode="0" PrimaryEntityName="stringmap" SecondaryEntityName="none" Stage="10" SupportedDeployment="0" Rank="1" Id="B53A4743-*"> 回答1: