Read Only Tab in CRM

Hi,

This is something i tried for setting all the fields within a tab as read only or disabled !

// get the div element corresponding to tab, first tab would have index Tab0, second as Tab1 and so on ..

var el=document.getElementById(‘Tab2’);

// create a recursive function

function toggleDisabled(el) {

try {

el.disabled = el.disabled ? false : true;

}

catch(E){}

if (el.childNodes && el.childNodes.length > 0) {

for (var x = 0; x < el.childNodes.length; x++) {

toggleDisabled(el.childNodes[x]);

}

}

}

// call the function

toggleDisabled(el);

To hide and setting a parituclar tab as default

http://mscrm4ever.blogspot.com/2008/09/crm-40-tab-how-to-tips.html

Bye…


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

1 thought on “Read Only Tab in CRM”

  1. Hi
    I have a requirement of displaying event in calendar in Dyanmics CRM 4.0. For Event entity I have rename the campaign entity to event so is there any possible ways to show event proposed start date and end date in existing calendar or do i need to create a new calendar and add it to CRM.
    my email id is rajeshsinha24@ymail.com
    Plz help.

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s