Profile list: How to display all users

Profile list: How to display all users

 Problem

I want to use the “Profile List” macro to display a table of data for all users so staff can easily see names, emails, phones, etc. However, the filter criteria require me to enter something, and I cannot leave it blank to get the full list. (Using an “*” to get everything doesn’t work either.)

Solution

What you need here is a range query, specifically

[a TO zzzzzzzz]

The number of "z" might be confusing. This is necessary to ensure that names that start with a Z are found as well. For good measure, you can add a bit more Z to long names.

For further help on the Lucene query syntax, check out this tutorial.

Related Articles