1.安装AWC基本模块,配置搜索
Configure traditional basic classification
If you have a traditional basic class hierarchy and data in rich client, you can expose these for classifying and searching in Active Workspace.
-
In Teamcenter Environment Manager, install the following components:
-
Base Install→Active Workspace→Server Extensions→Reuse and Standardization→Classification Server
-
Base Install→Active Workspace→Client→Reuse and Standardization→Classification Client
-
-
(Optional) Install the Classification tile by installing the presentation layer.
The Classification tile on the Home page opens a dedicated location to browse the classification hierarchy.
2.添加下一代分类界面
Install the presentation layer
The presentation layer provides more flexibility than the traditional basic classification storage hierarchy. It serves as the basis for implementing other classification features such as advanced classification (classification standard taxonomy or CST) and classification libraries. It provides the ability to deal with traditional basic classification features (such as creating a class hierarchy, adding classification objects to a classification hierarchy, classifying workspace objects, searching for classification objects, and modifying and deleting objects from a classification hierarchy) and advanced CST and library features simultaneously.
Additionally, installing the presentation layer adds the Classification tile to the home page and allows you to configure visual navigation cards for searching.
-
In the classification section of the installer, select Presentation Layer - Next Generation Classification Server and complete the installation.
After installing the presentation layer, you must:
-
Turn on the visibility of the presentation hierarchy using the CLS_is_presentation_hierarchy_active preference.
-
Extend the traditional basic classification classes to the presentation layer.
3.索引分类数据
Configure search for traditional basic classification
After installing classification or after adding data (classes, views, properties), you must enable searching for the data.
-
Create search index views and choose attributes by which to search and filter.
Each property for which you want to search must be contained in a search index view.
-
Make properties searchable in the global search.
Because you added properties to search index views, you must run the bmide_modeltool utility to update the facets.
-
Any time you create new classification data, such as classifying new objects, you must re-index to be able to search for the new object in the global search or see the property displayed in the list of filters when searching for data. There are two ways to re-index:
-
This can be a time-consuming process depending on the amount of data in your database.
-
Index only the workspace objects whose classification data has changed
-
4.将分类结构添加到前端页面
Extend classes to the presentation layer using clsutility
-
Extend classification data to the presentation layer by running the following command line utility:
clsutility -import -hierarchy -cid=group-or-class-IDThis command extends the classification subhierarchy under the specified group or class.
-
For classification groups, running this utility creates presentation layer group nodes with the same ID as the associated groups.
-
For classification classes, running this utility creates presentation layer master nodes with the storage_class_type property corresponding to their associated classes.
Additional optional arguments:
-
-include_instances
Includes ICOs in the subhierarchy.
-
-exclude_children
Excludes the subhierarchy. It extends the specified group or class only.
-
-
(Optional) Synchronize the presentation layer with the classification hierarchy.