xRM is an alternative term used to market Microsoft Dynamics CRM. Generally, unless the question deals with those marketing differences, questions should not be tagged here.
Questions tagged [xrm]
205 questions
3
votes
1 answer
Required member 'LogicalName' missing for field 'Target'
I'm using the Microsoft XRM SDK to programmatically add an entity. However, each time I run a .Create() command I get the following error:
Required member 'LogicalName' missing for field 'Target'
First time using this service and similar resources…

NealR
- 10,189
- 61
- 159
- 299
3
votes
1 answer
CRM 2013: Getting Data from Organization Service with Microsoft.Xrm
I am trying to get data using my Organization.svc and C#
This code successfully gets the data the first time it is run.
However, when I call it again, it gets called again, the data pulls nearly instantaneously.
I disabled my internet connection,…

RyanNHG
- 1,009
- 2
- 8
- 20
3
votes
3 answers
XRM setDisable() does not work on browsers other than IE
There’s an error on our XRM form when it is opened from a browser other than IE. You can see the unhelpful message on the image link.
The error is unclear so I debugged it, and it led me to an error on the javascript function on page load.
It…

Gilang Bhagaskara
- 65
- 1
- 8
3
votes
1 answer
Dynamics CRM 2011 Plugin Retrieve and Retrieve Multiple
I'm looking for some working examples of retrieve message and retrieve multiple message plugin (Early binding). I've failed to find any successfully examples looking on line. I've checked the SDK, and various forums. Links or working examples would…

Jason N
- 151
- 1
- 1
- 10
2
votes
1 answer
FetchExpression results appear to be cached, how do I prevent this?
I am using a FetchExpression against a RetrieveMultiple operation on a CrmOrganizationServiceContext within a windows service to fetch and process items out of a queue.
The first time this runs this fetches the items to be processed correctly. On…

Duncan Watts
- 1,331
- 9
- 26
2
votes
3 answers
Connection/Object pool for OrganizationServiceProxy in XRM/Dynamics CRM 2011
I am writing a MVC 3 WebApp which uses XRM 2011 using Early Bound. This is an internet-facing application hosted on separate machine than Dynamics IIS.
This of course makes OrganizationServiceProxy call very very frequently and response is kind of…

SamJackSon
- 1,071
- 14
- 19
2
votes
2 answers
How to determine if Dynamics XRM javascript is being invoked from the unified interface (UCI) or the legacy web-client?
There is the function: Xrm.Internal.isUci(), but that is labelled as Internal, so its most likely not supposed to be used. But, I need a method to determine if my code is being invoked from the UCI or from the legacy web-client (because, there are…

Raj Rao
- 8,872
- 12
- 69
- 83
2
votes
1 answer
How do I authenticate into an Azure hosted webservice from Dynamics CRM online?
The Problem: From CRM, we need to call a webservice and display the results using a webresource. I would like this call to be made using ajax so the UI is somewhat user friendly/responsive. The webservice is hosted in Azure and can either be an…

TheEmirOfGroofunkistan
- 5,476
- 8
- 37
- 53
2
votes
1 answer
FetchXML vs Query Expression vs LINQ Query: What should I use here?
I need help from those kind enough to provide help! I am running an instance of Dynamics 365 and I need help deciding whether to use FetchXML, LINQ Query or Query expression to query an entity I have called contract lines....
Let me explain the…

Alan Judi
- 1,074
- 1
- 16
- 32
2
votes
1 answer
How to use CrmServiceClient to set a null attribute value
I am struggling using the CrmServiceClient to update attribute values to null.
My code is working fine for non null values but fails with an exception:
Object reference not set to an instance of an object. at
…

Andy Darby
- 23
- 7
2
votes
3 answers
Delete using alternate key
Since we can update an entity using an alternate key:
var entity = new Entity("my_entity", "my_alternate_key", "my_value");
entity["my_updated_field"] = "Update";
service.Update(entity);
I was expecting to be able to delete the same kind of…

Pierre de LESPINAY
- 44,700
- 57
- 210
- 307
2
votes
1 answer
Dynamics 365 - Open search page programmatically
Is there a way to open a the following page programmatically using Xrm as we can open forms or dialogs ?

Hubert Solecki
- 2,611
- 5
- 31
- 63
2
votes
4 answers
Is it OK to generate IDs of entities outside of CRM?
I need to one-way-synchronize external Data with CRM on a regular basis (i.e. nightly).
This includes creating new Records as well as updating existing ones.
That means, I have to keep track of IDs of CRM-Entities created by my synchronization…

nozzleman
- 9,529
- 4
- 37
- 58
2
votes
1 answer
Slowness in Dynamics CRM using XRM SDK?
We are developing a system that connects to Microsoft Dynamics CRM using XRM SDK , It’s server side is built on .NET MVC, Front End Side is built upon Angularjs
We are facing a latency problem in API responses, ex. Login API needs at least 1.8…

Omarj
- 1,151
- 2
- 16
- 43
2
votes
1 answer
XrmServiceToolkit.SOAP.RetrieveMultiple Query CRM 2016
I made a query that gets all reports from CRM that have certain user guid or are due on today.
So the equivalent if statement would be:
if(ownerid == userGuid || novemo_date == today) {...}
How can I make this kind of query:
if(ownerid == userGuid…

ddelic
- 89
- 13