[{"id":"7e3f7136-1a64-4958-84b8-24a4fbd2ef63","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"ab9ddf70-2472-43cc-94cd-2d03e0184d91","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"5e8a53c6-6b91-48cd-948d-406d4b128766","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"1acc9c3e-8bdd-4252-8798-4c4daf6db52c","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"074fc315-ff19-4be5-90ff-4fafbf049047","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"b94af2a4-df24-4732-825c-934150ecfcd3","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"985baaf2-5017-40cd-9cc9-b50fdb4b0b6c","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"fb2abd65-126a-4d70-9674-c1c331d2a4ad","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"cda48895-8088-4634-9e44-c92fdfbc024c","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]}]
        
(Showing Draft Content)

Expressions

There are two types of report items properties in ActiveReportsJS

  • Static properties - their values are known at design time and don't change at runtime
  • Dynamic properties - their values are calculated at runtime. Conditional formatting, page numbering, summary values, and other fundamental features are based on dynamic properties.

The value of a dynamic property at design-time is an expression which is a string that contains interpolations.

Interpolation Syntax

Interpolation is a string fragment wrapped {} that is evaluated at runtime and replaced with the calculation result. For example, you can use the following expression for the Rich Text Value property.

<p>Thank you for your purchase {name}!</p>
<p>Your order number is: #{orderID}</p>

The {name} and {orderID} are interpolations that use the data set field references. At runtime, they are replaced with the field values.

The interpolation syntax allows you to use the following features.

  • References are identifiers that are associated with various report elements.
  • Operators are used for calculation and comparison.