Skip to main content
Version: 11.0

Mark up text file

note

This article is about the Mark up text fileDelivery Manager action.

warning

Mark up text file is intended for use with target variables and not with source variables.

Mark up text file

Creates, in a text file that has a non-XML format, such as HTML, JSON, CSS, or flat text, one or more placeholders for a target variable. An example of such a placeholder is:

${Application}

The required "Replacement file" identifies the text file to be marked up.

The placeholders are created by replacing all occurrences of "String" in "Replacement file" by "Replacement".

The required "String" must not contain variable placeholders.

The required "Replacement" must be a string that consists of at least one variable placeholder, or contains at least one.

The primary purpose of calling this action is to make released deliverable files configurable to specific target computers. See the "Mark up XML attribute” action for creating variable placeholders in deliverables that are XML data files rather than text files.

Parameters

NameTypeOptional?
Replacement fileFolder or fileNo
StringStringNo
ReplacementStringNo
Check target variableOption flagYes

Other uses

You can use this action for string replacements in a wider sense by setting the optional "Check target variable" = No. If you do not pass this flag, it is set to Yes. With "Check target variable" = No:

  • "String" is allowed to contain variable placeholders.
  • "Replacement" no longer needs to contain a variable placeholder.