Using the Safe Area Directory Structure When Customizing Files
* 
The following descriptions assume that you have set up your safe area directory structure, as described in Directory Structure Diagram for Customized Files and Text Tailoring.
Use the following procedure to modify a PTC file for the first time:
1. Copy the original version of the PTC file into the proper subdirectory under the ptcOrig directory. For example, copy:
<Windchill>/codebase/templates/adcx.html
to:
<Windchill>/wtSafeArea/ptcOrig/codebase/templates/abcx.html.
2. Also copy the file to the siteMod directory and then make your modifications to the file that is in the siteMod directory. For example, copy the abcx.html file as follows and then modify the copied file:
<Windchill>/wtSafeArea/siteMod/codebase/templates/abcx.html.
3. When you are ready to use the customized files in your <Windchill> installation directory, copy the customized files into the installation directory.
Run the following swmaint.xml script from a Windchill shell to complete this step:
ant -f bin/swmaint.xml installSiteChanges
Было ли это полезно?