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:
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
- ManufacturerEquivalentItem (MEI) extension
-
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 to delete obsolete mapping objects
related to this context only
- All contexts to delete
obsolete mapping objects in all the available
contexts
- CADTransition contexts to
delete obsolete mapping objects in the available
CADTransition contexts.
|
| Mastership Transfer |
Modifies the mastership of the objects (V5 master or 3DEXPERIENCE
master).
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 Social and Collaborative | System Exchange | Coexistence and Migration | File Coexistence and Migration | File Coexistence and Migration | Downward Compatibility | About Downward Compatibility.
Notes:
When you change the mastership of the 3DEXPERIENCE content with CAD format, the references are resynced
automatically.
For objects whose mastership is the
3DEXPERIENCE platform (V6 master), X-PDM import can update an existing
corresponding revision. X-PDM import cannot create a new
revision. New revisions can be created within the
3DEXPERIENCE platform. This behavior applies to the import commands listed for
Import assigning responsibilities for those commands does
not change these mastershiprules.
|
| Migrate |
Migrates the older Path or
Default contexts into newly created
File and Database
contexts. |
| Mapping Extract |
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 and
CADTransition contexts
options are 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, or select
CADTransition contexts to
extract mapping from the available CADTransition
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 V5 product to 3DEXPERIENCE so we select V5
to
3DEXPERIENCE
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, select any of the
following options:
| Option | Description |
|---|
| All contexts |
Stores the mapping of all available contexts. |
| CADTransition contexts |
- PostConversionContext: Stores the
mapping of the As New conversion
mode.
- PCAsNewRdvisionContext: Stores the
mapping of the As New Revision
conversion mode.
- PCAsNewBranchContext: Stores the
mapping of the As New Branch
conversion mode.
|
- 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
V5 Master to 3DEXPERIENCE Master.
|