Category Archives: MS CRM 4.0

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 »

Retrieve Account Related Activity

Sometime we need to get all activities related to specific account or contact. We can easily do this by Querying activitypointer entity based on regardingobjectID. you can use below function to get all activity related to account. You just need to pass Crm service object and Accountid to this function Public BusinessEntityCollection FetchActivityList(CrmService _Service,Guid AccountID) {        QueryExpression _Query =… Read more »

Code Generator Utility in New MS CRM SDK

Today I watched a great video in channel9, which details the new advanced Developer Extension features in new SDK released. The new SDK includes a code generator utility using which we don’t need to write number of lines of codes. You just need to run this utility and passing some parameters for example Authentication Type, server etc. This utility will… Read more »

Show Associated View in IFrame MS CRM 4.0

Some time we need to show associated view (1:N or N:N) in Iframe. I found a good article in https://community.dynamics.com/blogs/crmjimwang/comments/28067.aspx written by Jim Wang. After doing some little changes it worked like a charm for me. You can use this code for any associated view (1:N or N:N). You just need to get Left navigation item name that you can… Read more »

Filtered Lookup in MS CRM 4.0

MS CRM 4.0 does not provide filtered lookup facility, but we have some couple of options that we can use to implement filtered lookup in ms crm 4.0 like Change lookupsingle.aspx page                  http://crm.georged.id.au/post/2008/02/16/Filtering-lookup-data-in-CRM-4.aspx       2. Buy stunware filtered lookup tool              http://www.stunnware.com/default.aspx?area=products&group=fld4&subarea=fld4-download        3. Using JS Code                  http://advantageworks.blogspot.com/2008/02/pseudo-filtered-lookup-dialog-in.html         4. Writing plugin.                  http://mscrmfilteredlookup.codeplex.com/ You can choose option that suite… Read more »