Skip to Content

Prepend Data plugin (deprecated) for Jitterbit private agent groups

Introduction

The Prepend Data plugin prepends the contents of the global variable DataToPrepend to each output file. It can also be used for appending using the DataToAppend global variable.

This plugin can be associated only with private agent groups and is not available on the Jitterbit cloud agent groups.

Important

Plugins provided by Jitterbit are deprecated.

Versions

There are two versions of this plugin available:

  • Jitterbit PrependData 1.1.0.0
    As of the Harmony 10.10 release, this version is identical to version 1.3.0.0.

  • Jitterbit PrependData 1.3.0.0
    This is the latest version. As of the Harmony 10.10 release, this version can be used with both Windows and Linux agents. Previously, this version was not supported on Linux agents.

Download and add the plugin

The Prepend Data plugin is a standard Jitterbit plugin that is already available in the Management Console Plugins page and does not need to be downloaded or added to the organization.

If directed by support, this plugin can be downloaded at the link provided below and added to the organization.

Associate the plugin with an agent group

The Prepend Data plugin must be associated with a private agent group to make the plugin available on all agents in the group.

The plugin is listed in the Management Console Plugins page with a display name of Jitterbit PrependData.

Set variables and use the plugin in a project

Refer to these topics for information about using plugins in a project:

The Prepend Data plugin uses these variables:

Name Type Required Description
DataToPrepend String Optional The string that will be added to the beginning of the file, prior to all other data. As of version 1.3.0, a carriage return is required for this variable. If you are running the plugin on Windows, enter "\r\n" for the carriage return. If you are running the plugin on Linux, enter "\n" for the carriage return.
DataToAppend String Optional The string that will be added to the end of the file, after all of the other data.
LineBreakStyle String Optional Changes all line breaks in the data to prepend (or append) to a specified line break style. Valid values are windows, unix, linux, or mac. Any different value (except an empty string) will give an error.
AddLineBreak Boolean Optional Adds a line break after the DataToPrepend variable. The line break style can be set using the LineBreakStyle variable.