CRM 4.0 Conversion to CRM 2011 !!!!
How to do the same in CRM 2011 format????ICrmService crmService = context.CreateCrmService(false);systemuser callingUser = (systemuser)crmService.Retrieve(EntityName.systemuser.ToString(),...
View ArticleUpgrading Plugin from CRM 4 to CRM 2011
I need to upgrade this plugin from CRM 4 to CRM 2011: using System; using System.Collections.Generic; using System.Text; using FilterServiceQueues.CrmSdk; using Microsoft.Crm.Sdk; using...
View ArticleClients Unable to Work on CRM 2011
Hi, From since Saturday we are facing an issue with our clients that they are unable to work on CRM. All they are using CRM 2011. Up to 18th of this month the application is working fine. But now...
View ArticleCRM 2011 assembly refrence in Visual Studio 2010
I would like to know the name of assembly refrence to use SystemUserSystemUser systemUser = (SystemUser)_orgService.Retrieve("systemuser", userid,newColumnSet(newstring[] {"firstname","lastname"...
View ArticleMSCRM 2011 SOAP update method for currency(Money) fields
I need to update currency field like amount using SOAP request. I am not able to find the right solution for mony(Currency) field.Please help me .I used the following code to update my...
View ArticleHiding navigation item by checking flag
Hi All,I want hide/Show for account entity based on condition.Ex: i have field in account form schema name : is_newdata type : booleanrequirement: if "is_new" is true, then only sales menu...
View ArticleWhat entity do i need to get invoice details with products associated with it...
Hi All, Quite new to CRM development. I need to retrieve the following from the invoice entityName Customer PriceList Detail Amountetc....I know there is an invoicedetail entity but it only has 2...
View ArticleCRM 2011 - Get a list of guid (entity id) from case related activities
Can I in some way get a list of GUIDs from all the related/associated activities to a Case.I’m trying to calculate the time spent by collecting the activities by fetching there “actualdurationminutes”...
View Articlems crm 2011 - how to get the option set's selected value in oData Query using...
Hi Following is the code which I wrote for accessing the selected option set's value for a particular record. But I am not getting the object's value.Can anyone let me know how to get the text...
View ArticleHow to write lookup filed using CrmService.asmx?
I am trying to create new Lead from my custom entity using javascript. I have lookup filed on both of these entities and i want to set lookup field on Lead to be same like on my custom entity from...
View ArticleNot able to get Associated View grid control in JavaScript
My Account form is having “Contacts” navigation link in the left side panel, After user clicks on “Contacts” it gets loaded “Contacts Associated View”. My requirement is after user creates new Contact,...
View Articlessrs report working fine in ssrs but not in crm ,am using filteredentity
i created an ssrs report and am using filteredentity in it sample query in the belowselect...
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 ArticleSales pipeline report problem
Hello,I'm having some issues with the sales pipeline report in CRM 4 (which is pretty much the same report in CRM 2011 if I understand things correctly).The issue is that it shows the same opportunity...
View ArticleJavaScript - Subtract number of days from a date field
Can anyone provide sample code of how to subtract number of days (integer) from a date field in CRM? I am very new to dates in JavaScript and I am not sure that just subtracting a number from a...
View ArticleCRM 2011 - Calculate time spent and returning it to a attribute in the form
I've found several ways to do stuff that’s like this, but nothing works...Right now I've have trouble just do set/update a form attribute.Here my code:using System; using Microsoft.Xrm.Sdk; using...
View ArticleRefresh sub-grid on form CRM 2011
Dear all,ON my form i have a subgrid link to a navigation menu link A.When click on menu A -> the subgrid is displayed.When the form is opened at the first time -> i use...
View ArticleUnhandled Exception: System.InvalidOperationException: The plug-in type...
Hi All,My plugin is 4.0 plug in and migrated to CRM 2011. I have tried using sample plug in code (creates an account enity with random account number) provided in 2011 SDK for profiling and it worked....
View Articleusing ExecuteMultipleRequest with previous rollup versions
Hi,Am i right to assume that ExecuteMultipleRequest will only work if Rollup 12 is installed? I've got some code that writes bulk data but want to conditionally use this if this is the case.thanks,Paul
View Article