Previous Next
Opalis Integration Server > Foundation Objects > Text File Management > Insert Line

Insert Line
The Insert Line object inserts lines into a text file.
Note: This object replaces functionality in the Manage Text File Legacy object. For more information, see the Legacy topic.
How it is used
Use the Insert Line object to insert lines into a text file on a line number that you specify.
Configuration
To configure the Insert Line File object you need to know the name of the file that you want to insert text into, the file encoding that it uses, the text that you want to insert, and the line number where you want to insert the text.
Details Tab
 
File
Type the path and name of the file that you want to insert the text into, or click the ellipsis button (...) and browse for it.
File encoding
Click the ellipsis button (...) and select the format that the file is encoded in from the File encoding drop-down list. Verify that you select the correct encoding format: if the file uses a different encoding format, the object fails.
Text
Type the text that you want to insert into the file.
Line number
Type the line number where the text will be inserted.
Available Published Data
 
Name
Description
File name
The name of the file that the text was inserted into.
File encoding
The file encoding format that you selected in the File encoding field.
Line text
The text of the line that was inserted.
Line number
The line number that was inserted, if only one line was inserted.
Common Published Data

Previous Next