MS CRM 2011 Ribbon button Onclick event not firing
Hi,I have a CRM2011 ribbon button which was created which was using XML file and ajax call .it(below function) creates button dynamically and add the button click event. The contained event...
View ArticleThe given key is not in the dictionary - CRM 2013 Plugin on Case Resolution
Hello,I am trying to access the incident screen from a plugin registered as a Close message on the incident but I keep getting 'The given key is not in the dictionary'. I have tried All columns and...
View ArticleCRM 2013 Online - Java script - multiselect checkboxes - script not working
Hi all, trying to implement a java script which I found online. I have no knowledge of scripting/coding whatsoever.Tried this, but gave me errors:...
View ArticleUsing CrmSvcUtil.exe only return help
This question may be asked several times, but I can't find the answer to the problem. I've done it on other projects with good results, but it doesn't work at this moment. So please look in to it with...
View ArticleUnable to get property '0' of undefined or null reference.
Hi,I have a nice working OnChange script event on a lookup field. It works fine in both of my test and prod environments. Recently it started throwing this error "Unable to get property '0' of...
View ArticleMS CRM 2011 : Clone a record of custom entity
Hello,With MS CRM 2011I want to clone a record of custom entity using javascript function called from button in the ribbon and open automatically the newly created record.could someone help me? Thanks...
View ArticleMSCRM 2011 Javascript not working
Hi, the following code are the javascript that i apply in my crm case form.function AssignToMe() { var context; var serverUrl; var UserID; var ODataPath; context = Xrm.Page.context; serverUrl =...
View ArticleYour changes have not been saved. To stay on the page so that you can save...
Below is my CRM 2013 code: var clone = Xrm.Page.getAttribute("new_clone"); var cloneValue = clone.getValue(); if (cloneValue != "clone" && cloneValue != "") {...
View ArticleDate cannot be less than today
Folks:I need help with a date validation in Dynamics CRM 2011. I have a field as 'Next Contact Date' which accepts date, but I don't want users to enter date less than today. I believe this can be...
View ArticleJavascript to set fields ready only based on completion of another field
I'm trying to set a field to read only based on the look up field of a related entity being populated. My script is not workingfunction setSomeFieldsReadOnly(){ varval =...
View ArticleOn change is calling after saving the record.
How to restrict the Onchange event to not trigger on saving of the form
View ArticleCRM 2013 - Switching CRM Forms Programmatically
Hi I have a specific business functionality in CRM 2011 which I am trying to migrate into CRM 2013. Current Scenario: I have a 3 LOB (line-of-business) forms for Opportunity Entity and a Select LOB...
View ArticleSubgrid in CRM 2013 : How to find readyState complete?
Hi,In CRM 2011, Our team was able to attach subgridOnLoad like this, Any workaround for CRM 2013? :function subGridOnload() { var grid = document.getElementById('grid_identifications'); if...
View ArticleCannot get REST to work with JavaScript in CRM 2011
I'm having a lot of trouble trying to get this to work, having read the SDK etc.I am basically trying to access the Organization Service by REST from within a form when something happens.The URL for...
View ArticleError on Ribbon Button Change
Hi!I have changed position of a custom ribbon button on quote entity but im getting an error while saving changes(importing Solution into CRM).I use Visual Ribbon Editor to make changes and i have...
View ArticleAddUserToRecordTeamRequest returns error: An object with the specified name...
MS-CRM 2013, SP1, UR1, on premissesWe have a plug-in which maintains access using access teams. In general it works as intended, except when (another plugin/program/whatever) fires a number of requests...
View ArticleConverting Decimal to Money (C#)
Hi,I have a plugin, that's suppose to sum up all SalesOrders on specific Accounts in CRM 2013First I make the query:var salesorderquery = from so in newcontext.SalesOrderSet...
View ArticleCanceling child case activities on merge
Hi,I am developing a plugin to cancel child case's activities when cases are merged using 'Merge Cases' button.I've registered the plugin on merge message. But when I deploy it I don't think its...
View ArticleCRM 2013: Passing Account Info into Webservice via Plugin
We are using CRM 2013. I'm trying to create a plugin that triggers when a CRM Account is created. Then the plugin will fires and sends an attribute 'AccountNumber' into an external webservice. However...
View Articleupdate a lookup field plugin
Hi,I am trying to learn write plugin for updating a lookup field. Can someone give me an example or point to an article that helps me?Thanks
View Article