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
2
votes
1 answer
FetchXML Filter out Duplicate Values
I have a program that pulls Invoices from our CRM Dynamics Online system into a .csv file.
Sometimes our salespeople create multiple invoices on the same Order in CRM, and I need a way to remove any duplicate invoices on the .csv.
I would like to…

Andy Jr.
- 95
- 1
- 10
2
votes
1 answer
Javascript - Set Required level doesn't work
I use JavaScript to set required level of field based on some selections, the field appears as optional but the form doesn't able to save and says please fill this field.
My code
Xrm.Page.ui.controls.get("new_field").setRequiredLevel("none");
I…

Hussein Fawzy
- 525
- 1
- 8
- 15
2
votes
1 answer
Validate field/attribute in CRM Dynamics forms using js
I have a problem in validating attribute on a form in CRM dynamics.
I added a JavaScript code that validate the attribute value based on my business rules.
and added to 2 events, form on save and field on change,
the question is:
1- Is this the best…

Hussein Fawzy
- 525
- 1
- 8
- 15
2
votes
1 answer
How to create a map from model to Entity, and Entity to model, with AutoMapper?
I have a model
class Account
{
public string Name { get; set; }
public string EmailAddress1 { get; set; }
}
Is it possible to configure AutoMapper to somehow loop through each property on my class and map it to the correct Entity value.
I…

Dan Rino Lauritzen
- 392
- 2
- 8
2
votes
0 answers
Visual Studio 2013 and Microsoft CRM/XRM Development - Project Type unsupported
Has anyone been developing XRM on VS2013?
I've attempted to open my project and recieve the following message on the CRM plugins/Workflows/CRM package projects in the solution:
'Needs migration'
or
'Incompatible'
Normally this means that you need to…

Jon Barker
- 1,788
- 15
- 25
2
votes
3 answers
Differences between Microsoft CRM and xRM
I am browsing the new xrm.com page and I find it lacks some concrete information of what does it means.
Could you please explain what are the main differences between Microsoft CRM and xRM? What extra features does it gives to the developer or…

borjab
- 11,149
- 6
- 71
- 98
2
votes
1 answer
Writing Javascript Code to support Multi-browsers
I am new to CRM 2011 Javascript,Can anyone please suggest me in writing the below lines in CRM 2011 Javascript to support multi browsers please.
In IE it is working fine but not in other browsers
crmForm.new_schemaname.DataValue =…

Kittu
- 293
- 1
- 2
- 9
2
votes
2 answers
Is to use parallel library calling XRM
In queries to XRM, is it helps to use the parallel extension library as so
xrm.AccountSet.AsParallel().Where(v=>v.ModifiedBy == DateTime.Now).FirstOrDefault()
Instead of
xrm.AccountSet.Where(v=>v.ModifiedBy == DateTime.Now).FirstOrDefault()
Or…

Yacov
- 1,060
- 14
- 27
2
votes
3 answers
Xrm.Page.getAttribute("").getValue() don't get actual value
I have a custom entity in CRM 2011 with a Closure Code(drop down list) and Solution(multiple lines text) fields.
Is weird what is happening, and this is that the next sentence, is not getting the actual field value:
var detailsSet =…

Jorge
- 1,178
- 2
- 13
- 33
1
vote
1 answer
Clearing cache in XRM 2011 with ObjectCacheManager
In the old days, I had this
http://arens.ws/wordpress/?p=54
public static void ClearCache(string entityName)
{
const string format = "adxdependency:crm:entity:{0}";
var dependency = string.Format(format, entityName).ToLower();
var cache =…

DevilCode
- 37
- 2
- 10
1
vote
2 answers
Edit Xrm.Utility.confirmDialog button text
I want to use Xrm.Utility.confirmDialog but I need to edit the button's text, is it optional ? if yes, how can I do that ?

Damkulul
- 1,406
- 2
- 25
- 59
1
vote
2 answers
CrmDataContext.GetEntities query - ERROR: 0x80040204 - Invalid user auth
I created domain user 'jsmith' in Active Directory and i've added that domain account as a user in Dynamics CRM. My goal here is to execute code with a service account that is in the PrivUserGroup for the organization while impersonating 'jsmith'. …

brennazoon
- 1,379
- 2
- 12
- 11
1
vote
2 answers
Get ALL Entity Metadata in Dynamics CRM
What I want to do is:
Retrieve all metadata from CRM.
Serialize that metadata and store it in a file.
At a later point, deserialize and eed that metadata to XrmFakeEasy for unit tests.
Steps 2 and 3 are done but I don't know how to accomplish step…

Jay
- 3,373
- 6
- 38
- 55
1
vote
1 answer
XrmToolBox PluginRegistration. Edit Plugin Step Configuration from plugin code
How can I modify the Unsecure and Secure Configuration in plugin code for step?
For example, I have a plugin and I will send it to my friend. I want this plugin to clean or modify all information that my friend has in his XrmToolBox Plugin Step…

Oprain
- 33
- 2
1
vote
2 answers
How to set multi-select field value using openForm in Dynamics CRM?
I've created Multi-select option-set field (category) in Dynamics CRM on-premise for Contact and Projects. Now using button click I'm trying to set the value of multi-select field on Project. But each time I am coming across with Error:
Error…

Mohsin A.
- 153
- 2
- 18