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’. […]”
Category: CRM
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…
Microsoft CRM Google Maps integration tool
I’m proud to present a very useful tool – MSCRM Google Maps – developed by Wolter Kreun, a friend of mine, a tool that managed to bring together two strenghts: Microsoft Dynamics CRM and Google Maps.You can get a free sample from www.crmmaps.com and also see the latest news about it.The beta version of the… Continue reading Microsoft CRM Google Maps integration tool
Generating tooltips on certain events
A tooltip is a small box of explanatory text (usually on yellow background) that appears when the mouse pointer is held over a button or other interface element.In Microsoft Dynamics CRM we can define constraints (masks) on certain fields. It is desired that the user is well informed about the text’s format, in real time,… Continue reading Generating tooltips on certain events
How to retrieve the ID of a parent entity
I saw this topic several times in the Microsoft CRM Developer Community and I decided to share this line of code with you 🙂 Let’s take a simple example. We want to retrieve the Quote’s ID (guid) when we open the Quote Details form (pressing the New Quote Product on the Quote entity). All we… Continue reading How to retrieve the ID of a parent entity