Category Archives: MS CRM 4.0

Remove Picklist option based on Security Roles

Most of the client asks for this requirement. They want to hide picklist options based on security roles. Let’s take an example for this, for example if we have picklist “Customer Status” having four option like “Request for Approve”,”Approved”,”Rejected”,”Black Listed”. Let’s say we have requirement to show only first option to all users having security roles other then “System Admin”…. Read more »

"This control only accepts strings or null as input" error message

when you will try to assign integer value to nvarchar attribute in MS CRM like below var IntVal=10; Let’s say we have one field named “ABC” having nvarchar datatype crmForm.all.ABC.DataValue=IntVal; you will get error “This control only accepts strings or null as input”. to solve this issue you can use toString() method of JS like below crmForm.all.ABC.DataValue=IntVal.toString(); Enjoy !!!

New MS CRM 4.0 VPC

I know most the developers use CRM VPC for their development work, so I thought to provide them link to download latest MS CRM 4.0 VPC, But remember you can download it only if you are microsoft partner Here are the link for download CRM 4 July 2010 VPC.part01.exe  CRM 4 July 2010 VPC.part02.rar CRM 4 July 2010 VPC.part03.rar CRM 4 July… Read more »

Dynamics CRM Development Part – 2

After creating CRM environment, now it’s time to start our development.Sometime we need to implement some new functionality in CRM that CRM does not provide OOB. Then crm customization and development comes in picture, so basically we can say that CRM development is a result of our CRM Extension plan. Dynamics CRM is a highly extendable application, we can extend it… Read more »

Change CRM Field and Section Label at Runtime

Some time we need to change CRM field label at runtime. This can be easily implemented through JS code. You can change like below crmForm.all.FieldName_c.innerText=”New Label”; you can include this code on any form event based on your requirement. I got one question on CRM Forum where user need to change CRM field label at runtime based on Picklist value. For… Read more »

Dynamics CRM Development Part – 1

How to Create Development Environment for Dynamics CRM 4.0?? What are the software and Hardware Requirement for Dynamics CRM 4.0?? How to start Dynamics CRM 4.0 Development ?? Where we need to code in Dynamics CRM 4.0 Development ?? What language we can use in Dynamics CRM 4.0 Development ?? What are the libraries available for Dynamics CRM 4.0 Development??… Read more »

Create Cutom Button In CRM without using ISVconfig

We know that we can create Custom ISV button on entity toolbar, but if you want you can also create a Hyperlink button on entity toolbar using DOM without using ISV config file,also can call your JS function on your on form onload on click of that.Before starting this let’s first check structure of  crmMenuBar ( In my example I am creating… Read more »

Format Left Navigation Item

Today I found one question in MS CRM Development Forum to format Left navigation item, we can easily do this with JS. Just use below code on form load. I have tested this in contact form to form “More Addresses” var Item=document.getElementById(‘navAddresses’); if(Item!=null){ Item.style.fontWeight = ‘bold’; Item.style.color = ‘#ff0000’;} and result will be  as below

Hide MS CRM 4.0 Grid Button

I am regular visitor of ms CRM forums, I found this question many times, to hide MS CRM gird button. Which cannot be implemented through supported customization. We can implement this through unsupported customization. For example we want to hide assign button on opportunity grid toolbar. So we can do this by writing script to hide this button on Homepage.aspx… Read more »