Integration with Other Applications > Integrated Software Management > Software Configuration Management Integrations > Working with Windchill Integrations for Embedded Software Objects > Managing Software Files > Defining and Attaching a Subversion Software File
  
Defining and Attaching a Subversion Software File
A Subversion software file is defined and attached as primary content or attachment content to a software document or software configuration data document. This occurs during the creation or editing of the document from the following Windchill locations:
Toolbar icons, such as the New Document on various tables.
The New Document and Edit Document window.
The toolbar, Attach New Software File in the Attachments table.
The toolbar, Remove Selected Objects in the Attachments table.
Step 1: Set Attributes — Identify Content
From a new or edit document window, you can attach or remove a Subversion software file as primary content using the following fields:
Field Name
Description
Primary Content Source
Displays a list of options to attach primary content to the document. Primary content can either be a single file or a single ZIP file with multiple files. If primary content is not required, or if you want to remove primary content, select No Content.
Software File Location
To add primary content, select Software File from the Primary Content Source drop-down menu. Browse to open the Select Software Files window.
Step 2—Set Attachments
The Attachments table allows you to attach or remove one or more Subversion software files using the following fields:
Field Name
Description
Attach New Software File
Select Attach New Software File to open the Select Software Files window.
Remove Selected Objects
You can remove attachment content in the Attachments table by selecting one or more attachment content objects and then clicking Remove Selected Objects.
Step 3—Define the Software File Configuration
From the Select Software Files window, define the Subversion adapter and view configuration using the following fields:
Field Name
Description
Select adapter
Select the appropriate Subversion adapter from the list of available adapters.
Trunk
This option allows you to specify an individual Subversion trunk.
Branch
This option allows you to specify an individual Subversion branch from the list of available branches.
Head Revision
A Trunk or Branch selection enables the Head Revision option. Select Head Revision for the latest iteration of the trunk or branch. Head Revision is the default option.
Revision
A Trunk or Branch selection enables the Revision option. Select Revision to specify the wanted version iteration.
Tag
This option allows you to specify the applicable tag for the Subversion adapter.
When done, click Next.
Step 4—Select Files and Upload or Link Content to Windchill
From the Select Software Files window, define the Subversion files and upload choice using the following fields:
Field Name
Description
Upload Choice
Select one of the following upload options:
Copy Content -- Select this option to upload the content of wanted files from the list of folders and or files to Windchill. If you select a directory, the entire contents of the directory is compressed into a .ZIP file and is uploaded to Windchill.
* 
Be careful when selecting Copy Content as an upload option. Depending on your environment, if you select a Subversion directory, the number of files or directories can easily reach to tens of thousands. This m take a long time to compress and may exhaust your system resources.
Link to Content -- Select this option to represent the wanted Subversion content as a link in Windchill.
Select Files
This option allows you to multi-select Subversion folders or files for uploading or linking to Windchill.
When done, click Finish. A confirmation box displays a message stating that the object was successfully created. Click OK to close the confirmation box.