Report Constants are shared values that do not alter during execution and are used in Report Fields throughout the Report.
Constants are declared globally or by specifying a shared Report RDL File.
To add, edit or insert a Report Constant click on the Report Designer tree-view and select the Report Constants node and then click the menu Edit | New, Insert or Edit Constant.
Report Constants can be used if content is common or shared between multiple elements in the Report.
Report Constants exported using the Export Wizard can also be reused as a shared Resource File.
Click the Constants File (...) property button to specify the URI File or URI Query for shared Report Constants.
Content Types
Content Types can be either a Literal or a File for the Report Constant. If the Content Type is a File the content for the Report Constant is read from the specified File URI.
Constants File
The Constants File represents a list of shared Report Constants exported or saved as Report RDL elements which can be reused and shared between other Reports.
File URI's
Report File URI's are expressed as Uniform Resource Identifiers (URI) and can be either a Literal or a Query to specify the location of the File Resource. Literal values are constants that are determined by the URI File property.
Query based URI's are determined by the result of the URI Query which can be a series of XQuery or Python statements to specify the location of the File URI.
Report Caching
Report elements can cached to improve the speed and performance of Report builds. Caching stores a copy in memory of frequently used content instead of reading the file directly from disk.
Report Namespaces are used for providing uniquely named elements and attributes and is a mechanism to avoid name conflicts by differentiating elements or attributes within an XML document that may have identical names, but different definitions. If the Report Data Source contains namespaces they can be applied to the XQuery Processor.