Hi,
I Want to apply a custom filter to the field "to" of phone call activity. The idea is to dispaly only the contacts related to a company.
I used a javascript code in order to achieve this, but it looks like the filter doesn't apply.
Here is my code :
addLookupFilter = function(_context) {
var fetchXml = "";
_context.getControl("to").addCustomFilter(fetchXml, "contact");
}
formContext.getControl("to").addPreSearch(function () {
addLookupFilter(formContext);
});
Thanks,
Hicham