Top of COR | Index | Table of Contents | Feedback | ![]() |
A Substitution Tag can be defined as a static or dynamic image, or a link to the database using an SQL query. Substitution Tags are used within Communication Types to insert data or an image into a static template. This data is not actually inserted at the time of defining the Communication Type, but rather it is evaluated at runtime when the Communication Type is used to produce a Communication Item.
Communication tags can work at a number of levels and how values are derived in this process is described on the Substitution Tag Hierarchy page.
Substitution Tags defined here will be available for selection in pages such as CORW0500 and CORW0600. For more information, see the 'Related Pages' section, below.
A list of Substitution Tag records is displayed when CORW0400 is first accessed. For a description of how to organise a list such as this, see the Working with Callista Lists Help page.
Use the New Substitution Tag page to create a new Substitution Tag. It is accessed via the New icon on the Substitution Tags page.
To edit a Substitution Tag, click on the required Substitution Tag name in the table on the Substitution Tags page. The Substitution Tag's details are then displayed on a new page.
This section contains:
The fields in this table are required for all types of Substitution Tags.
Field | Description | |
Substitution Tag | Name of the Substitution Tag. This is later used in Communication templates. SUBSTITUTION_VARIABLE.SUBSTITUTION_VARIABLE |
|
Description | The description of the content or use of the Substitution Tag. SUBSTITUTION_VARIABLE.DESCRIPTION |
|
Context for use | The System Communication Type context to be used for the Substitution Tag. This is a poplist with values such as AHEGS, APAGENT, APPLCNTAG, APPLICANT, PERSON, PROPOSAL, WORKFLOW. SUBSTITUTION_VARIABLE.S_COMMUNICATION_TYPE_CONTEXT |
|
Communication Category | Communication category for this tag. Communication categories are defined in CORW0600 and can be used to group Substitution Tags and Communication Templates that are used for similar reasons. COMMUNICATION_CATEGORY.COMMUNICATION_CATEGORY |
|
Tag type | The source from which a Substitution Tag is derived, which could be from the database query or an image. Select 'Image', Dynamic Image' or 'Query'. The values determine if the tag will be replaced by a static image or data/image determined by an SQL query. The value selected here determines which fields are displayed below. SUBSTITUTION_VARIABLE.SUBSTITUTION_SRC |
Select the Radio button for the required Tag Type. This may be Image, Dynamic Image or Database Query.
The fields displayed are different for each type of tag.
COMMUNICATION TYPE CONTEXT | CONTEXT VARIABLE |
APAGENT | P_PERSON_ID |
P_AGENT_APPLICANT_ID | |
APPLCNTAG | P_APPLICANT_ID |
P_AGENT_PERSON_ID | |
AHEGS | P_CERT_DT |
P_PERSON_ID | |
P_AWARD_CD | |
P_AWARD_COURSE_CD | |
P_COURSE_CD | |
APPLICANT | P_APPLICANT_ID |
PERSON | P_PERSON_ID |
PROPOSAL | P_PROPOSAL_ID |
P_PERSON_ID | |
WORKFLOW | P_WORKFLOW_ID |
P_PERSON_ID |
Note that if the number of key columns values is different to the number of key values, then the folloiwng message is generated: 'Invalid key columns or paired values'.
The Source Table, Source Column, Key Columns and Key Values are used to compose an SQL query as follows:
Select <Source Column> from <Source Table>
Where <Key Column> = <Key Value>
For example:
Select PERSON_IMAGE from PERSON_IMAGE
where PERSON_ID = :p_person_id
Where there are more than one Key Column and Key Value values, the SQL query will be:
Select <Source Column)> from <Source Table>
Where <Key Column 1> = <Key Value 1>
and <Key Column 2> = <Key Value 2>
and ...
To test that the Source Details are valid, click on the Verify Image Source button.
If an image is found then the Valid lamp is displayed. If not then an Invalid Source Table, Invalid Source Column or Invalid key columns lamp will display, depending upon the problem identified.
Field: | Description: |
Parent Substitution Tag (For SQL and Dynamic Image queries only) |
This field defines name of the substitution tag that is the parent of the current tag in the hierarchy. SUBSTITUTION_VARIABLE.PARENT_SUBSTITUTION_VARIABLE |
Context Parameter Name (For SQL queries only) |
When a tag is used as a parent substitution tag then the system needs to pass the value derived from the parent to all of the child tags as additional context. SUBSTITUTION_VARIABLE.CONTEXT_PARAM_NAME |
Multi value delimiter (For SQL queries only) |
For SQL queries that return more than one row of results, the system uses the value defined in this field to separate the value from each row. SUBSTITUTION_VARIABLE.MULTI_VALUE_DELIMITER |
Query Value (For SQL queries only) |
This is the actual query that will be executed when the tag is used at runtime. SUBSTITUTION_VARIABLE.QUERY_VALUE |
Child Substitution Tags (For SQL queries only) |
Add a Substitution Tag to act as a child tag or search for tags which have already been related as child tags. |
Image File (For Image queries only) |
Browse for the required image. SUBSTITUTION_VARIABLE.IMAGE_VALUE |
Dynamic Image Table (For SQL queries only) |
This is the actual query that will be executed when the tag is used at runtime. SUBSTITUTION_VARIABLE.DYNAMIC_IMAGE_TABLE |
Dynamic Image Source Column (For Dynamic Images only) |
The table from which the dynamic image is sourced. SUBSTITUTION_VARIABLE.DYNAMIC_IMAGE_SOURCE_COLUMN |
Dynamic Image Key Column (For Dynamic Images only) |
The key column/s (comma separated) required to source a single image. SUBSTITUTION_VARIABLE.DYNAMIC_IMAGE_KEY_COLUMN |
Dynamic Image Key Values (For Dynamic Images only) |
The key values (comma separated) required to source a single image (must match the key columns selected). SUBSTITUTION_VARIABLE.DYNAMIC_IMAGE_KEY_VALUE |
Substitution Tags can be related to each other in Parent-Child relationships.
[Image as of August 2011]
This is the Parent Substitution Tag field in CORW0400. Use the poplist to select the parent tag.
Select a Parent Substitution Tag to make the current Substitution Tag becomes a child of that Substitution Tag.
The Parent Substitution Tag can viewed as the context record by clicking on the link adjacent to Parent Substitution Tag field.
A tag and its parent must have the same context for use.
[Image as of August 2011]
The Child Substitution Tag section in CORW0400 displays a list of child tags. This list can be edited on this page.
Click on the Add button and use the 'Search and Select Child Substitution Tag' pop-up window to select Substitution Tags to be included as child tags of the current record.
The Child Substitution Tag can be viewed as the context record by clicking on the name of the child Substitution Tag.
A tag and its child must have the same context for use.
Communication tags can work at a number of levels and how values are derived in this process is described on the Substitution Tag Hierarchy page.
For more information about the Communication process see Understanding Communication.
Last modified on 31 May, 2012 2:44 PM
History Information
Release Version | Project | Change to Document |
15.0 | 1722 - 11g Upgrade | Updating/merging Help pages for 11g upgrade. |
13.0.0.2 | 1785 - Dynamic Image Substitution Tags | Added Dynamic Image section |
12.1.1 | 1580 - Communication | New page |