Using the CRM Web Service, you can create new entity records, just using JavaScript. The following code demonstrates this: // Make Struct function MakeStruct(names) { var names = names.split(‘ ‘); var count = names.length; function constructor() { for (var i = 0; i < count; i++) { this[names[i]] = arguments[i]; } } return constructor; }… Continue reading Creating records in CRM 2011 using JavaScript
Author: Cornel Croitoriu
Microsoft Dynamics CRM 2011 Online Global Availability
Microsoft Dynamics CRM 2011 goes international: 40 countries, 41 languages. Click here for more details.
Set a lookup value in CRM 2011
// Sets the lookup value for a certain field function SetLookupValue(fieldName, id, name, entityType) { if(fieldName != null) { var lookupValue = new Array(); lookupValue[0] = new Object(); lookupValue[0].id = id; lookupValue[0].name = name; lookupValue[0].entityType = entityType; Xrm.Page.getAttribute(fieldName).setValue(lookupValue); } }
JavaScript structures
Here’s a brief example of how to create structures in JavaScript. We’ll use this function a lot from now on in our code. // Make Structfunction MakeStruct(names) { var names = names.split(‘ ‘); var count = names.length; function constructor() { for (var i = 0; i < count; i++) { this[names[i]] = arguments[i]; } }… Continue reading JavaScript structures
CRM Stuff – 4 years together
CRM Stuff has reached its 4th anniversary. I’d like to thank the community for all the support, comments, ideas, suggestions and thoughts. Best of luck,CornelCRM Stuff
CRM 2011 Custom Form Button
Using some of the basic DOM vs JavaScript capabilities, you can use the following code to dynamically generate a custom button for your CRM Form in Microsoft Dynamics CRM 2011 (scroll to the end of this post to see an example of how to use it). The button will look just like the ones in… Continue reading CRM 2011 Custom Form Button
Marketing List History
why does text your ex back work and How To Get Back With Your Ex Girlfriend or How To Get Your Ex Back How To Get Your Ex Girlfriend Back win back ex Hot To Get Your Ex To Text You Back Girlfriend Back, funniest ways to get a girl back, etc. Greetings guys, Last… Continue reading Marketing List History
MS CRM 3.0: Set email default font
Hello again, I’ve been working recently on a way to set the default font within the CRM 3.0 email message edit field. The default font is Tahoma 10, however, a different font was needed (in this code, Arial). From the 3 specified font families, Internet Explorer will use the first one available on the system. As… Continue reading MS CRM 3.0: Set email default font
Another way of loading certain CRM Views into an IFRAME on the main form
Since every CRM View has its own GUID and can be launched using the Advanced Find out-of-the-box functionality, you can follow several easy steps to load what view you want (with whatever additional filters you want) in a certain IFRAME available on the crmForm.Here’s the scenario: you wanna display your active contacts (My Active Contacts… Continue reading Another way of loading certain CRM Views into an IFRAME on the main form
CRM 3.0: Simple button next to a given field
Hello! The code below generates a simple button next to a given input field (let’s say, for instance, the Subject field on a task record). As simple as that. This is how a standard button is displayed by CRM. The basic magnifying glass on a lookup type field is an image from the standard images… Continue reading CRM 3.0: Simple button next to a given field