This application generates and posts on the server the mapping files and
also generates some CATNls and CATRsc files required for a simple configuration
of
3DEXPERIENCE
applications. A mnimum configuration is still required on the server side but
the XML mapping as well as some CATNls and CATRsc files are generated by the
batch.
This application does not implement the entire configuration on the
server. It generates:
- the CATRsc files for
plmvisibility (enabling the table to be queried)
- the CATRsc and CATNls files
for the plmtoolbar
- the CATNls files defining
the attribute aliases
- the metadata files (on the
server)
- the
3DEXPERIENCE
administration file (on the server)
- the xml mapping file (on the
server).
The CATNls and CATRsc files can subsequently be modified.
- Launch the following
command:
CATUtil -Name VPMV4ToV6Mapping
- Connect to a 3DEXPERIENCE server.
-
Connect to an ENOVIAvpm server. The ENOVIAvpm mapping
dialog box appears:
- Click the
icon to the right of the
Resource directory field to specify where the
CATNls and CATRsc files are to be generated.
- For information on how to
use the
Advanced options button, see
Advanced Options for Attribute Mapping.
- For information on how to
use the
Generate Mapping button, see
Generating Mapping and Business Logic
Automatically.
- For information on how to
use the
Baseline Mapping button, see Customizing Baseline Mapping.
- For information on how to
use the
Report section at the bottom of the
ENOVIAvpm mapping dialog box, see
Accessing and Configuring the Attribute Mapping
Report.
- Click the
Map button. The
ENOVIAvpm Mapping Tool Object Selection dialog
box appears:
Note the role name at the top, COEXISTENCE[ADMIN] in this
particular case.
- In the top left-hand part of
the dialog box, select the parent type from the list showing the supported
PRODUCT modeler types:
In the main section, you can see the objects available for the
selected parent type. Let's look closer at the contents of this dialog box:
- If you want to change one
of the type names, double-click it in the
Type name column and enter the name of another
type.
- Alternatively, right-click
the type name you want to change and check the appropriate type in the
contextual menu that appears. Note that a delete option will also appear at the
end of this list.
- In the
Automatic attribute mapping column, the check
sign appears by default to confirm the mapping of all ENOVIAvpm attributes.
This is only possible if the type name is not a
3DEXPERIENCE
type. You can uncheck a row in this column if you wish.
- Select the appropriate rows
containing the different tables. The icons to the far left of the list help you
do this by showing the status of each table:
|
The table has not previously been mapped. You have not
selected it to be mapped now.
|
|
The table has previously been mapped. You have not
selected it to be remapped.
|
|
The table has not previously been mapped. You have
selected it to be mapped now.
|
|
The table has previously been mapped. You have selected
it to be remapped.
|
|
You have started mapping this table in this session. The
mapping has not yet been saved.
|
As you can see in the example shown above, the tables
CATIA_MODEL and DOCUMENT have already been mapped. If you select one of them,
the icon will change from
to
indicating your choice to remap
them.
In the same example, the other tables have never been mapped. If you
select either one of them, the icon will change from
to
indicating your choice to map
them. You can revert to the original icon by simply reselecting the row.
- Select
Map. The
ENOVIAvpm to 3DEXPERIENCE mapping interface
appears:
- Select the parent type from
the list showing the supported PRODUCT modeler types:
- In the
3DEXPERIENCE core type information section, you
can:
- modify the
3DEXPERIENCE
core alias in the
Core type alias field.
- complete the
PLMToolbar abbreviations field if necessary.
- leave checked or
uncheck the
Queriable object check box (checked by
default). This box indicates that the object is queryable using the Advanced
Search.
- In the
ENOVIAvpm attribute mapping section, you can
make a selection in the
ENOVIAvpm object alias field if the list
contains more than one object:
This is the alias of the table you
are in the process of mapping. The name of this table is indicated in the
grayed out
ENOVIAvpm object table field to the right and
cannot be modified since you selected it earlier in the
ENOVIAvpm Mapping Tool Object Selection dialog
box.
- In the lower half of the
ENOVIAvpm to 3DEXPERIENCE mapping interface
dialog box, you can see a mapping list. This is only an example and must
normally be changed to suit your requirements. In the
Attribute to be mapped section just above the
list, do as follows:
- You can also create a dummy
attribute, for Business Logic purposes for example, using the
Optional mapping action section at the bottom of
the dialog box:
Enter the attribute name manually in the first field, select
the attribute type from the combo box, enter the attribute length in the last
field then select
to add the attribute to the list
above.
- When you are satisfied with
the mapping contents, click
OK. The main mapping window will now reappear
for each type name that you have not yet mapped. When the type name mapping for
the selected environment has been completed, the
ENOVIAvpm Mapping Tool Object Selection dialog
box will reappear. If you want to map another environment, repeat the procedure
described above.
- Otherwise, click
Finish. The
ENOVIAvpm mapping dialog box shown above
reappears.
- Select
Save if you want to launch the mapping operation
later on. 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. For more
information, see "Running a Batch Directly from the Batch Monitor" in the
Infrastructure User's Guide.
- If you want to launch the
mapping operation now, select
Run.
- Once the mapping operation
has been completed, you must copy the generated CATNls and CATRsc files into
the runtime view of the installation or add them to the environment.
- The
ENOVIAvpm mapping application does not configure
the server side.
- All ENOVIAvpm attributes
must be mapped on a
3DEXPERIENCE
attribute. You cannot leave any ENOVIAvpm attributes in an unmapped status
because unmapped attributes are not added to the metadata as customized
attributes.
- Make sure that you map VPM
attributes with similar
3DEXPERIENCE
attributes.
- If a representation is
selected for mapping and its corresponding reference i.e. the PART_LIST table
of the same ENOVIAvpm environment is not mapped, the corresponding reference
and instance are added to the list of objects to be mapped.
- If a reference is deleted
from the mapping, all the corresponding representations and instances that were
mapped are also deleted.
- More than one representation
table can be mapped on the same metadata item.
- There must be at least one
metadata item for each ENOVIAvpm environment.
- In a single
3DEXPERIENCE
metadata item, two ENOVIAvpm attributes with the same alias cannot be mapped on
two different
3DEXPERIENCE
attributes. For example, if two ENOVIAvpm representation tables are mapped on
the same metadata and if two attributes from these tables have the same alias,
they have to be mapped on the same
3DEXPERIENCE
attributes.
- 3DEXPERIENCE
attribute must be compatible with the corresponding ENOVIAvpm attributes. For
example, if the
3DEXPERIENCE
attribute is an integer you cannot map a string on it. However, if the
3DEXPERIENCE
attribute is a string you can map an integer on it. STRING 10 can be mapped to
STRING 20, etc. Particular attention must be paid to such compatibility in a
ENOVIAvpm >
3DEXPERIENCE
/
3DEXPERIENCE
> ENOVIAvpm context.
- 3DEXPERIENCE
attributes must be mapped and have a non-null value.
- The identifier set of a
ENOVIAvpm table must correspond to a
3DEXPERIENCE
id set.
- To include ENOVIAvpm attributes of $EXT/VPMInstance mapped as 3DEXPERIENCE attributes for migration purposes, the
parameter:
isInstanceMapped="true" must be manually added to
the VPMInstance definition in the mapping file.
|