[{"id":"26713f3d-fbf1-4c9c-bdbe-31fb188e7096","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"af5bd81a-b6cd-410b-84b4-9de9c51c3a7d","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"86b2a642-0ee8-4605-b04d-e7e0ec019e01","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]}]
        
(Showing Draft Content)

References

References are identifiers that are associated with various report elements.

Data Set Fields

A data set field can be referenced by its name, for example {UnitPrice}. At runtime, it is replaced with the field value in the current scope, such as a Table Row.

Parameters

A report parameters can be referenced by its name prefixed with the @ character, for example, {@OrderId}. At runtime, it is replaced with the parameter value.

Global Values

A global value is one of the following expressions.

  • {&ReportName} - returns the name of a report template.

  • {&ExecutionTime} - returns the current date and time.

For example, the Report Generated at {&ExecutionTime} can display the timestamp of the report output.

Page Numbering

There are two types of page numbering in ActiveReportsJS reports.

  • Global page numbering is applicable for the entire report.

  • Local page numbering is applicable for a data region or its group, such as a Table Group. You can set the New Section property of a data region or grouping to True so that they produce independent page numbering.

The following expressions can be used to display global or local page numbering.

  • {&PageNumber} - returns the current global page number.

  • {&TotalPages} - returns the global number of pages in the report output.

  • {&PageNumberInSection} - returns the local page number of a data region or group instance.

  • {&TotalPagesInSection} - returns the local number of pages in a data region or group instance.

For example, the Page {&PageNumber} of {&TotalPages} expression evaluates to strings like Page 1 of 10 at runtime.