PlaceholderTranslator¶
Purpose¶
PlaceholderTranslator is a tool macro to replace placeholders in a string. The placeholders can be of different types:
Self-defined aliases
Field specifiers of fields to any other modules in the network
A set of predefined constants for system, hardware, date, or time settings.
If you want to make use of PlaceholderTranslator inside of a macro please have a look at parentLevelsUp to make sure that the module can find referenced fields.
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
Visible Fields¶
Auto Apply¶
Apply¶
- name: apply, type: Trigger¶
 Only sensitive if
Auto Applyis off; it updatesOutputto the current settings.
Constants¶
- name: constants, type: String, persistent: no¶
 A set of predefined constants which allow the insertion of current system, hardware, date, or time settings.
Aliases¶
- name: aliases, type: String¶
 May be empty. If not empty then each line must have any of the following contents:
$(AliasVariableName):AnyStringWithoutNewLine
$(AliasVariableName) can be used as placeholder inside
Inputwhich then will be replaced by AnyStringWithoutNewLine. Any field specifiers such as $(ModuleName.fieldName) or predefined constants in AnyStringWithoutNewLine will be replaced correctly. Aliases, however, are left as they are, they will not be replaced recursively.Empty lines are allowed as no operation.
Lines starting with # are considered as comments.
Input¶
Output¶
Status¶
- name: status, type: String, persistent: no¶
 Shows information about the success state or if any replacement failed, for example due to wrong placeholder or alias syntax.