The swExport tool can be used to export SystemWeaver Documents in PDF format. Using this tool, you can implement your own application that can utilize swExport for document export based on your organization's needs.


  • A document structure to export
  • An installation of SystemWeaver version R40 or later
  • An installation of swExport version R40 or later

To obtain the tool, contact your internal IT department or

Required Meta Model

Document export requires that the document (structure) to be exported follows the SystemWeaver Document meta model. See Basic Documents Meta Model in Document Management Model Configuration.

Example Data

Explanation of Settings

Expected value typeCommentExample
The name or IP address of SystemWeaver server
ServerPortTthe port of SystemWeaver server
ServerUserNameThe SystemWeaver username to connect with.
StringIf not supplied, Windows authentication will be used.ServerUserName=user
ServerPasswordThe SystemWeaver password to connect with.
StringIf not supplied, Windows authentication will be used.ServerPassword=pass
FileNameThe name of the output file.StringRequired  requirementsDocument.pdf
ItemIdThe xID of the Document itemSystemWeaver xIDRequiredItemId=x0000001D04533514

Example Command Lines

Using Username and Password

swExport ServerName=sys7 ServerPort=1345 ServerUserName=john.doe ServerPassword=password ItemID=x04000000000AC88A FileName="C:\temp\requirementsDocument.pdf" 

Using Network Authentication

swExport ServerName=sys7 ServerPort=1345 ItemID=x04000000000AC88A FileName="C:\temp\requirementsDocument.pdf" 

This command will log in the user account to the server, build and export the document, and then log out. 


Example Result