Exporting templates in 7.6

Posted by dmillman on 16-Apr-2008 17:38

As I stated yesterday templates are an important feature in 7.6. Although they were available in 7.5 they have been enhanced dramatically with 7.6 in that any related file can be copied as part of the template.

As these are handy tools in your ESB toolkit it is likely that you want to move them from one deployment to another, which takes a little understanding and configuration, but once set up is easy to do.

To move templates around you need to perform the following:

1) Use the ESBExport tool to export create an empty xar file

2) Then edit the properties file so that the system directory is not ignored by removing the line

3) Save the updated xar file

4) Open the export tool with your saved XAR file, or using the attached xar file EmptyXAR.xar

5) Within the Actions section choose the artifacts under sonicfs:///System/SonicESB/templates that are related to the template you want to export.

6) Also add any files that are referenced by the template

7) Save the xar to the filesystem (See XFormTemplate.xar)

8) Import the xar file into the target Domain (See XFormTemplate.xar)

9) The template should now appear in the Template palette, in the samples case this is called 'Transform Document'

Hope this helps you make the most of templates in 7.6.

If you have any tips please feel free to share them on this forum, or is there anything you would like to see?

EmptyXar.xar

XFormTemplate.xar

All Replies

This thread is closed