dynamics-crm-2011

Microsoft Dynamics Crm Sdk - Is this query possible?

徘徊边缘 提交于 2019-12-04 13:38:51
I am exploring the "QueryExpression" mechanism used to Retrieve data via the Dynamics CRM SDK, and I think I have hit a problem / limitiation with the SDK, but I would like to ascertain that for certain.. Given this desired SQL: Select C.firstname, C.lastname FROM contact C INNER JOIN customeraddress A on C.contactid = A.parentid WHERE ((C.firstname = 'Max' AND C.lastname = 'Planck') OR (C.firstname = 'Albert' AND C.lastname = 'Einstein')) OR A.Line1 = 'The secret moonbase' I cannot appear to translate the filter criteria above (the where clause) into the equivalent SDK conditions /

Apache CXF client for claims-mode xRM (Microsoft Dynamics CRM 2011)?

雨燕双飞 提交于 2019-12-04 12:27:12
问题 I'm trying to create an Apache CXF (2.7.5) client for the Microsoft Dynamics CRM 2011 ("xRM") web services (which I understood to be based on WCF 4) where CRM is in claims mode, so that the WSDL for this web service points to an STS (in my case AD FS 2.0). My main question: Are there any tutorial, suggestions, blog posts to help me out (either describing how to send claims, or how to avoid them and instead use Windows authentication)? Below is a description of what I've done until now. I

Microsoft Dynamics CRM Online with a Windows Azure Hosted Webpage + IFrame + X-Frame-Options

╄→尐↘猪︶ㄣ 提交于 2019-12-04 07:35:38
I am trying to use Microsoft Dynamics CRM Online where Windows Azure hosts a custom webpage that is displayed in an IFRAME of the Microsoft Dynamics CRM web application. I have read http://msdn.microsoft.com/en-us/library/gg509061 (Microsoft Dynamics CRM Online with a Windows Azure Hosted Webpage) and also followed the instructions on http://social.technet.microsoft.com/wiki/contents/articles/2590.aspx (Secure Windows Azure Web Role ASP.NET Web Application Using Access Control Service v2.0) I now have a Windows Azure Webpage that displays a Windows Live Id screen to log in. The problem is that

How to get all the birthdays of today?

天大地大妈咪最大 提交于 2019-12-04 05:26:49
问题 Does anyone know how to make a Linq query that gets all the birthdays of today? The code below doesn't work : var getBirthdays = orgContext.CreateQuery<Contact>() .Where(c => c.BirthDate != null && c.BirthDate.Value.Month == DateTime.Now.Month).ToList(); I get an error like this: "Invalid 'where' condition. An entity member is invoking an invalid property or method." Thanks in advance! 回答1: Anytime a vendor writes a four part blog series on how to do something as simple as finding a birthday

Disable System Ribbon in CRM 2011

大城市里の小女人 提交于 2019-12-04 05:21:38
问题 I would like to conditionally disable a System Ribbon = AddNew in a CRM 2011 form with javascript. That means if the statusCode is X or Y disable the Ribbon, how could I do this? I tryed to get the ID of the Ribbon in order to change the classname of the Ribbon to disabled, but I got Null because the Ribbons are loaded asychronously! 回答1: To expand on Anwar's answer, the key to getting this to work is to intercept and repurpose the functionality of the AddNew ribbon button, but once you do,

wsdl error: no proper separation of headers and document

做~自己de王妃 提交于 2019-12-04 04:40:01
问题 I'm using NUSOAP to use a soap interface to microsoftdynamics. I'm getting this error "wsdl error: Getting https://testserver2013.api.crm4.dynamics.com/XRMServices/2011/Organization.svc?wsdl=wsdl0 - HTTP ERROR: no proper separation of headers and document" , I'm a bit confused. I'm assuming the xml document is fine, is there a problem with the headers, or is it likely i'm incorrectly reading it! thanks. the xml of the document looks like this <ms-xrm:FailoverPolicy xmlns:ms-xrm="http:/

Dynamics CRM 2011 Bulk Update

假如想象 提交于 2019-12-03 16:47:45
问题 Running Dynamics CRM 2011 rollout 3. Need to update millions of customer records periodically (delta updates). Using standard update (one by one) takes a few weeks. Also we don't want to touch the DB directly as it may break stuff in the future. Is there a bulk update method in the Dynamics CRM 2011 webservice/REST API we can use? (WhatWhereHow) 回答1: I realize this is post is over 2 years old, but I can add to it in case someone else reads it and has a similar need. Peter Majeed's answer is

How to access controls from a console

寵の児 提交于 2019-12-03 16:36:49
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 doesn ui come from? I've checked that I can refer to both Xrm and Crm.Page but apparently ui is null

Error" …The OLE DB Source.Outputs[OLE DB Source Output].Columns[XXXXXXXX] on the non-error output has no corresponding output

一曲冷凌霜 提交于 2019-12-03 15:54:18
问题 Ive spent hours trying to fix this issue. For the column that's giving me the problem i am using a scalar-function in sql server to grab the name. The function is correct and works fine. I then use a stored procedure to use with ssis. The column that is giving me the error is stating it has no corresponding output column on the error output. Everything seems to be fine. I have done the following per previous recommendations: Deleted source and destination and remapped everything Changed

How to perform an ODATA expand in LinqPad

[亡魂溺海] 提交于 2019-12-03 14:16:42
I'm using LINQPad to connect to the ODATA services on a local CRM organization and I don't know how to perform "joins" or to traverse relationships using LINQPad. Here is my URL OrganizationData.svc/New_locationSet?$select=new_state_new_location/new_Region$expand=new_state_new_location which works just fine in the browser. Here is what I'm doing in LINQPad: from l in new_locationSet from s in l.new_state_new_location select s.new_Region but I'm getting an error: An expression of type 'LINQPad.User.New_state' is not allowed in a subsequent from clause in a query expression with source type