Retrieving Data from Child Objects
There are two tags used to retrieve data from child objects:
tc:search
,
used to automatically retrieve data from child object records.tc:filter
,
used to define a screen where the end user selects the child object record(s) to be included in the document.
Automatically
The following sample is used to retrieve data from all child claims of a parent policy. In addition, it retrieves the vehicles damaged in the accident of each claim. Vehicle is an embedded object of Claim. Notice that tc:search is nested within another tc:search tag.
Policy Information Policy Number: Insured: |
|
Retrieving Specific Type of Child Records with tc:conditional |
Claim Information (Child of Policy) Claim Name: Claim Number: Assignees: Name, Date Assigned Main Assignee: Vehicle Information VIN: Make: Year: Damage: |
User Selected
This sample utilizes the tc:filter tag to retrieve data from the user selected child record(s). This sample retrieves data from:
- System fields from policy record.
- User-selected assignee(s) of the policy record.
- User-selected claim record.
- User-selected assignee(s) of the selected claim record.
- User-selected involved contact(s) of the selected claim record.
Header |
|
Content |
Policy Number: Insured Information First Name: Last Name:
Assignee Information First Name: Last Name: Role:
Claim Number: Assignees First Name: Last Name: Assigned On: Role: Main Assignee:
Involved Parties First Name: Last Name: Roles: |