Editing the Content Definition
Now that the content definition document has been created, the empty document must be edited to add content definition rules. To edit the content definition, perform the following steps:
1. From the workspace, click on the content definition’s Info icon
to open the Info page.
2. From the Info page, select Actions Edit Content Definition. The Content Definition window opens.
3. In the Base Directory drop-down, select either $DesignDir or $ViewableDir, depending on the directory to which you want to apply the content definition rules.
4. Click the Add Row icon
to add a rule. A new row appears.
5. Click the navigator icon in the Base Directory column. The navigator opens.
6. Select the directory on the local machine that you want to designate as a directory containing a specific type of data.
7. In the name column, enter a file name pattern that will be used to identify the types of files you want this rule to designate for collection (see example below).
8. In the Category column, select the category that describes the type of data that will be kept in this directory.
9. If necessary, you can use the Remove Row icon
to remove a row. (Designate the row to be removed by selecting the checkbox to the left of the row.
Example:
Let us imagine that you want to create a directory where design data is stored.
1. Create a folder on your workstation called Design_Data.
2. Create a content definition document.
3. Open the Content Definition window to edit the document.
4. In the Base Directory drop-down, ensure that $DesignDir is displayed.
5. Add a row.
6. In the Base Directory column, note that $DesignDir is displayed. Click the navigator icon. The Open window opens.
7. Navigate to the Design_Data directory, and select it. Click OK.
8. In the Name Column, Enter the filename pattern you want to use (in this case, we’ll collect text files, so enter *.txt).
9. Click OK.
10. Check the content definition document into Windchill.