Friday, July 11, 2008

Set phone call activity default in Activity and show phonecall views in view

function window.onload()
{
HandleBackButtonIssues("activities");
AdjustForWindowSize();
window.attachEvent("onresize", AdjustForWindowSize);
crmTypeSelector.DataValue = "phonecall";//add this lines
OnActivityTypeChange(crmTypeSelector);//add this lines
}

Microsoft CRM\CRMWeb\Workplace\home_activities.aspx page