Hi All,
Display the View
based on the role and View
if (document.getElementById('crmGrid') && document.getElementById('crmGrid').GetParameter('viewid')) {
var
currViewId = document.getElementById('crmGrid').GetParameter('viewid');
if
(currViewId) {
var viewName = getTheViewName(currViewId);
if (viewName) {
if (viewName.toLowerCase() == "Customer Name") {
return true;
}
Else
{
return false;
}
}
}
}
function getTheViewName()
{
//get the
View Name based on Role
}
No comments:
Post a Comment