How do I add a custom filter to my view using scripting?
Custom Filters are a set of named criteria that allows you to select only specific entries in a view. Default filters will be created for single-select, multi-select and date fields. You can create custom filters with AND/OR operators or a combination of both, using Deluge Scripting.
The following code is the view definition of Application Form View. The custom filter named "Diploma/PostGraduate" is created with the required criteria. This filter will be listed in the Filter list box in your view.
list "Application Form View"
{
show all rows from Application_Form
(
Name
DOB
EducationalQualification
Experience
)
filters
(
"Diploma/PostGraduate" : ((EducationalQualification == "Diploma" && Experience == "2 years")
|| EducationalQualification == "PostGraduate")
)
}
Related Articles
Custom View
Customize the work items based on specific criteria and save these work items across different views. You can access custom views only if you are on the Professional plan. All the users in the team can access custom views irrespective of their ...
Using Custom Buttons
Customization is the most powerful way to build a flexible CRM system. In Zoho CRM, you can customize modules, fields, pages, links, and a lot of other elements. In addition to these elements, Zoho CRM now allows you to create new button actions with ...
Task custom view
Task custom view is an option to customize and filter your tasks based on specific criteria. For example, if Helen is assigned to the design department, she can customize her view so that she will see all of the tasks specific to the design ...
Save custom view
Save custom views You can now save your filter selection to an existing custom view or save it as a new custom view. To do this, first select your filters: Select the required custom view. Click . Choose the required filter options and select Find. ...
Create custom view
You can customize your view based on specific criteria. Feature Availability: Express, Premium, and Enterprise plans. Click on the current view and select Create Custom View. Set up the desired criteria to create the custom view. You can click to ...