12 Ocak 2011 Çarşamba

Microsoft CRM: Filter On: Last 30 days

I have been asked how to change the default Filter On from 'Last 30 days' to 'All' in History associated view.

Micrsoft CRM doesn't provide this customisation, and there are no good solutions on the Internet. After 3 hours research for the source, I found a simple solution:
The file you need to modify is: \CRMWeb\_controls\AppGridFilterContainer\AppGridFilterContainer.htc

Open the file by notepad, and search the string : oCallback(oCtrl);
Just add some code above it:


if(oCtrl.DataValue=="LastXDays;30")
{
oCtrl.DataValue = "All";
RefreshGridView();
}

oCallback(oCtrl);


Save and Close, that's it. Next time when you open History, you will see the change.


microsoft crm certification |dynamics crm training |act contact management |bpm |erp crm |

Hiç yorum yok:

Yorum Gönder