How to Add Lenses on an Existing (Older) App
CompletedThe functionality of lenses allows for saved filters within reports, meaning that you have multiple versions of the one report with the required filters.
On an existing (older) app, you may need to enable a few features in App Studio in order to use Quickfilters and the saved filters (lenses).
You will need to ensure that Quickfilters are enabled on your site (for new sites, this will be an automatic feature).
Go to the desired app and open up the filters section of the reports folder:
Open the Filters Configuration template and click the toggle to Use the New Filters:
To the Sorting & Grouping template, add in the fields that you want to be able to filter by in reports as shown:
This will only allow for the fields to be sorted and grouped, you will need to add the fields that you want to filter to the Default Filter Fields template as well:
So far, you will have just created the possibility of filtering and not the saved filters, called lenses.
To do this, open the report that you would like the filters on - this will need to be a list or table report.
Scroll down to the templates at the bottom and find the Lenses template and open this like so:
This will then allow you to add a Lens. When you click add, an edit box will appear where you can choose the field that you want to group or sort by as well as the filter:
This will show up as an option underneath the original report when you go into Workspace - which will look like this:
For newer apps, this will be an automatic feature!
Hope this helped :)
Please sign in to leave a comment.
Comments
0 comments