Export (0) Print
Expand All

Insert Line


Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The Insert Line activity inserts lines into a text file on a line number that you specify.

This activity replaces functionality in the Manage Text File legacy activity from Opalis 6.3.

Before you configure the Insert Line File activity, you need to determine the following:

  • The name of the file you want to insert text into.

  • The file encoding type of the file you want to insert text into.

  • The line number location where you want to insert the text.

Use the following information to configure the Insert Line activity.

Details Tab


Configuration Instructions


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 activity fails.


Type the text that you want to insert into the file.

Line number

Type the line number where the text will be inserted.

The following table lists the published data items.



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.

© 2016 Microsoft