How can I enable filters without using a view when opening a list screen?
Answer¶
Use "Script".
Overview¶
If you want to display the list screen with filter search conditions entered without using a view, you can do so with "Script".
Operation Procedure¶
Create a new "Script" and write the following script. Check "List" as the output destination and update.
Example 1. When Filtering By "Incomplete"¶
JavaScript¶
$(function () {
// The id of the filter "Incomplete" is "ViewFilters_Incomplete"
$p.set($('#ViewFilters_Incomplete'),'1');
$p.send($('#ViewFilters_Incomplete'));
});
Result¶
Example 2. When Filtering By "Status" "Not started (100)" "In progress (200)"¶
JavaScript¶
$(function () {
// The id of the filter "Status" is "ViewFilters__Status"
$p.set($('#ViewFilters__Status'),'["100","200"]');
$p.send($('#ViewFilters__Status'));
});

