Filter for Owner field

I have created a new Section using Section Wizard. I have added an Owner field there (UsrOwner) which has the Contacts lookup as a Data Source, and or course, I get the full Contacts list available for selection. How can I add a filter for this field. I am using BPMOnline Sales 7.5.0.627

File attachments

Like

2 comments

Hi Richard,

You need to add dependencies to BaseFiltersGenerateModule:

define("InvoicePageV2", ["BaseFiltersGenerateModule", ...],

        function(BaseFiltersGenerateModule, ...) {

and into the attributes:

attributes: {

        "UsrOwner": {

                dataValueType: Terrasoft.DataValueType.LOOKUP,

                lookupListConfig: {filter:BaseFiltersGenerateModule.OwnerFilter}

        },

        ...

Thank you, Olly!

Show all comments