Accessing results page configuration keys from template
This article provides an example of how to use results page configuration keys in your search templates.
Results page configuration keys
Results page configuration keys are the settings set via the edit results page configuration screen in the search dashboard.
The set of keys include those set within the results page configuration, plus those keys inherited from the search package, global and default configuration.
Access a key from a Freemarker template
Configuration keys are accessed using the following function:
Example: Use a configuration key as a conditional
<#if question.collection.configuration.value("user.type") == "staff"> [Conditional code] </#if>