The Export tool is a command line wrapper of the export that you find in the swArchitect client and can be used when exports are needed. 


Prerequisites

  • Server, port and login information for the database from which you want to export.
  • The swExport.exe along with liblz4.dll, vcruntime140.dll, and RVFUtility64.dll. 


Creating the Command Line

The below example will export an xml file containing the meta model and all config items:


swExport.exe XmlFileName=c:\temp\MMExport.xml ExportConfigItems=true ServerName=sys7 ServerPort=1345 ServerUserName=username ServerPassword=password


Below are all options that can be used for the export:


Options
Expected value type
Comment
Example
ServerPort
Integer
 
ServerPort=1768
ServerName
String
 
ServerName=localhost
ServerUserName
String
 
ServerUserName=user
ServerPassword
String
 
ServerPassword=pass
XmlFileName
String
 
XmlFileName=D:\test.xml
ItemId
SystemWeaver xId
Optional
ItemId=x0000001D04533514
IncludeLaterVersions
Boolean
Optional Default=false
IncludeLaterVersions=true
IncludePreviousVersions
Boolean
Optional Default=false
IncludePreviousVersions=true
ExportMetadata
Boolean
Optional Default=true
ExportMetadata=true
ExportConfigItems
Boolean
Optional Default=false
ExportConfigItems=true
IncludePlainDescription
Boolean
Optional Default=false
IncludePlainDescription=true
IncludeAttachments
Boolean
Optional Default=false
IncludeAttachments=true
IncludeItemOwner
Boolean
Optional Default=false
IncludeItemOwner=true
SwapInForeignId
Boolean
Optional Default=false
SwapInForeignId=true
ForeignIdNamespace
String
Optional
ForeignIdNamespace=DB1_QA
ExportBitmaps
Boolean
Optional Default=false
ExportBitmaps=true
ExportFontFiles
Boolean
Optional Default=false
ExportFontFiles=true


To use the tool, run your command line from the location of the tool and related files. 


Example of Completed Export Command