Tech Support > Microsoft Windows > Windows CRM > How to Make Activity Associated View Default to "All"
How to Make Activity Associated View Default to "All"
Posted by jeffreye@gmail.com on September 8th, 2006


1.) Backup Global.js file here <crm server>\wwwroot\_common\scripts
2.) Open Global.js file here <crm server>\wwwroot\_common\scripts
3.) Past the Code Below into the top portion right under the
declarations
4.) Save, All pages update automatically to the last option, when the
page loads for the first time.

// Added to Make the Actvities Sort to 'All'
function Activity(object)
{
if(object != null)
{
object.selectedIndex = object.options.length - 1;
object.fireEvent('onchange');
}
}

// Added to Make the Actvities Sort to 'All'
function window.onload()
{
Activity(document.getElementById('actualend'));
Activity(document.getElementById('scheduledend'));
}