Question

FIXED FILTER on section

Hi community,

 

Is it possible to add a fixed filter for a text field ?

Like 0

Like

6 comments

Hello Stefano,

 

Fixed filter in section cannot be added with a help of basic system tools, but only with a help of development.

I would suggest to check  the below post for guidance and implementation example:

https://community.creatio.com/questions/default-filter-section

 

Best regards,

Anastasiia

Anastasiia Zhuravel,

Hello Anastasiia,

I would like to add a text box filter field that the user can compile or not 

Stefano Bassoli,

 

Hi, 

Could you please elaborate a bit on your business task? Can you share a screenshot of the desirable result or an example of such filter in a system?

If I may refer to the subject of your post "FIXED FILTER ON SECTION", then this functionality can be achieved with a help of development as described in the post shared in my previous comment.

 

Best regards,

Anastasiia

 

Anastasiia Zhuravel,

Hi,

I attached a screenshot.

The end-user uses frequently a quick filter on a text field, is it possible to make fixed ?

Hi Community! How are you? 

Could you solve this problem? On our side we need to do something similar.

Thank you in advance

Uriel Nusenbaum,



The below can be added to your schema to have a custom Fixed Filter (and customize based on the filter need).



https://academy.creatio.com/docs/developer/interface_elements/section/set_up_quick_filter_block

define("ContactSectionV2", [], function() {
    return {
        entitySchemaName: "Contact",
        methods: {
            initFixedFiltersConfig: function () {
                var fixedFilterConfig = {
                    entitySchema: "ContactType",
                    filters: [
                        {
                            name: "TypeFilter",
                            columnName: "Type",
                            caption: this.get("Resources.Strings.ContactTypeFilterCaption"),
                            dataValueType: this.Terrasoft.DataValueType.LOOKUP,
                            appendCurrentContactMenuItem: false,
                            addNewFilterCaption: this.get("Resources.Strings.SelectContactTypeCaption"),
                            hint: this.get("Resources.Strings.SelectContactTypeCaption"),
                            buttonImageConfig: this.get("Resources.Images.ContactTypeFilterImage")
                        }
                    ]
                };
                this.set("FixedFilterConfig", fixedFilterConfig);
            }
        }
    };
});

 

 

BR,

Bhoobalan Palanivelu.

Show all comments