You may wish to load a View with filters
pre-applied. This can be
achieved using URL variables.
For example,
https://www.yoursite.org/search?query=vegetables&category=celery
Where category is the name of
your filter group [See Figure 1] and celery is one of the available
values under that group. Note that values, celery in the example above, are case sensitive.
Figure 1
Dealing with Multiple Pre-Applied
Filters
Specify multiple available
values [See Figure 1] with addtional parameters. For example:
https://www.yoursite.org/search?query=vegetables&category=celery&category=carrots
In this example, both
'celery' and 'carrots' will
be pre-applied when
the FUSE View loads.
You can also apply multiple filter
groups [See Figure 1] using an
ampersand ('&'). For
example:
https://www.yoursite.org/search?query=vegetables&category=celery&category=carrots&color=green
In this example. one filter group is
called category and another is called color. Both are added as URL
variables
which result in 'celery' and 'carrots' under category and 'green' under color being
pre-applied when the FUSE View
loads.
Note that values (e.g. celery, carrots, green) are case sensitive. We suggest you copy/paste the values directly from the display [See Figure 1 for an example] to ensure accuracy.
Dealing with Special Characters
For filter group names or filter available values [See Figure
1] that have
spaces, commas, ampersands, accents, or similar, one must encode the URL. Where:
Webinars on Demand & More
becomes
Webinars%20on%20Demand%20%26%20More
Note: your browser will encode spaces in URLs for you - no need to do it by hand. Simply copy
and paste something like https://www.yoursite.org/Webinars on Demand
& More into your address bar and
your browser will return the URL with spaces encoded
— https://www.yoursite.org/Webinars%20on%20Demand%20&%20More.
For all other characters, however, you'll need to encode them. In the example above, the ampersand ('&') gets encoded in the URL as '%26' — https://www.yoursite.org/Webinars%20on%20Demand%20%26%20More.
You can use a tool like url-encode-decode.com to do the work for you or reach out to FUSE Support for assistance.