You define the pre-processing and post-processing functions to use the additional
information that is passed back to ENOVIA to customize the existing or new Product Revisions. For
example, an additional property passed back from the DesignSync system could be set as an
attribute on the equivalent Product revision, or the "Revision" value could be modified to
be something other than the dot-numeric value, or even the Type of the objects could be
changed according to customer-specific criteria.
You define pre-processing and a post-processing methods to handle the additional content
received from the custom TCL commands. You can name the JPO and method anything that makes
sense for your installation.
| JPO:method |
Description |
| pre-processing JPO:method |
Allows additional checks or setup to be executed prior to the
actual import of DesignSync module revisions. |
| post-processing JPO:method |
Allows additional processing on the imported Product
revisions. |
For the methods to be called, these properties in
emxSemiTeamCollab.properties must specify the required JPO:Method
names:
emxSemiTeamCollab.HDM.ImportProductRevisions.PreProcess=
emxSemiTeamCollab.HDM.ImportProductRevisions.PostProcess=
See Configuring How Modules Are Imported From DesignSync for
details on entering values for these properties.
This structure shows a sample sequence for a post-processing function:
- Extract the XML string from the arguments and pass it to the JAXB unmarshaller for
parsing.
- Extract the HashMap of versions imported and whether the associated revisions already
existed.
- Loop over the ModuleVersion elements from the XML using the JAXB classes.
- For each version, look up the numeric in the HashMap to see if it was one that was
imported; if so apply special processing.