I have a child section(with two fields) in a Contact Section. In that section, I want to add customize search filter with a child entity column. So I got help from the support team like below:
- Secondly, into method getFilters() you should write the next script(example for OEMGroup):
var oemGroup = this.get("VistOEMGroup");
if (!oemGroup) {
filters.removeByKey("VistOEMGroupGroupFilter");
} else {
filters.add("VistOEMGroupGroupFilter",Terrasoft.createColumnFilterWithParameter(
Terrasoft.ComparisonType.EQUAL,"VistOEMGroup", oemGroup.value));
}
But I don't know that getFilters() method already exists or do I need to add this to 'methods'.
Please help.
Like
Please override the getFilters() method in the "methods" property. Please find more information about methods on academy by the link below: https://academy.bpmonline.com/documents/technic-sdk/7-13/methods-methods-property