HARP Synchronization Task (Deprecated)

The HARP synchronization Task provides the ability to synchronize content located in a repository with a Titania Delivery project. The following tables detail the Attributes and Parameters along with their description.

Note: This task type is deprecated and may be removed in a future release. Use instead.

Attributes

Attribute Name

Description

name

Descriptive name of the task.

type

“HarpSync”

Parameters

Parameter Name

Description

repository

The name of the repository as defined in the repository configuration. A Parameter is required.

harpRepository

The name of the HARP repository representing the project.

collection

The name of the collection as defined in the collections element. Parameter is required.

fullSync

Indicates if a full or incremental sync should be performed. Valid values are true or false. Default value is “false”.

exportToFolderPath

Location on the local file system where content will be synced to.

mirrorRepositoryFolderPaths

Indicates if the repository folder structure should be mirrored on the local file system. If true, the container and folders will be mirrored. If false, all files will be synced to a single folder.

fileReferenceAttributes

A comma delimited list of all attribute names that contain an xml or graphical reference. Default value is “href”.

exportAllReferencedGraphics

Indicates if any graphics referenced by the xml is also synced, whether it is in the collection or not.

enforceFileUniqueness

Indicates if the system should ensure that local file names are unique. If true, the Windchill document number will be appended to the filename. If false, only the Windchill filename will be used. Duplicate files will be overwritten. Default value is “true”.

Contains Elements

  • MetadataMappings

  • Task Hook

Example

<Task name="Production" type="HarpSync">
	<Param name="repository" value="Windchill"/>
	<Param name="harpRepository" value="HarpDITAProject"/>
	<Param name="collection" value="Released Documents"/>
	<Param name="fullSync" value="false"/>
	<Param name="exportToFolderPath" value="/Manual"/>
	<Param name="mirrorRepositoryFolderPaths" value="true"/>
	<Param name="fileReferenceAttributes" value="href"/> <!--  separated by commas -->
	<Param name="exportAllReferencedGraphics" value="true"/>
	<Param name="ensureFileUniqueness" value="true"/>
</Task>