In Activity we wanted to filter owner field . currently all users are showing in the list but we need only to show active users ?
I try to add an attribute in the ActivityPageV2 but it does not work unlike in the contact section
attributes: {
"Owner": {
// Attribute data type.
"dataValueType": Terrasoft.DataValueType.LOOKUP,
"lookupListConfig": {
"filters": [
function() {
var filterGroup = Ext.create("Terrasoft.FilterGroup");
filterGroup.add("IsUser",Terrasoft.createColumnIsNotNullFilter("[SysAdminUnit:Contact].Id"));
filterGroup.add("IsActive",
Terrasoft.createColumnFilterWithParameter(Terrasoft.ComparisonType.EQUAL,"[SysAdminUnit:Contact].Active",true));
return filterGroup;
}
]
}
},
},