Skip to content

Options statement

Starting from version 3.6, a new options statement allows you to specify some query options.

<options>
<DefaultParameterValues>
<Parameter Name="parameterName">parameterValue</Parameter>
...
</DefaultParameterValues>
</options>

The DefaultParameterValues element allows you to specify default values for parameters.

This element is particularly useful when you are using parameters inside the title and relativeSiteUrl attributes. Due to some limitations of the report designer, you are being prompted for specifying the values for retrieving the list schema at different stages of the design process. By specifying default values, you won’t be prompted anymore for those parameters.