Replace All Variables in Text (Docx)#
Perform the replacement of all variables %variable% in a Docx file.
| Input File | [Text] The input Docx file where text replacement needs to be performed. |
| Output File | [Text] The file with the result of the replacement. If the value is empty, the result will be saved to the input file. |
| Dictionary | [Dictionary] The dictionary for replacement. The keys of the dictionary are the variables to be replaced in the format If the value is empty, the global variables dictionary of the entire project will be used. |
| Result | [Text] Returns the full path to the file with the result of the replacement. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that will be output by the blocks during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |