Forbidden Character Management

Forbidden characters are `  ~  ! &  #  .  A complete list of default forbidden characters is below. This list may be customized.

JT translators (script and Dispatcher Services translators) replace specific forbidden characters with the underscore replacement character; _. The Integration must be aware of these forbidden characters in order to retrieve the correct filenames.

Example

HagelinPinWheel-1-2-3.CATPart contains the forbidden character -.  This forbidden character is replaced with _ during JT translation and results in HagelinPinWheel_1_2_3.jt JT file.

JT translation fails when the translator encounters a character not defined in the BadChars list.

Define the List of Forbidden Characters

Customize the list of forbidden characters, as needed.

The default list of forbidden characters is:
`  ~  ! &  #  
$  % ^  &  * 
(  )  -  +  
=  "  \  '  
:  ;  ,   .  /  
<  >  ?  |  [  
]  <space> {  }  ±

Refer to the following table to determine the forbidden characters list location.

Translation Method List Location Key
.catia2jt Cat2tciccommon.jar located in %TC_POTAL_ROOT%\plugins. Edit the resulting com/ebsolutions/catiman/catiman.properties jt.BadChars
.catiav5tojtdirect Cat2DSTransJT.jar located on the Teamcenter Dispatcher Server machine. Edit the resulting com/ebsolutions/cat2dstransjt/cat2dstransjt.properties
.catiav4tojtdirect Cat2DSTransJT.jar located on the Teamcenter Dispatcher Server machine. Edit the resulting com/ebsolutions/cat2dstransjt/cat2dstransjt.properties

Perform the following steps to customize the forbidden characters list.

1.      Un-jar the target .jar file.

2.      Open the properties file then modify the forbidden characters list file managed by the translator (in Unicode).

3.      Re-jar the directory.