Select the CoexistenceAdministration Batch
This task explains how to access the
Batch Monitor to select the
CoexistenceAdministration batch.
Search Objects
This task explains how to search the objects to process with the
batch.
-
In the
Batch Monitor, double-click
CoexistenceAdministration.
-
Click
3DEXPERIENCE platform
Object Search
to open the search dialog box.
For more information, see:
- Running queries and Output options, see
Searching for Objects.
- Rename Criteria options, see
Searching for Files (if you use the
Convert to file conversion type).
Note:
The Object Types filter enables you to search for the
following object types:
- VPMRepReference
- VPMReference
- Model
- Configuration Feature
- PLMActionBase
- ENOWSP_WorkspaceRef
- PLMWspPVS
- Document
- Generic Document
-
Click
Apply to start the search.
Your search results are displayed in the Object
Selection area.
- Optional:
To cancel the operation, including the object selection you
performed, click
Cancel in the search dialog box.
A warning message is displayed. You can either choose to
keep your selection by clicking
Yes, or confirm the removal by clicking
No.
-
Select the objects you want to process.
In this scenario, we are searching for the
3DEXPERIENCE
object that was created by the
CoexistenceBatch batch and that originated
from the V5 legacy server.
In the
3DEXPERIENCE
Component area, the information displayed in the
Component name box corresponds to the
PLM_External_ID and/or the V_Name attributes of the
3DEXPERIENCE
component.
The Related Component area provides information about the
component associated to the object you double-clicked.
- If the component is
a V5 file: the full path of the file is displayed in the
Component name box.
- If the component is
stored in a V5 database: the V5 Provider ID of the component is displayed in
the
Component name box (and in that case, it
may contain special characters).
- Optional:
Remove the objects you do not want to process.
-
Select the objects to be removed.
-
Click
Removes the selected objects from the
list
.
Configure the Operations
This task explains how to configure the mapping operations.
-
In
Mapping Operation, select one of the
following:
Option | Description |
---|
Delete |
Removes the mapping for all objects in the selected
context if
All components related to context is
activated. You must be very careful when using this option because it does not
only apply to search results but also to all objects in the selected context.
If you activated the
COEXADMIN_PROCESS_OBSOLETEMAPPING variable
for obsolete mapping objects:
- In the
Process On section of the dialog
box, select whether you want to delete valid mapping objects, obsolete mapping
objects, or both.
- If you only select the
Obsolete Mapping option, you can
either select a context, or select
All contexts to delete obsolete
mapping objects in all the available contexts.
|
---|
Mastership Transfer |
Modifies the mastership of the objects (V5 master or
3DEXPERIENCE master).
- V5 to 3DEXPERIENCE Master: relevant for content imported through
the XPDMImportExportBatch,
FBDI or
Coexistence batch.
Note:
The FBDI batch only imports V5
Master content or content without any mapping.
- 3DEXPERIENCE to V5 Master:
relevant for content exported through the
DownwardCompatibility or
Coexistence batch.
Note:
The
Coexistence batch only exports
3DEXPERIENCE
Master content or content without any mapping.
When transferring the mastership from
3DEXPERIENCE
to V5, you can select the
Allow Representations option to
transfer the mastership for each selected
representation
that has been exported. If you do not select this option, mastership transfer
is not allowed for
3DEXPERIENCE
representations.
- You can instantiate a 3DEXPERIENCE object under a parent object with V5 mastership or a V5
object under a parent object with 3DEXPERIENCE mastership, as the parent object with V5 or 3DEXPERIENCE mastership is not modified during the instantiation
process.
Optional:
If you have transferred the selected
objects in an X-PDM context (XPDMImportExportBatch), the
Allow Documents option is available.
It allows you to include all the attached documents to the objects you
selected, including their children if the propagation is asked.
For more information about V5 and
3DEXPERIENCE
mastership, see
File Coexistence and
Migration
User's Guide:
Downward Compatibility: About Downward Compatibility.
|
---|
Mapping
|
Extracts mapping information for
components into an XML file created into the Report
directory.
Note:
If no object is selected when the
Mapping Extract functionality is on,
the user can select “All objects in selected context(s)” to extract mapping
information for all objects in selected context(s).
You can check the "Only Exposed Mapping" option to only
retrieve DMT information.
Fill the
File Name field with the name of the
Mapping Extract XML file, without the .xml extension.
If you activated the
COEXADMIN_PROCESS_OBSOLETEMAPPING variable
for obsolete mapping objects:
- In the
Process On section of the dialog
box, select whether you want to extract valid mapping objects, obsolete mapping
objects, or both.
- The
All contexts option is available for
valid, obsolete, and combined (valid and obsolete) mapping objects. You can
either select a context, or select
All contexts to extract mapping
objects from all the available contexts.
- In the Extract XML file, obsolete mapping objects only
indicate the Physical ID of the corresponding
3DEXPERIENCE
object. A second XML file named listOfObsoleteMpgObjs.xml is also created in
the Report directory to list the obsolete mapping objects.
|
---|
In this scenario, we want to transfer a
3DEXPERIENCE
product to V5 so we select
3DEXPERIENCE
to V5 Master.
- Optional:
Choose the propagation option:
Notes:
- The propagation depth is only available for Mastership
Transfer and Mapping Extract operations.
- The
Selected objects within selected
context(s) option is activated by default unless you have selected
the
Delete option in the
Mapping Operation list.
-
In the
Context name box, select the context defined
when running a batch mentioned above.
- Optional:
If you selected the
Mapping Extract option in the
Mapping Operation list, you can check the
All contexts option.
- Optional:
Click
Preview to test the mapping operation.
This option ensures that the operation complies with the
mapping operation rules.
Note:
If you selected the
Obsolete Mapping option for a delete
operation, the listOfObsoleteMpgObjs.xml is also created in the Report
directory to list the obsolete mapping objects.
Run the CoexistenceAdministration Batch
This task explains how to run the CoexistenceAdministration
batch and access the report.
-
In the
Report directory box, enter the report
directory or click
.
This box is mandatory and is initialized with the current or
temporary directory by default.
-
Enter the name of report in the
Report Name box.
By default, the report is named
CoexistenceAdmin.xml.
- Optional:
Select the
Verbose Report check box.
The Verbose Report is a light version of the report.
-
Click
Run to start the batch.
If one of the above boxes is not correctly filled, the
command is grayed out. When the operation is over, the
CoexistenceAdministration application generates:
- Quick result information you can access in the
Processes tab.
- A detailed XML report saved in the
report directory.
-
Click
Save.
The batch parameters are saved in an XML file.
When saved, this file can be edited manually and used later on
to
run the batch directly without accessing the batch
interface.
-
To display an XML version of the global report, click
Open XML Report
This command is available only when a report has been
generated.
The XML report contains three sections:
- Data Source
- Metrics and Options
- Details for Objects
Note:
Errors are listed at the beginning of the report whereas
warnings are displayed under each object responsible of the warning.
Note:
The table of results for
Mastership Transfer replaces the
Data Source and
Metrics of the report when the mapping
operations are
Delete Mapping,
Migrate Mapping and
Mapping Extract.
-
Display the light version of the global results.
-
Access the
Processes tab in the
Batch Monitor.
-
Double-click the batch execution line.
These results indicate if each of the selected objects has been
processed or not along with the result (success or failure). The report
contains only text and cannot reference images, URL links, etc.
At the end of the report, one of the following return codes will
be displayed:
- ReturnCode0 The batch ended successfully.
- ReturnCode4 At least one object could not be processed.
- ReturnCode8 The batch stopped.
- Optional:
To modify your conversion parameters, first close the window and
then run the batch again.
-
Click
Save to save your results in the folder of
your choice.
-
Click
Close to exit the
Results window.
-
Access the
Processes tab to display information
about the batch execution.
-
To read the
reports generated by the batch
execution, access the folder
c:\temp\batchID or
/temp/batchID .
-
In the
CoexistenceAdministration window, double-click
the processed object again to check that the ownership has been changed from
3DEXPERIENCE
Master to
V5 Master.
|