is it possible to implement the switch CASE from the following SQL Query...
I Converted the follwing SQL Query into FetchXml SELECT TOP (1) FilteredQuote.name, FilteredQuote.statecodename, FilteredQuote.totalamount, FilteredQuote.customeridname, FilteredQuote.quoteid,...
View ArticleConverting JS Soap Method from CRM 4 to CRM 2011
How can i get the following to work in CRM 2011 using the WCF endpoints? Thanks in advance. function GetOfficeName(OfficeId) { var xml = "" + "<?xml version=\"1.0\"...
View ArticleCRM 2011 on-premises - how to implement external connector license?
Hello everyone,One of my customers would like to implement External Connector License to provide an access to external parities.I would like to know the licensing cost and whether is it available on...
View Articlewindows phone 7 application consume IOrganizationservice sylverlight
Hello dynamics plz i need your help !i develop a phone application 7 ( xaml , c# ) i wanna consume IORGANIZATIONSERVICE with my application i have a code soapforsylverlight from sdk how i wll use it...
View ArticlePlugin:Get Related Record
Hi all,I have an Issue.. when an email is create it should get value from 'To' field and then i have to update an filed in email.I am using plugin on create message. but it does not getting record...
View ArticleGet primary fields from EntityCollection
I have an EntityCollection in my plugin, that I want to loop through and get all the primary field values. In my case: Resources on Service Appointment. Is there a good way?Something...
View ArticleUnable to create an Email and relate an Activity Party from Silverlight...
Hi,I am trying to create a new email record (which I am able to create) and set the current user as the sender (having problems achieving this). I get a...
View ArticleCRM Field - Set to Ready-Only - Greyed Out
I initially wanted a field to be read-only, but I have since changed my mind. I went back into the field and the Specify field-level - Field is read-only is now greyed out, and I do not have the...
View ArticleCRM 2011 Get Record's Owner's Territory and display in in form header
Hi.I need to get the Territory of the Owner of the current record and display this information on the form header.No problem retrieving the Owner's Territory (or any other Owner's info) but if I use a...
View ArticleIs it possible to get to the authenticated user id from impersonated proxy...
It looks like if you have an OrganizationServiceProxy setup authenticated underUser A and then set the CallerId property to be User B, in the plugin context what you get is:context.UserId = User...
View Articlecrm 2011 javascript - load scripts onload in a view or dashboard?
I’ve created some new ribbon buttons that use functions that are in more than one web resource. I’ve solved this by using a script to loads them and append them to the body tag within the primary...
View ArticleChange closed invoice name programmatically
Hi,i have closed/paid Invoice in CRM, and i need change name programmatically. But it is not possible because invoice is locked and read only.Is here some solution how this resolve?ps: can not use...
View ArticleGetting Previous value of Field in standard workflow
I need to add a condition to check previous value of a field and depending on the previous value andpresentvalue I want to execute Child workflow. I don't want to implement this in code, rather...
View Articleset two users to bcc in email activity
hi everyone,i use crm 2011 and i want to set 2 user's to bcc when email activity is load. i can set one user but i couldnt set two users at the same time.here is my code://bcc var value2 = new Array();...
View ArticleCRM 2011 Online - Silverlight/WCF alwasy get an error
Hello!I have a SL 5 project.In the SilverlightApplication.Web I have a Silverlight-enabled WCF service, which connects to a Sharepoint and do something. (returns a byte[]) I use this as a Service...
View ArticleCRM 2011 : Plug-in failure due to heavy loded tasks. ( Suggestion )
Hello,I have registered a clone plug-in to copy quote and it's corresponding products. Plug-in works fine where there are nominal numbers of quote products say <30-70 but one of the quote which we...
View ArticleInvalidPluginExecutionException dialog does not show up - CRM 2011
Issue: In my CRM 2011 environment, the InvalidPluginExecutionException dialog is not showing up for some reason. We have some custom exception handling code in the plugin written as below. if (!valid)...
View ArticleLoad external assembly from plugin
Hi,Can anyone tell me From plugin can we load external assembly using reflection, and how to do itThanks
View Articleaccess denied error when close cases crm 2011
After UR 13 every time when users, that have access rights at business unit level, try to close/resolve a case get the following error Unhandled Exception:...
View ArticleCopy Record with associated sub grid in CRM 2011
Hi All,I have a record which contains a sub grid having some records in the subgrid. I am having a requirement wherein i have to copy the record data and the subgrid into another record, i.e. i need to...
View Article