Fetchxml cast date
Hello, I'm using SSRS and fetchxml for do some reports in mscrm 2011. I need get the total of appointments completed group by day. I did that: <fetch version="1.0" output-format="xml-platform"...
View ArticleProblem with the command doISVAction
Good afternoon everyone,So guys IM doing some tests CRM4 migration for CRM 2011, in the middle of approval I realized that a good part of the ISV applications are not working. Specifically those that...
View ArticleNeed help for Jscript beginner
I am a complete beginner when it comes to Jscript and wanted to see if someone could help me with the code that is currently producing an error.We are a Distributor for AT&T and sell 1-10 line...
View ArticleHow to set a value to PickList() type field
How to set a value to PickList() type field programmatically?I'm doing the following, which is raising an error while creating a user.new_Division is a custom attribute of systemuser Entity. If I need...
View ArticleGrouping DateTime field in FetchXML
Is it possible for FetchXML to return the full date when you group by date time field.For example, the following FetchXML should return the 11/1/09 on billingstarton rather than 1<?xml...
View ArticleHow to query workflow definition?
Hi, I would like to use a query to get information about which workflows use my custom assembly. Is that possible or I have to go manually through all the workflow definitions?Thanks in advanceZarko
View Articlehow to deactivate the record
I have tried several things but using crmservices im getting stuck. In the code below im updating a record, but I also want to set its status to deactivated For Each FMList As...
View ArticlesetDefaultView on Appointment requiredattendees
Hello,I am attempting to set default view for requiredattendees field of Appointment to "Active Contacts". I...
View Article[CRM 2011] Import data programmatically with file annotations
I'd like to create a configuration page for our solution which will allow the user to import sample data.The requirement is that this sample data will also contain attachments (annotations with files)....
View ArticleHow to check and not select null values after using Fetch.xml
Hi. I'm organizing forms, views and fields in MS CRM 2011 (UR5, Windows Server 2008 R2) for a Marina Company. And have a question about it. To find the related boats' contact information, I used a...
View ArticleSubqueries using FetchXML
I have a relationship where orders entities are related to customer entities. I want to view all the orders of Active customers. What I mean by Active customers is the default Active status that...
View ArticleCalculation of Money/Currency Field
I need to fetch all related quote products under the quote entity. I used a query expression for this to retrieve the corresponding Total amount for each product. Now I need to sum the total amounts....
View ArticleCRM 2011: ILMerge - Unable to Register Plugin Assembly
I have a plugin assembly which I have successfully registered and tested on disk. I have now used ILMerge to combine all the referenced assemblies together with my assembly so I can register it in the...
View ArticleOData call is returning 400 error.
Hello Experts,var entityNameSet = "IncidentSet"; //Entity Name var entityIdAttr = Xrm.Page.data.entity.getEntityName() + 'Id'; //Entity ID field name var hasRelated = false; //Related activities are...
View ArticleLinq exception occurs while retrieving paged crm data in a multihreaded manner
I try to read data from CRM 2011 in a paged and multithreaded manner with a Statement like this:List<object> pageResult = new List<object>(xrm.CreateQuery("contact").Skip(i *...
View ArticleCase close on click of Resolve button programmatically
Hi,I am trying to close the case programmatically when i click Resolve button on case entity . I am triggering a plugin which fires on close message and in the code there is no error and it's...
View ArticleThe entity is read-only and the 'EntityState' property cannot be modified....
Hi, I am trying to update multiple records by using ExecuteMultipleRequest.But when I try to change the EntityState, its throwing an error saying "The entity is read-only and the 'EntityState' property...
View ArticleFetch XML with parameters
I have the following fetch xml that i want to paramatise the licence ie uniname="@Licenceno".what do i need to do to allow this with the below fetch xml<fetch version="1.0"...
View ArticleDynamics CRM 2011 - UK phone number Javascript validation
Hi,I am trying to validate the mobilephone attribute through javascript using the contact entity in CRM 2011. Ideally this will need to fire onchange when the data includes any letters, equals 11...
View ArticleHow to get the GUID of the workflow in CRM 2011?
Hi All,Can any one tell me how to get the GUID of the workflow?Thanks,Laxmikanth D.
View Article