Auto Populating Fields Based On A Lookup Change
I have an entity and it has a contact lookup field called c2_customer. On change of this lookup i am trying to populate some additional fields such as the address, mobile phone number of the...
View ArticleSDK is undefined error
We have a JavaScript function called getUserBusinessUnit (see below) that we're using to retrieve the current user's business unit ID and business unit name. This function is using the...
View ArticleObtaining option set and lookup values from fetchXml
Hi,I'm attempting to use fetchxml to obtain values from another record to create a new one. I have managed to get it all working apart from getting any values from option set or lookup fields. The...
View ArticleCRM 2011 - JavaScript - check that Save form is complete?
Is it possible in JavaScript to check if a form has saved successfully before launching a dialog? I want to launch a dialog after the save event, but only after the Save event is complete. The only...
View ArticleCRM 2011 - Modifying QueryExpression on RetrieveMultiple Message
Here is my scenario:I am trying to trap the RetrieveMultiple message and modify the QueryExpression it is using. Specifically, when clicked on Connections from left navigation of the Contact entity,...
View ArticleCRM 2011 Online Early Binding Plug-in
Has anyone out there been successful at creating a CRM 2011 Online Early Binding Plug-in that works? I'm struggling with one I'm working on and was curious. I haven't seen any documentation anywhere...
View ArticleReports based on the Year
Hello Experts,I want to genrate a report which shows all the records created within the selected year. I have used below fetch xml. I'm not getting which condition i have to use to generate report...
View ArticleWhat's new ?!! section is showing as field is updated though it's not changed...
Hi, In opportunity, probability field update is captured int the what's new wall !! problem is, even if that field is not updated and user makes changes in some other field and save the record...
View Article'Connection' entity doesn't contain attribute with Name = 'ConnectionId'.
Ms Dynamics CRM 2011 - rollup 8the following code produces this error during execution of the the last line in the code exampleany ideas? QueryExpression Qry = new QueryExpression("connection") {...
View ArticleCRM 2011 - Need a QueryExpression expert to modify my query
I am new to queryexpression and need help with modifying my query expression below:newCondition1 = new ConditionExpression() { AttributeName = "record1id", Operator =...
View Articlerefresh subgrid using javascript, ms crm 2011
hi,i have a QuoteProduct sub grid in Quote entity.On click of custom button, is it possible to refresh Quote Products sub grid ?Thanks and Regards. Make sure to "Vote as Helpful" and "Mark As...
View ArticleCRM - JavaScript question
Hello,I have the below scenario;I have a picklist (schema - cvs_companyorsite) and when I create a record in the account entity I want this to have write access, however when loading records (onload)...
View ArticleGetting selected ids of a sub grid
Hi,I'm repeating an earlier post:I have a button outside a subgrid in aCRM Form(not a ribbon). My goal is to select multiple rows in the sub grid and then click the button which will retrieve all the...
View ArticlePorting CRM 4 code to CRM 2011 standards question
Hello guys I have been porting over crm 4 javascript webresources to use the CRM 2011 framework and almost everything has been easy and straight forward. Everything except for the following lines.I...
View ArticleUnable to get the Subgrid name using javascript in CRM 2011
Hi All,I want refresh the subgrid on my CRM entity page. But i am unable to get the Subgrid name and its properties and methods from javascript.I have tried below two options,but these are not...
View Articlehow to open new browser window from plugin in CRM??
Hello Alli have created plugin which is invoked when any opportunity closed as won and code is as below.public void Execute(IPluginExecutionContext context) { // Verify we have an entity to work with...
View ArticleCRM 2011 - RetrieveMultiple message on Contact Activities
Last week, I was trying to modify the QueryExpression on RetrieveMultiple for contact Connections as follows:When clicked on Connections from Contact left nav, I wanted to show not only the connections...
View ArticleAdd a button to CRM 2011 Form
I'm trying to add a Java Script button the a form in CRM 2011 and it will not work. ?I keep getting this"Invalid web resource type form form" any thoughts? I added it as a resource to my...
View ArticleCreate Email Attachement using jscript crm 2011 How?
Hello ExpertsHow can I send an attachement as text document while creating an email please provide some codeThanks and regardsMurali
View ArticleHow to hide Jewel Menu's item? (e.g Hide New Task, New Phone...)
Hi,Does anybody have idea how to remove some menu items in New Activity under Jewel Menu.Like picture below, I only need to hide selected activities option from the Menu. I have tried to insert like...
View Article