You can use a function to define the value of a template placeholder.

Several predefined functions are available. You can, for example, use a function to do a calculation, to set a date or time, or to set a specific value.
Some of the functions have one or more parameters. To set a parameter value, you can enter a fixed value or add a table field.
For a parameter, you can enter a table field of:
  • A predefined set of tables:
    • Attachment
      You can use the Logo file path of the related label to find the logo to be inserted. The related label is set for the relevant document type perspective communication profile of type Label.
    • Label
      You can use field values of the related label. The related label is set for the relevant document type perspective communication profile of type Label.
    • Recipient
      You can use field values of the related recipient. The related recipient is defined by either the Data source name/Field name combination or the Data source name/Scenario combination as set for the relevant document type perspective communication profile of type To.
    • Sender
      You can use field values of the related sender. The related sender is set for the relevant document type perspective communication profile of type From.
    • TextBlock
      You can only use text blocks that are defined for the related document type perspective.
    • TextFragment
      You can only use text fragments that are defined for the related document type perspective.
    • UserNotes
      You can only use user notes that are defined for the related document type perspective.
  • The tables as defined for the related query. You can only add a table field that is also defined in the query. The applicable query is defined by the related document type perspective.
Note: Before you can enter a table field from a query, a text block, or a text fragment, link the template to the document type perspective communication profile of type Output type.


Standard procedure

1. Click Action and document management design.
2. Click Templates.
3. In the Templates list, find and select the desired record.
4. In the Placeholders section, in the list, find and select the desired record.
5. Click Add function.
6. In the Function field, enter or select a value. As an example, select: (sum(Real,Real)).
7. Sub-task: Define parameter.
  7.1 Some of the functions have one or more parameters. Set the parameter value in the Method name field. To set a parameter value, you can enter a fixed value or add a table field.
The next steps show how to add a table field.
  In the parameters list, find and select the desired record.
  7.2 Click Add table field to open the drop dialog.
  7.3 In the Data source field, enter or select a value.
  7.4 In the Field name field, enter or select a value.
  7.5 Click OK.
8. Sub-task: Add parameter.
  8.1 For some of the functions with parameters, you can add a parameter. This parameter is included in the calculation.
  Click Add parameter.
9. Click OK.
10. Close the page.
Related to Notes

Set up templates

 

Provide feedback