Like what you see? Have a play with our trial version.

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Anchor
top
top

Table of Contents
classcontents

Overview

Styleclass
ClasstopLink

top

In order to ensure that User Prompt filter value selection is as easy as possible for the user, it's a good idea to cache your filters, creating lists, rather than prompting them to enter values manually. It's also helpful to create dependencies between filters that are related.

For example, if you have a Product Type and Product Code filter, making the Product Code dependent on Product Type will allow the user to nominate a type, and only see the products that belong to that type, rather than the whole list.

Setup

Styleclass
ClasstopLink

top

  1. Add the required filters to your report
    1. Make sure the filters are listed in order of dependency; this will make it clearer to the user.
    2. Leave the filters as User Prompt so they are available for the user.

      In this example, we've used the Camp Region, Camp Country, and Camp Name as filters, all set to In List in order to allow the user to select multiple values if required.
  2. Cache the top level filter of the dependency structure
    1. On the Data or Output step, click on the Filter Formatting menu at the top of the menu ribbon.
    2. Select the top level filter from the drop down list provided.
    3. Open the Entry Style menu, set the Entry Type to Value List Selection, and the values to be Cached Values.
    4. Click Refresh Now to generate a list of values for the filter.
  3. Set the second level filter to be dependent on the top.
    1. While in the Filter Formatting menu, select the second level filter from the filters list on the left.
    2. Open the Display menu and set the Display Dependent On value to the top level filter.
  4. Cache the second level filter as before
    1. Repeat step 2 instructions for this filter

      Note: when the dependency and caching is set up correctly, the second filter will be hidden until a value for the first filter has been selected. Each time values for the first filter are changed, the second filter value list should be refreshed.
  5. Set the dependency for remaining levels
    1. For each of the remaining filter levels, you will need set the dependency to the filter level directly above it, and then cache the filter.


      Once you've completed these steps, you should have filters available on your report that should display once the level above has a selection, and should refresh when that selection is changed.

Use

Styleclass
ClasstopLink

top

In this example, Europe has been selected as the Region, and the Countries there are records in the database for have been displayed in the second level filter.

Next, Germany has been selected as the Country, so all the sites within Germany have been displayed.

Finally, the user defines which sites they wish to view and applies the filters.

 

horizontalrule
Styleclass
ClasstopLink

top