Specialized Smart Text processing instructions
Standard Smart Text placeholders in FactoryLogix are shown like this: <$Type$> where Type identifies the type of Smart Text required, for example Assembly, Barcode, Batch Name, and so on.
In some cases, FactoryLogix allows you to manually edit Smart Text by adding additional processing instructions to the Smart text placeholders (that is, instead of only being able to select a Smart Text placeholder from a drop-down). If you want to add additional processing instructions to a Smart Text placeholder, use this format:
Â
<$Type [|Function,Parameters [...]]$>
Â
Element | Description |
---|---|
Type | Type identifies the information that will replace the Smart Text placeholder. Type is the only required element. |
| (pipe character) | Identifies the start of an additional processing instruction. |
Function | Identifies any additional processing that will be applied to the value that replaces the Smart Text placeholder. These functions are supported:
Important The SUBASSY function is limited to use with the <$Barcode$> Smart Text placeholder only. Â
|
Parameters | A comma-separated list of values that varies depending on the function. |
Â
Any Smart Text placeholder can include zero or more additional processing instructions where each processing instruction uses three elements:
| Function,Parameters
If you don't define any additional processing instructions, the Smart Text placeholder uses the standard format:
Â
<$Type$>
Â
If you define one or more additional processing instructions, each instruction is processed in order, from left to right.
To use one processing instruction, use the following format:
Â
<$Type|Function,Parameters$>
Â
To use multiple processing instructions, specify each additional processing instruction to the right of the previous instruction:
Â
SUBASSY, SUBSTR, and REPLACE functions
Function | Description |
---|---|
SUBASSY | Important The SUBASSY function is limited to use with the <$Barcode$> Smart Text placeholder only. Â When a <$Barcode$> Smart Text placeholder is resolved, it is replaced with the UID of the targeted item.
|
SUBSTR | The SUBSTR function returns a substring of the resolved Smart text value. Th SUBSTR function has two parameters:
|
REPLACE | The REPLACE function returns the resolved value having replaced every instance of the string defined in the first parameter with the string defined in the second parameter. This function has two parameters:
|
Â
Copyright © 2024 Aegis Industrial Software Corporation. All Rights Reserved.