Hi,
Just ask, is 'addCustomFilter' working on Business Process Flow fields, in Customer Service hub?
I just tried and it is NOT working.
(working fine in traditional Dynamics 365 pages, so it should be not my codes problem)
Thanks a lot for any help.
My example codes:
Xrm.Page.getControl("header_process_parentaccountid").addPreSearch(addSiteFilter);
function addSiteFilter() {
var siteFetchQuery = "<filter type='and'><condition attribute='businesstypecode' operator='eq' value='515610000'/></filter>";
Xrm.Page.getControl("header_process_parentaccountid").addCustomFilter(siteFetchQuery);
}