Questions tagged [xrm]

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.

205 questions
0
votes
3 answers

CRM: How to find the Value for OptionSetValue?

I am totally new to CRM. I am doing a code review. The code is comparing value of Microsoft.Xrm.Sdk.OptionSetValue.Value with 100000002. I believe, 100000002 represents whether the Sales Order is completed (or some other state for Sales Order). I…
Vikram
  • 3,996
  • 8
  • 37
  • 58
0
votes
2 answers

CRM 2011 - JavaScript don't update fields

I have a basic calculation on javascipt. It calculates true and changes the field's value with true value. But when I check it on database, it shows me ex-value of a field. I use Xrm.Page.getAttribute("new_exchangerate").fireOnChange(); on…
Jungleman
  • 286
  • 2
  • 6
  • 20
0
votes
1 answer

XRM.SDK QueryExpression ConditionOperator.Like

How do I execute a query in the CRM (using QueryExpression from XRM.SDK) so that a values in one of the fields will have a certain length? And what there are special characters for work with patterns that are used with the operator…
maximusKon
  • 136
  • 9
0
votes
1 answer

How to get all lookup values from MS CRM using XRM SDK

I am writing an app which uses XRM SDK to get data from MS CRM 11. For fields of type lookup I want to get their corresponding definition so I can retrieve all possible ids and values from the related entity. I cannot seem to find a way to get…
0
votes
1 answer

Outer join with Linq causing "GroupJoin" error

The following join projection is throwing the error, "The 'GroupJoin' operation must be followed by a 'SelectMany' operation where the collection selector is invoking the 'DefaultIfEmpty' method." I've run over a few permutations of changes, but…
TheHolyTerrah
  • 2,859
  • 3
  • 43
  • 50
0
votes
1 answer

Xrm.sdk and Sharepoint 2013

I need to take data from a Dynamic CRM 2013 tables using web services. In a Console Application I used microsoft.xrm.sdk.dll and it was so easy to make query using QueryExpression. But now I need to do the same thing and represent data on an…
maximusKon
  • 136
  • 9
0
votes
0 answers

Error saving Entity dynamics crm 2011

I have an error that I can not repair. Im developing an application that takes a guid as a parameter and "clone" that entity in another. (I know I can do this through javascript, the problem is the CRM server don't have the required rollup and I…
wOvalle
  • 87
  • 9
0
votes
1 answer

CRM pop-up Silverlight application in new browser window issue

I have developed a silverlight application that is launched from a CRM form. The form has a field and in the OnChange event of the field, it calls window.open to open a HTML web resource: window.open(serverUrl + "")... The HTML web resource…
JerryH
  • 115
  • 2
  • 14
0
votes
1 answer

Make Dynamics CRM 2011 field readonly NOT disabled

I would like to make a inputfield readonly. I am familiar with the setDisabled() method in XRM, the downside of this method is that it is not possible to copy/paste values from the fields. Is there another way then using javascript/jQuery directly …
0
votes
1 answer

Microsoft.Xrm.Sdk.SaveChangesException generated in Dynamics CRM plug-in

The following code is created in a Microsoft Dynamics CRM plug-In. The code executes after a product Entity is updated. There is a custom field in the product Entity called labourRate. All the fields are selected to be passed to the plug-in: …
LiamHall
  • 13
  • 1
  • 5
0
votes
2 answers

Recover Dynamics CRM 2011 Website

I have accidentally managed to delete the Microsoft Dynamics CRM 2011 web-site from IIS (don't ask how...) Can anyone recommend an approach to restoring the website? I am running Roll-up 5, 6, 7, 8 & 12 on-top of the initial installation, however…
Nick Heppleston
  • 1,973
  • 11
  • 18
0
votes
1 answer

Clear textbox in Javascript checking against checkbox

I have some javascript controlling the logic on an MS dynamics 2011 form. When I click a checkbox (checked by default) There is a textbox which allows you to input data. When I uncheck this box, the textbox disappears. However, When I recheck the…
GrumP
  • 1,183
  • 6
  • 19
  • 43
0
votes
1 answer

CRM error while trying to deserialize parameter

I have a CRM function that returns the attribute types of all attributes in a entity. My problem is all though this same method has worked in the past it's now throwing this error regardless of the entity I pass in to it. There was an error while…
user1842828
  • 311
  • 3
  • 9
  • 17
0
votes
2 answers

Get Method in C#

I came across C# codes in the following pattern but quite don't get where that Set method comes from. // obj is an instance of Microsoft's Xrm Entity class obj.Set("property_name", property_value); Based on Xrm's Entity class definition, there is…
0
votes
1 answer

Obtaining all companies from CRM Dynamics using fetch XML

I'm running the following code to access CRM Dynamics DB. using (OrganizationServiceProxy proxy = new OrganizationServiceProxy(organizationUri, null, credentials, null)) { const String request = @"
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
1 2 3
13
14