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 an Integrity Source (SCM) Software File
  
Defining and Attaching an Integrity Source (SCM) Software File
An Integrity software file is defined and attached as primary content, or attachment content to a software document or a 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 an Integrity Source (SCM) 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 Integrity Source (SCM) 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 Integrity Source (SCM) adapter and view configuration using the following fields:
Field Name
Description
Select adapter
Select the appropriate Integrity Source (SCM) adapter from the list of available adapters.
Mainline
This option allows you to specify an individual Integrity Source (SCM) mainline.
Build Project
This option allows you to specify an individual Integrity Source (SCM) build project type by selecting a Revision or a Label form the dropdown list.
Variant
This option allows you to specify an individual Integrity Source (SCM) variant project type by selecting a Development Path from the dropdown list.
Revision
The Revision option is only available when a Build project type is selected.
When done, click Next.
Step 4—Select Files and Upload or Link Content to Windchill
From the Select Software Files window, define the Integrity Source (SCM) 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 an Integrity Source (SCM) directory, the number of files or directories can easily reach to tens of thousands. This may may take a long time to compress and may exhaust your system resources.
Link to Content -- Select this option to represent the wanted Integrity Source (SCM) content as a link in Windchill.
Select Files
This option allows you to multi-select Integrity Source (SCM) 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.