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
Category: Microsoft
MS CRM 3.0 “Expected ‘}’” and “Object expected” errors
Hello, there 🙂 Have you ever encountered this situation? You write some decent, valid JS code, throw it inside a CRM field event box, Save & Close x2, publish, test, BAM!-error? Well, provided your code is actually correct (no logical, typing or access errors), you should check the next thing. In CRM 3.0 at least… Continue reading MS CRM 3.0 “Expected ‘}’” and “Object expected” errors
CRM 4.0 Server – Hardcore Installing
There are moments when installing the Microsoft CRM 4.0 Server can be a real pain, if your Organization doesn’t offer you full “trust” in its AD (Active Directory). After some digging, finally found a working solution (start to end :P): step 1: Find a nice Active Directory Admin to manually create 5 groups for you… Continue reading CRM 4.0 Server – Hardcore Installing
WSDL Error: “Schema item ‘element’ named ‘string’ from namespace ‘http://schemas.microsoft.com/crm/2006/WebServices’. […]”
Hey, Have you ever encountered the following error?“Schema item ‘element’ named ‘string’ from namespace ‘http://schemas.microsoft.com/crm/2006/WebServices’. The global element ‘http://schemas.microsoft.com/crm/2006/WebServices:string’ has already been declared.” That’s what I got when I update my webservice references. Totally nagging and a real pain. That error prevented me from being able to access all the custom fields I created on… Continue reading WSDL Error: “Schema item ‘element’ named ‘string’ from namespace ‘http://schemas.microsoft.com/crm/2006/WebServices’. […]”
How to extract Email attachments IDs (CRM 3.0)
Howdy, At some point, I was requested by a manager to extend the functionality of the email entity (multiplying the number of messages sent) and I came across the attachment side. The following function is my solution to the occurring issue: // Author: Octavian Cucuta ( octavian.cucuta [ AT ] gmail.com )// Release: 1.0.0.1 (… Continue reading How to extract Email attachments IDs (CRM 3.0)
JavaScript code reuse in CRM
In most of the cases, you don’t want to copy-paste your custom methods in your CRM events source code each time you need them. So, here’s an easy approach on javascript code reuse in CRM. First of all, make sure you have these 2 files: LargeNumber.js and StringsExtended.js located in a custom folder – named… Continue reading JavaScript code reuse in CRM
OnChange Event
When starting to work with CRM, one of the first things you learn is how to put some script on the onChange event. It’s easy to do this and it really works. Let’s say you want to fire that script at the first moment your page is loaded.In CRM 3.0 you could do that writing… Continue reading OnChange Event
An easier way to hide or show a certain field in CRM
Simply use the function below: // Shows or hides a certain fieldfunction HandleField(field, display) { document.getElementById(field+”_c”).style.display = display; document.getElementById(field+”_d”).style.display = display;}/* Calling */HandleField(“fieldid”, “inline”); // show inlineHandleField(“fieldid”, “block”); // show blockHandleField(“fieldid”, “none”); // hide
Create a button on your form
This is an example on how to create a button on the form, based on a former idea of Cornel. First of all we need to create a nvarchar attribute and put it on the form where we want our button. I assume that everybody knows how to create an attribute and put in on… Continue reading Create a button on your form
Back…
Well, like I said, I’m back in business and I promise that asap I’ll post a few useful ideas. I’d like to think that 2008 will be the year of CRM in Romania and not only, as MS Dynamics CRM Titan will replace, step by step, CRM 3.0. Stay tuned… P.S. Thanks Microsoft for the… Continue reading Back…