Titania Delivery Synchronization Task
The Titania Delivery synchronization Task provides the ability to synchronize content located in a repository with a Titania Delivery project. It does this by exporting the content from the Windchill repository to the local file system, and then syncing that folder to Titania Delivery. The following tables detail the Attributes and Parameters along with their description.
Attributes
Attribute Name |
Description |
name |
Descriptive name of the task. |
type |
“TDSync” |
Parameters
Parameter Name |
Description |
repository |
The name of the Windchill repository as defined in the repository configuration. Required. |
titaniaRepository |
The name of the Titania Delivery repository representing the project. Required. |
collection |
The name of the collection as defined in the collections element. 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. Optional. If not specified, a temporary directory will be created. |
cleanup | Indicates whether to delete
the folder containing the exported files after the sync
is complete. The default is "true" if exportToFolderPath is not specified, and "false" if it is. |
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, delimited by commas. 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
-
TaskHook
Example
<Task name="DemoTDSync" type="TDSync"> <Param name="repository" value="DemoWindchillRepo"/> <Param name="collection" value="AllDocuments"/> <Param name="titaniaRepository" value="DemoTDRepo"/> <Param name="mirrorRepositoryFolderPaths" value="true"/> <Param name="fileReferenceAttributes" value="href"/> <Param name="exportAllReferencedGraphics" value="true"/> <Param name="ensureFileUniqueness" value="false"/> </Task>