Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section explains each of the XML elements and attributes in a design file and how they relate to the settings in the Domain Data Source Designer. Some elements have been added to show structures that did not appear in the example.

Because certain XML elements correspond to objects in the Domain Data Source design, this section refers to XML elements that contain Domain Data Source objects such as sets. This is a short-hand description that means the XML elements contain other XML elements that represent the Domain Data Source objects. 

These definitions in the design correspond to the first five tabs of the Domain Data Source Designer: 


Because the elements under resources refer to database objects, they must be externally consistent with the data source intended for this DomainData Source.
 
 

The DomEL Syntax

Various components of a Domain Data Source need to compute values based on some expression involving constants, field values, and environment variables. The Domain Data Source Expression Language (DomEL) was created to fill this need. Currently, the following features in XML design files are expressed in DomEL:

  • The "on" and "where" clauses of derived tables 

  • The "on" clause of join statements 

  • Calculated fields 

  • Filter expressions in Domains Data Sources and Domain Data Source topics (equivalent to "where" clauses) 

  • The "testProfileAttribute" function 

  • Row-level security

DomEL expression is a shorthand way of writing a complex query. When processing a report based on a DomainData Source, the server interprets DomEL expressions to generate parts of the SQL expression that perform the desired query. Depending on the data policy, either the augmented SQL is passed to the data source, or the server performs a simpler query and applies the DomEL expressions to the full dataset in memory.