Specialized Administration > Supporting Visualization and Publishing > WVS Publish Rules > Evaluating Publish Rules > Introduction > Evaluating Publish Rules Logic > Step 11: Substitution of text values
  
Step 11: Substitution of text values
After the <param-set> elements have been processed and the parameter tables of Step 9 have been populated, the parameter values in the tables are scanned for Substitution Keys. A Substitution Key is a predefined sequence of characters (always beginning with an opening brace and ending with a closing brace) which, when encountered, is replaced with information shown in the table below.
Substitution Key
Data Substituted
{AUTHORING_APP}
Source EPMDocument's Authoring Application
{EPM_NAME}
Source EPMDocument's Name
{EPM_NUMBER}
Source EPMDocument's Number
{EPM_TYPE}
Source EPMDocument's Type
{OUTPUT_TYPE}
Value of 'output' attribute of <publish> element
{PARAM_SET_NAME}
Value of 'param-set' attribute of <publish> element
{PARAM_SET_REF_NAME}
Value of 'param-set-ref' attribute of <publish> element
{ADDITIONAL_FILE_PRIMARY_BASENAME}
Primary additional file's base name without the file extension
{ADDITIONAL_FILE_PRIMARY_EXTENSION}
Primary additional file's file extension
{ADDITIONAL_FILE_SECONDARY_BASENAME}
Secondary additional file's base name without the file extension. If there are multiple secondary files, then one is chosen randomly for this name.
{ADDITIONAL_FILE_SECONDARY_EXTENSION}
Secondary additional file's file extension. If there are multiple secondary files, then one is chosen randomly for this name.
For example, if the following elements were encountered in a <param-set>:
<post-publish name=”name”>{EPM_NUMBER} authored by
{AUTHORING_APP}</post-publish>
The name of the target Object would be something like the following. (In this example, the number of the EPMDocument is 000047.)
000047 authored by MY_AUTH_APP
Once all substitutions have been made, the parameter tables are associated with the Publish Job and evaluation returns to Step 8 to search for additional <publish> elements.