crm 2011 on-premise: problem setting up lookup field in C# plugin
I have a pre-create plugin on a phone call record and I am initializing its 'regardingobjectid' lookup field with a newly created case record as shown below. The problem is that the 'Regarding' field...
View ArticleCRM2011 Rollup12 - Call Dialog Workflow in JavaScript
Hello,For CRM 2011 Rollup 12, is there a supported customization for calling a dialog workflow programmatically in JavaScript? The code snippet shown below is the method I have been using to call the...
View ArticlePlugin Error... Help!
Hi everyone,I seem to get an error "The given key was not present in the dictionary".. Seems to be sometimes happening on create and always on the update.I have goggled this error and it seems that I...
View ArticleMark E-Mail Activity as Task to show up in the ToDo list of Outlook 2010
Hi, I'm creating an E-Mail activity as follow Email followUpMail = new Email { Subject = "Follow up: " , ActivityId = Guid.NewGuid(), To = objtoParty, From = objfromParty, Description = "Dear "+...
View ArticleConcating a CRM 2011 name field to contain 2 lookup fields and 1 text field
I am trying to set the name field on a custom entity with two look up fields and one text field on save of the form. Below is my code. I continue to get the error "Object doesn't support property or...
View ArticleoData: how do I retrieve the GUID of a record returned by a query?
Hi there,I need to fetch the GUID of a parent account for a contact through the use of JScript.Through oData, I managed to fetch the correct record as follows:...
View ArticleIE 10 issue
I am getting error 'XPathEvaluator' is undefined in IE 10 with the JavaScript provided in CRM SDK. Script working fine in other versions of IE. Does any one have a work around for this issue?
View ArticleCreateXMLHttp() is undefined
This is some code I created last summer and finally it is time to get some use. It worked perfectly fine in our test crm 2011 environment up until now. I have not changed anything from the last time...
View ArticleError in Silverlight Application Property 'Xrm' is null and the Global...
I have place one button in dashboards ribbon in ms dynamic crm 2011. I have created one simple silverlight application. I have successfully open this page on button click after uploading .xap and...
View ArticleSet a value for a lookup field on header when onload form in crm
Dear all,In the header of form, I've a lookup field A.And when the form is in the creating, I want to set a value for this field A.I've try Xrm.Page.getAttribute(aFieldId) or...
View ArticleUsing a CRM4 ISV app under CRM 2011 claim based
Hi,We have done a conversion from CRM4 to CRM2011 and we have a webpage under the ISV folder that connect to the CRM through the CRM4 SDK. Our webpage works fine under our CRM2011 website through an...
View Articlegetting value in javascript from aspx to codebehind
Hi,I am trying to transmit incidentid that i get on crmform.objectid from aspx to codebehind in C#. I put this value in hiddenfield. On the client i had the value.But on C# when i call...
View ArticleCRM 2011: User should not be allowed to block(inactive) account
Hi,I have complex scenario, Account has 2 status reason for inactive status - Inactive & Block.User should be allowed to deactivate account as Inactive only and not Block. I can handle this through...
View ArticleCRM 2011 Javascript : Date fields becoming null on Save
I have an issue regarding CRM 2011 DateTime field..The scenario is this, I have 10 Date fields in my form..After I set a value on "datefield_1", the "datefield_2" value should then be Required, onLoad...
View ArticleHow to fetch the users with their CAL types?
Hi All,I need to fetch the crm 2011 users with their CAL types.Any help?Thanks,Mohak
View ArticleMSCRM Can i set this base on current date and field By using Javascript???
Hi, I have 2 different field in my form (Timeline and Est. Close Date)Example: Today is 16/4/2013 In Timeline I select "This Year" So, In Est. Close Date will auto populate date base on Current Date...
View ArticleStream SSRS report to PDF from plugin
Hello,I'm having problems finding CRM 2011 examples of streaming an SSRS report to PDF format from a plugin. I want to be able to stream an SSRS report to PDF and store the PDF in a server...
View ArticlePull Look Up Values from another form to new form.
Hello Everyone, I'm trying to pull look up values from one form to another. For example, I have an Opportunity with a company name look up value and a contact look up value. I have a custom entity that...
View ArticleCalling web service from CRM 2011 (On Premise) with Javascript
I have had some Javascript sitting in a test environment for months and last summer this worked fine. I know its the Javascript because I tested my web service and that is working fine. When I debug...
View Articleattachevent on SubGrid onrefresh event
I wrote some some JavaScript code in CRM 4.0 that triggers when the datagrid inside of an IFrame refreshes. I have upgraded the system to CRM 2011 and changed the IFrame to a SubGrid. Now I am trying...
View Article