Aw Admin
Aw Admin
Active Workspace
Administration
Active Workspace 6.1
Unpublished work. © 2022 Siemens
This Documentation contains trade secrets or otherwise confidential information owned by Siemens Industry Software Inc. or
its affiliates (collectively, “Siemens”), or its licensors. Access to and use of this Documentation is strictly limited as set forth in
Customer’s applicable agreement(s) with Siemens. This Documentation may not be copied, distributed, or otherwise disclosed
by Customer without the express written permission of Siemens, and may not be used in any way not expressly authorized by
Siemens.
This Documentation is for information and instruction purposes. Siemens reserves the right to make changes in specifications
and other information contained in this Documentation without prior notice, and the reader should, in all cases, consult
Siemens to determine whether any changes have been made.
No representation or other affirmation of fact contained in this Documentation shall be deemed to be a warranty or give rise to
any liability of Siemens whatsoever.
If you have a signed license agreement with Siemens for the product with which this Documentation will be used, your use of
this Documentation is subject to the scope of license and the software protection and security provisions of that agreement. If
you do not have such a signed license agreement, your use is subject to the Siemens Universal Customer Agreement, which
may be viewed at https://www.sw.siemens.com/en-US/sw-terms/base/uca/, as supplemented by the product specific terms
which may be viewed at https://www.sw.siemens.com/en-US/sw-terms/supplements/.
SIEMENS MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS DOCUMENTATION INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF
INTELLECTUAL PROPERTY. SIEMENS SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL OR
PUNITIVE DAMAGES, LOST DATA OR PROFITS, EVEN IF SUCH DAMAGES WERE FORESEEABLE, ARISING OUT OF OR RELATED TO
THIS DOCUMENTATION OR THE INFORMATION CONTAINED IN IT, EVEN IF SIEMENS HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
TRADEMARKS: The trademarks, logos, and service marks (collectively, "Marks") used herein are the property of Siemens or other
parties. No one is permitted to use these Marks without the prior written consent of Siemens or the owner of the Marks, as
applicable. The use herein of third party Marks is not an attempt to indicate Siemens as a source of a product, but is intended to
indicate a product from, or associated with, a particular third party. A list of Siemens’ Marks may be viewed at:
www.plm.automation.siemens.com/global/en/legal/trademarks.html. The registered trademark Linux® is used pursuant to a
sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
Active Admin
The Active Admin workspace ───────────────────── 1-1
Data sharing
Configuring and managing data sharing ──────────────── 3-1
Configure report layout settings ──────────────────── 3-2
Configure Briefcase file sharing ──────────────────── 3-3
Configure PLM XML data sharing ─────────────────── 3-3
Manage Multi-Site ────────────────────────── 3-3
Specifying the scope of Multi-Site remote checkouts and checkins ─────── 3-3
Multi-Site Dashboard ─────────────────────────── 3-4
Viewing Multi-Site Dashboard issues ──────────────────── 3-5
Configuring Multi-Site Dashboard ───────────────────── 3-5
Resolving Multi-Site issues ──────────────────────── 3-6
Monitor data exchange transactions ────────────────── 3-8
Monitor data exchange transactions ──────────────────── 3-8
Configuring data exchange transaction monitoring ────────────── 3-9
Viewing data exchange transaction records ───────────────── 3-10
Share bulk data ─────────────────────────── 3-11
Bulk loading product data ──────────────────────── 3-11
Copying product data from your production environment ─────────── 3-11
Copying product data into your test environment ────────────── 3-12
Logging
Monitoring system logging ────────────────────── 4-1
Configuring the Audit Logs page ─────────────────── 4-1
Audit Logs page configuration tasks ──────────────────── 4-1
Activate the Audit Log page ──────────────────────── 4-3
Customize audit logs field display ───────────────────── 4-4
Teamcenter Administrator
Learn about administration tools available in Active Admin workspace
Active Workspace
Control user access to data Manage which data your users see
Share data Share data with external locations
Monitor system logging Configure and view log files
Manage your site's settings and performance Manage system settings and performance
This workspace is an exclusive workspace designed for Active Workspace administrators. Since it is
exclusive, there are a limited set of pages and commands that the administrator is allowed to visit. For
example, there is no access to initiate a workflow, change management, scheduling, or other end-user
functionality.
The workspace provides quick access to the most common administrative functions on the home page
tiles.
See the workspace definition file for a complete list of available pages and commands. The following
applications are displayed in the Active Admin workspace home page by default:
• People
Manage your organization. Create and modify groups, roles, and users. Remove roles and users.
Note:
You must use the Teamcenter rich client to remove or delete a group or subgroup from the
parent group, as this capability is not available using the Active Workspace client.
• Preferences
• Workflow Designer
Use a graphical editor to view and design workflows and task templates.
• Assignment Lists
Prepare lists of groups or roles to assist your users when they assign users to workflows.
• Viewer administration
Example:
You want to set up the organizational structure for a project that requires an administrator, a
project manager, two designers, and two analysts. You first create a project and add a group to the
project. You then identify the users or create new users that you require for your project. Next, you
search for existing roles or create new roles required for the project. You then add the roles to the
group, and add users to the respective roles in the group.
Groups
In Active Workspace, the term group refers to a cluster of users who take on a role or multiple roles
in a group. Groups can be created to represent data ownership and to control data access. Projects
are created with specific groups, users, or roles assigned as team members, privileged team
members, and team administrators.
Typically, groups are defined along project lines and not functional lines. However, you can also
create groups of third-party organizations such as suppliers.
A group member can be a member of multiple groups. Groups make up the core of the organization
structure.
Note:
You must use the Teamcenter rich client to remove or delete a group or subgroup from the
parent group, as this capability is not available using the Active Workspace client.
Example:
The high_performance group consists of 2 roles, that is, Engineering Manager and
Standards Engineer, and 2 users, namely, rgreen and mread, who are assigned their
respective roles.
A volume is a location where files are stored. A volume corresponds to a directory on the
operating system. Files stored in volumes are created by CAD applications or other third-party
applications. You can assign volumes to groups and define file locations for your organization
structure.
A subgroup is a group with another group designated as its parent. A subgroup may also be
designated as a parent group. The position of subgroups within the organizational hierarchy can
be managed by parenting and reparenting groups.
Subgroups can be used to organize users. Subgroups inherit access permissions, volumes, and
preferences from their parent.
Example:
Consider a scenario where you wish to restrict contractors from viewing any content in the
employee group. In this case, you can create subgroups abc and acme within a group such
that users from these subgroups will not have access to the content from any groups other
than their own.
Roles
A role defines the type of work a user is expected to perform in a group. Roles refine the group
definitions of your organization structure.
Tip:
While creating roles, use real-world descriptions, skills, and responsibilities.
Example:
Robert Green, a user, is assigned the default role of Engineering Manager. In addition to his
responsibilities as engineering manager, Robert must also perform standards-related work.
Therefore, user rgreen is assigned two roles in the high_performance group: Engineering
Manager and Standards Engineer.
Users
Users are individuals who interact with Active Workspace. A user is assigned to a default group and
takes on a role in the group.
When you assign a license bundle to a specific user, the user assigned to the bundle is assured the
availability of all the features in the bundle. You can use license bundling in conjunction with
other licensing schemes. Consider a scenario where a user is assigned a license bundle that does
not include the Systems Engineering module. When the user launches Systems Engineering, the
system confirms if the feature key exists in the license file outside of the license bundle. If the
feature key is found, the application can be used.
A license server is a process dedicated to tracking license usage by users. It runs on a host
machine and port specified by an administrator. An administrator can set up multiple license
servers. Each license server can have a different set of users assigned to it. This allows the load
balancing of license requests so that a single license server is not overused.
Users can be assigned various roles in the organization. A user can also be part of multiple groups in
the organization.
Example:
Robert Green, a user, is assigned the default role of Standards Engineer and belongs to the
default group high_performance.
In Active Workspace, you can use the PEOPLE tile to create and modify users, roles, and groups and to
set up authorized access using login credentials for each user.
Note:
The PEOPLE tile is visible in both the Active Admin and Default workspaces. It may be visible in
the General User workspace.
You can create your own workspace mapped to a special group of non-dba group users and add
the PEOPLE tile to it. This allows users to perform admin work because privileges for dba group
users are too broad.
As a database administrator, you can create users and user roles specific to your organization. You can
then add the users and roles to a specific group to grant them authorized access to the application.
Create a group
• Name
• (Optional) Description
• (Optional) Security
• (Optional) To Parent
To create a subgroup for an existing group, select the parent group from the list.
3. Click Add.
Note:
You can also create groups in the Organization tab. To do so, in the Organization tab, click New
> Add, and follow similar steps to a create a group.
Create a role
2. In the Add panel, specify values for the Role and, optionally, a Description.
3. Click Add.
Create a user
• Name
• User ID
• OS Name
• Default Group
• Status
Note:
To create an active user, set Status = 0.
• License Level
Note:
The types of licenses available depends on your license agreement. For descriptions of the
available license levels, see your license agreement documentation.
0 (Base)
1 (Standard)
2 (Professional)
3 (Mockup)
• (Optional) Geography
• (Optional) Nationality
• (Optional) Citizenships
• Address
• City
• State
• Zip Code
• Country
• Organization
• Employee Number
• E-Mail Address
• Phone Number
• Locale
• Time Zone
3. Click Add.
1. In the Organization tab, select the group to which you want to add users.
• In Search, enter the name of an existing role, and select the required role from the search
results.
4. Click Add.
• In Search, enter the name of an existing user and select the required user from the search
results.
9. Click Add.
Tip:
If you add a role to a group, but do not assign any users to that role, it will not appear in the
Organization tree.
Managing users
4. Modify the user information and click Edit > Save Edits.
1. In the Roles tab, select the role for which you want to view the user activity logs.
A table that shows the Logged Date, the Event Type Name, and the Login User ID is displayed
under ORGANIZATION LOGS.
The Access tab enables you to view access rights on objects in Active Workspace. As an administrator, it
helps you determine if the correct access privileges have been assigned to the selected user. If a user is
assigned multiple groups and roles, you can determine access for that user by selecting a particular
group/role combination and clicking Show Access Rights.
Filters the user, group, and role for the current user session context.
You can use these filters to select another user, group, and role combination for which you want to
view the associated access rights for the currently selected object. Click Show Access Rights to apply
these changes.
• ACCESS RIGHTS
Lists the operations and privileges granted to the filtered combination of user, group, and role.
• ASSOCIATED RULES
Note:
By default, the Access tab is not available. To add the Access tab, edit the style sheet registered
to the summary view for the object type to which you wish to add the Access tab.
Example:
Ed, a designer in the engineering group, designed the Motor Shaft object. His access rights are shown
in the ACCESS RIGHTS section. As indicated in the ASSOCIATED RULES section, Ed is granted DELETE
access rights because he is the Owning User.
1. Open the style sheet registered to the summary view for the type of object to which you wish to
add the Access tab:
• Item revision
• Document revision
• Requirements revision
a. For an item revision, add the line here in the Awp0ItemRevSummary style sheet:
b. For a document revision, add the line here in the Awp0IDocumentRevSummary style sheet:
1. In the Users tab, select the user whose password you want to add or change.
3. In the Change Password panel, enter a password in the New Password box.
5. Click Change.
Deactivate users
You can deactivate a specific user ID by modifying the status of the user. This user is retained in the
database and can be activated for future use.
Example:
Consider a designer who will be going on an extended leave of absence. Instead of deleting the
user from the project group, you can temporarily deactivate the user. Once the user is available,
you can set the status to active.
1. In the Users tab, search for the user whose status you want to modify.
1. In the Organization tab, search for the group from which you want to delete a user.
2. Click the group to view a summary of the roles and users that are included in the group.
3. In Roles, select the row that displays the user that you want to delete.
4. Click Remove .
Managing roles
Edit a role
In the Roles tab, search for and open the role that you want to modify.
2. Click Open .
4. Modify the role name and description and click Edit > Save Edits.
Delete a role
Note:
You cannot delete a role that is referenced by another organization object.
1. In the Organization tab, search for the group from which you want to delete a role.
2. Click the group to view a summary of the roles that are included in the group.
3. In ROLES, select the row that displays the role that you want to delete.
Managing projects
In the Teamcenter rich client, the Project application provides a means to group data and users from
different groups, such as Engineering, Supplier, and Customers, and allow configuration of access rules
based on this grouping. This is an easy way to organize your data and implement the access control
based on a business project or program's security requirements.
Using the Active Workspace client, you can use the PROJECTS tile to create projects and programs and
manage your project teams by correlating groups of users, potentially at different physical sites, with
your product data. However, you must use the rich client to delete projects.
A project comprises a group of users each having one or more roles. For example, this project consists of
an administrator, a project manager, two designers, and two analysts.
There are several measures you can use to control access to your project data:
• When creating a project, you can use the Project Category field, which allows you to restrict a user's
access to objects based on the category of the project. For example, a user assigned to the Supplier
project category would be unable to view proprietary information. The default project categories are
Internal, Partner, and Supplier.
• Designating team members as privileged is one step in the process of granting access to users to
allow them to assign data to and remove data from projects and programs.
In Active Workspace, as Project Administrator or Team Administrator, you use the PROJECTS tile to
manage your project teams. For example, you can add groups, roles, and users to your project by
selecting them from your organization.
Depending on your role, you can perform the following project-related tasks in Active Workspace:
Note:
You can designate multiple team administrators for
each project. This is often necessary to balance resource
management tasks for large projects.
Team Administrator Project team member with privileges to add and remove
project members.
Users in the Team Administrator role can:
Note:
You can designate multiple team administrators for
each project. This is often necessary to balance resource
management tasks for large projects.
Privileged team members Project team members with privileges can view their projects
and their team members. They can also assign or remove
objects to or from their projects.
Non-privileged team Project team members without privileges can view their
members projects and their team members.
As an administrator of a project team, you can select a project and view your team members. In
addition, you can add and remove users, roles, and groups.
1. As Project Administrator or Team Administrator, select a project to display the TEAM MEMBERS
section.
• Project Administrator
• Team Administrator
• Privileged
• Non-privileged
Example:
In this example, when you expand the role, you see the user whose status on the project is
Project Administrator.
2. From TEAM MEMBERS, click Add to open Organization to search for a user
3. Select the user, and click Add to add the selected user to your project team.
Note:
To remove a user from the project, select the user and click Remove .
Example:
From Organization, filter on Nora. Then, select Nora and click Add.
2. From TEAM MEMBERS, click Add to open Organization to search for a role.
3. Select the role, and click Add to add the selected role to your project team.
Note:
You cannot remove a user from a role. You must remove the role.
To remove a role from the project, select the role and click Remove .
Example:
From Organization, filter on Change Analyst. Then, select the role and click Add.
2. From TEAM MEMBERS, click Add to open Organization to search for a group.
As a Project Administrator or a Team Administrator, from TEAM MEMBERS, click Add to open
Organization to search for a group, select the group, and click Add to add the selected group to your
project team.
Note:
You cannot remove a role or a user from the group. You can only remove the group.
To remove a group from the project, select the group and click Remove .
Example:
From Organization, filter on Test. Then, select the role and click Add.
You can set or change an owning program on an object to control access to data. Once you configure
owning program, users can set or change owning programs for instances such as:
To view the Owning program tab, you must set the AWC_Project_showOwningProgramTab
preference to true. Owning program can be set on the object only if the autoAssignToProject extension
is enabled on the object type.
Note:
If you use the Aerospace and Defense template, the autoAssignToProject extension is enabled by
default.
For more information on owning program and the autoAssignToProject extension, refer to Project and
Program in the Teamcenter documentation.
You can configure project-level security for selected objects at the item level and have it available to all
revisions under the item. When selecting either This Revision or All Revisions, the following
preferences should be set to the default value to ensure security is applied correctly.
• TC_Security_Apply_To_Visible
Activates the visibility of the Apply To project option. When set to true (default), the Apply To
project option is available.
• TC_Security_Apply_To_Item_Revision
Controls the behavior of the Apply To project option. When set to true, security is applied to item
revisions. If set to false (default), security is applied to items.
Also, you can hide the project section from the Add panel for items. To do this, modify your data model
configuration in Teamcenter using the Business Modeler IDE and set the Fnd0EnableAssignProjects
constant to False.
For more information about modifying business object constants, see Configure your business data
model in BMIDE.
• Briefcase lets users share Teamcenter data with connected and unconnected sites using TC XML and
Briefcase files.
• Multi-Site Collaboration lets users share and synchronize data in near real-time between Teamcenter
sites across the entire enterprise.
• PLM XML lets users share Teamcenter data with third-party applications using the open PLM XML
format.
• Bulk data migration tools let administrators exchange large volumes of data when populating test
environments.
Briefcase
Briefcase (on Windows or Linux) and Teamcenter Dispatcher (on Windows or Linux) must be installed to
access Briefcase features using Active Workspace
Each Active Workspace site that is importing or exporting Teamcenter data must have a Briefcase
license. Active Workspace sites using the following optional import and export features must each also
have an Advanced Multi-Schema Exchanger license:
Contact your Siemens Digital Industries Software customer service representative for more information
on Briefcase licenses.
Multi-Site Collaboration
Multi-Site Integration (on Windows or Linux) must be installed to access Multi-Site Collaboration
features using Active Workspace. Collaborating sites also need to be licensed to use Multi-Site
Collaboration.
• Control the scope of remote Multi-Site Collaboration objects checked out and checked in by
users.
• Configure and use Multi-Site Dashboard to monitor the status of your Multi-Site federation.
PLM XML
PLMXML Export Import (on Windows or Linux) and Teamcenter Dispatcher (on Windows or Linux) must
be installed to access PLM XML features using Active Workspace.
See Configure PLM XML data sharing to specify the list of PLM XML object types that can be exported
and imported at your site.
Briefcase (on Windows or Linux) and Teamcenter Dispatcher (on Windows or Linux) must be installed to
access the Active Workspace bulk data migration tools.
See Bulk loading product data to extract data from one Teamcenter environment to copy to another.
See Configure report layout settings to configure the readability of data sharing export, import, and
validation reports.
Text.Awp0TextViewer=Text
XMLRenderingStylesheet.Awp0TextViewer=XMLRendering
Ensure the following values, which improve rendering of code, are not included in the
AWC_defaultViewerConfig.VIEWERCONFIG preference value:
Text.Awp0CodeViewer=Text
XMLRenderingStylesheet.Awp0CodeViewer=XMLRendering
Briefcase_checkout_supported_types
The list of types supported for Briefcase checkout.
Briefcase_configured_export_supported_types
The list of types supported for Briefcase configured export.
Briefcase_export_supported_types
The list of types supported for Briefcase export.
Briefcase_ownership_transfer_supported_types
The list of types supported for Briefcase site ownership transfer.
Briefcase_pkg_file_name
The default file name format for exported Briefcase files.
Briefcase_tcmail_notification
Specifies whether an email notification is sent when a Briefcase is created.
Manage Multi-Site
Use the MultiSiteCICORule closure rule to control the scope of objects checked out and checked in by
users when they check out and check in remote objects managed by Multi-Site Collaboration. The
closure rule defines primary objects and the related secondary objects to be checked out or checked in
as well.
Update the closure rule definition to add other related objects to check out and check in automatically
with objects. For example, to automatically check out related item revision datasets, add a line to the
closure rule definition with the following values:
Multi-Site Dashboard
Multi-Site Dashboard provides a way to view the issues in your Multi-Site federation through charts,
graphs, and detailed object reports. Analyze and resolve these issues to reduce the number of errors and
time spent by users in attempting to transfer data or to perform other business tasks.
The data reported in Multi-Site Dashboard is gathered when running the data_report utility. The
dashboard identifies the following issues for the entire federation and for individual sites in the
federation.
• Duplicate Item IDs, Item Revision IDs, or Keys (including multi-field keys)
• Item IDs, ItemRevision IDs, or keys that are not synchronized with the owning site.
See Resolving Multi-Site issues for recommendations on resolving these Multi-Site Collaboration data
issues.
When you log on to Active Workspace as an administrator, the Multi-Site Dashboard tile is available on
the Active Admin workspace home page. Use the following guidelines for viewing Multi-Site Dashboard
issues.
Viewing issues
When first opening Multi-Site Dashboard, the status from the most recently run report is displayed,
summarizing all issues across your entire Multi-Site federation. Hover over a chart to view the number of
issues of each type.
The lower half of Multi-Site Dashboard breaks down the different types of issues across the federation.
Change the value of Chart by to toggle between viewing issues by type or by site.
Return to the overall summary of issues across your Multi-Site federation at any time by clearing the
selection for all sites in the left pane.
Click a site name in the left pane to see a breakdown of the types of issues found at that site. To see a
further breakdown of an issue type, along with a listing of all objects with that issue, click one of the
charts.
Click History to see the federation or selected site trends for each error type over previous runs of the
data_report utility. Select a different value for Runs to change the number of runs displayed. Hover
over charted data points for summaries from each run.
Multi-Site Dashboard presents the status for specified sites in your Multi-Site federation based on data
gathered when running the data_report utility. Configure and gather Multi-Site Dashboard data as
follows.
The Multi-Site sites from which data is gathered and reported must be specified with the
MS_dashboard_Supported_Sites option.
On the site from which reports are generated, add MS_Dashboard_Supported_Sites to the list of
Teamcenter site names for which you want data reported by Multi-Site Dashboard. This is also the list of
sites that are used with the data_report utility.
From a command line, use the data_report utility to gather and generate reports presented with Multi-
Site Dashboard. You can run this report manually or use your operating system to schedule it to run at
regular intervals.
Following are some examples of using the data_report utility (not including required login
information). See data_report for additional details.
To gather data and generate reports for all sites and the overall federation (as defined with
MS_Dashboard_Supported_Sites):
data_report
To generate reports for all sites and the Multi-Site federation using data previously collected:
data_report -f=generate_reports
Item ownership
Problem Solution
Item with multiple owning sites Decide which site is to be the owning site. To determine this, run
the item_report utility to compare the items on the different
sites.
Convert the appropriate item from a primary item to a replica
using ensure_site_consistency with the -f=recovery option.
Using -f=recovery will recover the SST dataset if the dataset
exists. If -f=recovery fails to convert the item to a replica, retry
the command using -f=offline_recovery in place of -f=recovery.
Problem Solution
ensure_site_consistency -f=recovery
-mode=auto -real_owning_site=master_site
Item with no owning site Decide which site is to be the owning site. To determine this, run
the item_report utility to compare the items on the different
sites.
Convert the appropriate item from a replica to a primary item
using ensure_site_consistency with the -f=recovery option.
Using -f=recovery will recover the SST dataset if the dataset
exists. If -f=recovery fails to convert the item to a primary item,
retry the command using -f=offline_recovery in place of -
f=recovery.
ensure_site_consistency -f=recovery
-mode=auto -remote_site=replica_site
Inconsistent ownership replica From the owning site, run data_share to resend the data.
Duplicate IDs
Problem Solution
Duplicate Item ID or Key Avoid the ID conflict during import by using the item_rename
utility to rename the target site item.
Duplicate ItemRevision ID or Key Avoid the ID conflict during import by using the item_rename
utility to rename the target site item.
Inconsistent Item ID or Key From the owning site, run data_share to resend the data.
Inconsistent ItemRevision ID or From the owning site, run data_share to resend the data.
Key
Object ownership
Problem Solution
Object ownership error Add the problem object UID to a UID list file named uid.txt and
run the tcxml_ownership_recovery utility with the following
form:
tcxml_ownership_recovery
-inputuidfile=uid.txt -action=flip
-targetsite=owning_site_id
You can use Data Exchange Transactions to view and analyze your organization's history of Multi-Site
and Briefcase transactions. Filter transactions based on completion status, exchange type, source and
target sites involved, and other factors. With these transaction records, you can:
• Drill down through charts and graphs to quickly diagnose data exchange failures
• Use the broad view of your data exchange activities to better identify patterns of failure across
multiple sites
• Analyze patterns and trends in data exchange usage to inform ongoing process improvements
Multi-Site
• Data shared and retrieved between sites using Active Workspace
• Remote export and import operations made using the rich client
• Active Workspace
• Rich Client
Bulk data exchanges and PLM XML transactions are not recorded.
Configure the following aspects of gathering and displaying your organization's data exchange
transaction records.
You can configure your site to record Multi-Site, Briefcase, or both types of data exchange transactions
originating at a site. Use the TXN_Supported_Application_Types preference to specify which data
sharing transactions are recorded and reported. Set the preference to a value of Briefcase, Multisite, or
both values depending on the types of data sharing transactions you want to record.
By default, all transactions started from a site are recorded and can be viewed only when logged onto
that site. Alternatively, several sites can send their transaction records to a common site for consolidated
viewing of the organization's data exchange transactions at that common site.
To use a common site to view transaction records, on each of the remote sites set the TXN_Central_Site
preference to the Site Name value of the common site.
By default, a site's transaction records for the previous 30 days are reported. Change the default number
of days to report by updating the value of the TXN_history_range preference.
Transaction records remain in a site's history until they are manually removed. To delete records from a
site's history, log onto the site, open a command window, and run the translation_monitor utility. (See
transaction_monitor for more details on the utility.) For example:
When you log on to Active Workspace as an administrator, the Data Exchange Transactions tile is
available on the Active Admin workspace home page.
By default, records for only those data transactions originating at your site are displayed. Your site may
be configured to view transactions originating at other sites, too.
Click the Multi-Site or Briefcase tab to view transaction records for your site's recorded transactions.
(Depending on your site's configuration, the tabs available may vary.)
Several graphs summarizing data exchanges originating at your site are displayed. Summaries are
organized by status, type, and involved sites.
Below the graphs, the transaction records for the site are listed. Open any of the records in the list to
view additional details about the record, such as the source and target sites, transaction type, objects
involved in the transaction, any reported errors, date and time of the transaction, and locations of
related log files.
Click one or more bar graphs or chart segments to refine the list of transaction records to those
selections. Remove filters at any time by closing the selected filter.
Specify a different date range from which to view transaction records by entering From and To values
and clicking Apply Filters. The record list is updated to show transactions from the new date range.
By default, the transaction records for the previous 30 days are reported.
Enter a value in the Filter field and click Apply Filters to refine the reported records to only those
objects with IDs containing the value and to records with Briefcase file names containing the value.
Active Workspace provides tools to extract data from one Teamcenter environment to copy to another.
You would typically use these tools when testing Teamcenter upgrades and customizations in test
environments.
When creating a test environment, you may need to duplicate large amounts of data from a production
environment in the test environment. Doing so delivers a test environment with an applicable, broad set
of data with which to test customizations and updated software.
Requirements
You must be logged on as a user with administration privileges to use the bulk extract and copy tools.
To bulk copy product data into a site, the site must be designated as a test site. You can designate a site
as a test site when installing it. You can also use the install utility with the -mark_as_test_env
argument to convert a site created as a production environment to a test environment.
Use the following steps to copy data from a production environment to a Briefcase file that can be
loaded into a test environment.
1. Log on to Active Workspace with administrative privileges and select one or more items,
assemblies, or folders as root objects to copy.
2. Click Share > Bulk Extract to display the Bulk Extract panel.
3. Select the transfer option set to use when copying the objects. (Only unconfigured transfer option
sets are available.)
5. Click Override Options and review the default settings for extracting the data. Update the options
as necessary and click Override.
6. Click Extract to begin copying the objects to the Briefcase file. You receive an alert when it is
complete.
You receive a report alert when the Briefcase file is created. Click on the alert to view the report. Access
all recent alerts from the Subscription tile.
• The Properties section of the report includes details such as a list of the user extracting the data and
the transfer option set used. Under Related Objects, click on the export log entry to view additional
details, including a complete list of the objects extracted.
• The Target Object section of the report contains a link to the Briefcase file containing the extracted
objects. Select the Briefcase file and click View > Load Briefcase to review the contents of the file.
Download the file and save it to a location accessible by the test site.
Use the following steps to load data copied from a Teamcenter production environment into a test
environment.
To bulk copy product data into a site, the site must be designated as a test site. You can designate a site
as a test site when installing it. You can also use the install utility with the -mark_as_test_env
argument to convert a site created as a production environment to a test environment.
1. Log on to Active Workspace with administrative privileges and select the folder into which the root
objects will be copied.
2. Click New > Bulk Copy to display the Bulk Copy panel.
3. Use Choose File to locate the Briefcase file containing the data to copy.
4. Select the transfer option set to use when importing the file. Override any options as necessary.
5. Click Bulk Copy to import the objects in the Briefcase file. You receive an alert when the import run
is complete.
Note:
If you are using Active Workspace with a version of Teamcenter earlier than 13.2 when
copying the data from the Teamcenter production environment or to the test environment,
the root objects will not be copied to the selected folder. You must search the Teamcenter
database for the copied data.
You receive a report alert when the copying completes. Click on the alert to view the report. (Access all
recent alerts from the Subscription tile.)
The folder into which you copied the data is listed under Related Objects in the Properties section of
the report. Under Target Object, download the import log, which includes details such as a list of the
objects copied and the transfer option set used.
These logs record activities performed on selected data model objects. This provides a tracking
mechanism for any changes made to those objects for historical record.
This collects and combines the logs from several microservices. If your microservices are distributed, you
should consider installing the Log Aggregator.
In Teamcenter, the following audit log types hold audit records based on logical groupings of object type
and event type combinations:
• General logs
• Organization logs
• Security logs
• Schedule logs
• Structure logs
• Workflow logs
An audit log dataset is a stylesheet configuration representing applicable audit log types for a context
object. The Audit Logs tab in Active Workspace provides a segregated view of audit logs in different
sections. As a system administrator, you can create and configure audit log datasets.
As a DBA user, you can view audit logs using the Audit Logs tab in Active Workspace.
To enable the audit log feature, you must install the Audit feature during your Active Workspace
installation using Teamcenter Environment Manager (TEM).
Set the AWC_show_audit_logs preference to activate the Audit Log tab in Active Workspace. By
default, the value is true for the dba group. As a DBA user, you can set the preference for specific
groups, roles, and users from:
For more information, see the Using Teamcenter preferences video in the Teamcenter
documentation.
For more information, see the Utilities Reference in the Teamcenter documentation.
You can customize which fields are displayed in each audit log. For example, by default the General
Logs audit log displays the following fields:
• Logged Date
• User ID
• Change ID
• Reason
• Group Name
• Role Name
• In Active Workspace, you can use the Arrange panel to reorder, hide, or display columns.
1. In the rich client, search for the audit log file you want to edit. For example, select the
GeneralAuditLogs file to remove a field name in the General Logs audit log.
2. Delete the line associated with the field you want to remove. For example, delete the following
line to remove the Secondary Object Type field:
<property name="fnd0SecondaryObjectType"/>
4. Using Active Workspace, verify the Secondary Object Type field was successfully removed.
Note:
Your administrator must enable the Audit Logs page for Active Workspace. Also, you must have
administrative privileges or you must be granted privileges to view audit logs.
System administrators use Audit Manager to create audit logs. Audit logs track what information has
changed and who has changed the information.
You can view audit logs using the Audit Logs tab in Active Workspace.
By default, the following four audit logs are viewable in Active Workspace for Item, ItemRevision, and
its subtype:
• Workflow Logs
• General Logs
• Structure Logs
You can customize which audit logs are displayed to users by adding or removing audit logs to customize
your XRT pages.
Following is a table that shows the audit dataset for the associated object type.
BOMLine AuditLogForBOM
Form/Folder/WSO AuditLogGNForWSO
Dataset AuditLogForDataset
User/Group/Project AuditLogForUserContext
GroupMember/Person/ AuditLogForOrg
Role/Site/Volume/
TCCalendar
SchDeliverable/SchTaskDeliverable/ AuditLogForScheduleMgmt
ScheduleMember
EPMJob/EPMTask/ AuditLogForWorkflow
PerformSignoffTask
Scp0Regulation/ AuditLogForSubscmpl
Scp0SubstanceCmplResult/
Scp0Exemption/
Mat1Substance
1. Open the XRT page that you want to modify, for example, Awp0DocumentRevSummary, and add
the audit log to your custom XRT page by inserting an inject statement for the audit log you want
to add.
Note:
Siemens Digital Industries Software recommends you rename your edited file before saving
changes to retain the default file.
In a typical deployment, Teamcenter microservices are distributed across multiple machines. For a
particular transaction or operation, microservices across the deployment could be involved, including
separate instances of a given microservice on multiple machines. If a failure occurs, part of the
investigation may require reviewing multiple microservice logs to find the root cause of the issue.
Log aggregation eliminates the need to manually fetch and inspect each log on each machine in the
deployment. A log forwarder on each microservice node forwards logs to a log aggregator for collection
in a single location, either in a consolidated file or preferably an Elasticsearch endpoint. In this single
location, administrators can search for log entries of certain error levels or for entries with a matching
stable correlation ID value.
Use Deployment Center to install the microservice log aggregator. The log aggregator cannot be
installed using Teamcenter Environment Manager (TEM).
1. Download the microservice framework install kit and place it in the Deployment Center repository.
2. Open Deployment Center to the environment where you want to install the log aggregator.
3. On the Applications panel, add the Teamcenter Microservice Framework and Aggregated
Logging applications.
For this
property Do this
Installation Enter the location on the host machine where the Log Aggregator must be
Path installed.
Machine Enter the name of the machine where the Log Aggregator must be installed.
Name Include the domain in the name.
Note that on Linux hosts, a Docker placement constraint is set so that the
aggregator continues running on that exact node in the swarm.
OS Choose the operating system that is installed on the host, either Windows or
Linux.
Type and To ensure high availability of log aggregation, you can add multiple Log
Aggregator Aggregator component instances. Each instance is installed on the node
Port (for identified in its Machine Name parameter.
Windows hosts)
One instance of the Log Aggregator component must be set to Type=active.
Other instances must be set to backup.
Set Aggregator Port to the port number you want to use for this instance of the
log aggregator. You can specify any open port number.
Output Logs Choose the destination for the aggregated logs, either ElasticSearch or File.
to:
ElasticSearch
Copies the log files to your Elasticsearch endpoint (Elasticsearch version 7.x is
recommended). If you choose ElasticSearch, enter the settings for your
Elasticsearch endpoint:
For this
property Do this
If Elasticsearch traffic requires authentication, select the Requires
Authentication checkbox and enter the authorized Username and
Password.
File
Collects all logs in a single file with the naming pattern
tc_aggregated_logs*. A new log file is started daily. All aggregators in the
deployment must be able to write to the same physical disk, which can be a
network share or mount point.
When the destination file is on a Linux host, a mount point is created in the
Docker stack for writing logs into the machine's file system. To enable writing
the logs, enter the User ID and Group values for the user account under
which the aggregator container will run. To obtain these values, log on to the
aggregator host machine using that account and issue the id -u and id -g
commands.
On Windows hosts, in Aggregated Log Path, enter the location for the
aggregated log.
5. Configure the Microservice Node as described for the host operating system, either Linux or
Windows.
6. Generate deployment scripts as you would for any Deployment Center install procedure, and install
the log aggregator on the target host machine.
Once the Deployment Center scripts have been deployed, perform the following platform-specific steps
on the target host machine.
Note:
If authentication is required for Elasticsearch traffic, the credentials are stored unencrypted in a
Fluentd configuration file. This is a limitation of the Fluentd plugin. To secure the password, set
appropriate file system access controls on the file or control access to the machine. On Windows,
the file is [TC_ROOT]\tc_logging_aggregator\config \aggregator.conf. On Linux, the file is [MSF
INSTALL]/container/logging_configuration/fluent_aggregator.conf .
Windows
No additional steps are needed. By default, log aggregation services start automatically. The services
are named Teamcenter Logging Aggregator (if deployed on the node) and Teamcenter Logging
Forwarder (all nodes).
Linux
1. On the master node, launch a command prompt.
3. To verify that all services are running, run the command docker service ls.
The output of the command should show all the services running.
Depending on how the log aggregator was defined in Deployment Center, you can view the aggregated
logs either in one file or from an Elasticsearch database.
Logs are periodically collected in a single file with the naming pattern file tc_aggregated_logs*. A new
log file is started daily. You can view the logs with any text file viewer.
For nodes on Linux, a mount point is created in the log aggregation container on the machine where the
log aggregator is installed, and the logs are written there.
For nodes on Windows, the logs are located in the Aggregated Log Path location defined in
Deployment Center.
Logs are copied to an Elasticsearch endpoint. Typically, this endpoint is part of an Elastic (ELK) Stack, and
the logs can be searched using Kibana. Following is an example of how logs might be viewed. The
example briefly shows how things work. It is not a tutorial on how to use Kibana.
2. Click Discover.
b. Click Quick and choose Last 15 minutes or the range you prefer.
4. View your logs for the time range. The following example shows a parsed log line.
You can enable Transport Layer Security (TLS) for the log aggregation solution. Log aggregation makes
use of Fluentd and Fluentd plugins. Detailed configuration steps for enabling TLS are described in the
Fluentd documentation. The Fluentd documentation is available at https://docs.fluentd.org.
Configure TLS between the log aggregator and the log forwarder
1. Generate a self-signed certificate, following the Fluentd documentation for how to enable TLS
encryption for the forward input plugin.
Keep track of the password. You will use it later during configuration.
2. Save the certificate to a location that can be referenced by the log aggregation configuration.
Example:
C:\TR\tc_logging_aggregator\certs\fluentd.crt
3. On microservice framework nodes where the log aggregator runs, enable TLS mutual
authentication by modifying the log aggregator configuration file as described in the Fluentd
documentation for the forward input plugin.
The location and name of the aggregator configuration file depends on the node operating system:
Linux /container/logging_configuration/fluentd_aggregator.conf
Windows <installation>\tc_logging_aggregator\config
\aggregator.conf
Example:
<source>
@type forward
port 24224
bind "vc6s004"
<transport tls>
cert_path C:\TR\tc_logging_aggregator\certs\fluentd.crt
private_key_path C:\TR\tc_logging_aggregator\certs\fluentd.key
private_key_passphrase MyPassword12345
</transport>
</source>
Linux
Stop and restart the logging container.
a. To identify the log aggregator service in the running stack, run the command:
docker service ls
TC_MS_STACK_fluentd_aggregator
b. To remove the aggregator service from the stack, run the command:
c. To restart the log aggregator service with the new config file, run the command:
5. On all nodes, to connect to a TLS SSL-enabled server, modify the forwarder configuration file as
described in the Fluentd documentation for the forward input plugin.
The location and name of the forwarder configuration file depends on the node operating system:
Windows <installation>\tc_logging_forwarder\config
\forwarder.conf
Linux /container/logging_configuration/fluentd_forwarder.conf
Example:
<match **>
@type forward
send_timeout 60s
recover_wait 10s
hard_timeout 60s
transport tls
tls_cert_path C:\TR\tc_logging_aggregator\certs\fluentd.crt
tls_verify_hostname false
#
# The below include defines all the aggregator
# servers.
#
@include ./servers/*.conf
</match>
Linux
Stop and restart the forwarder container.
a. To identify the log forwarder service in the running stack, issue the command:
docker service ls
TC_MS_STACK_fluentd_forwarder
b. To remove the forwarder service from the stack, issue the command:
c. To restart the log forwarder service with the new config file, issue the command:
To configure HTTPS/TLS from the aggregator to your Elasticsearch server, refer to the Fluentd
documentation for the output plugin elasticsearch. The elasticsearch plugin is included with the
microservice framework kit.
Aggregate syslogs
When you configure log aggregation for a Teamcenter environment, deployment scripts install log
forwarder software on every corporate server in the environment. However, forwarding of server system
log (syslog) files is disabled by default. This is because syslog files can be very large. Copying the logs
across a network can create a large traffic load, and searching aggregated logs is practical only when
aggregation is to an Elasticsearch endpoint.
Depending on the corporate server operating system, use the following procedures to enable the
aggregation of syslog files.
1. On the Teamcenter corporate server whose syslog you want to aggregate, in the file Program Files
\Siemens\tc_logging_forwarder\config\sources\tcserver.conf, remove the comment
#ENABLE_TCSERVER# from all lines.
Example:
##################################################################
# Source Input - TCServer syslogs
##################################################################
#Uncomment lines below to enable TC syslog aggregation
#ENABLE_TCSERVER#<source>
#ENABLE_TCSERVER# @type tail
#ENABLE_TCSERVER#
#ENABLE_TCSERVER# #
#ENABLE_TCSERVER# # The below path may be updated to the location
of
#ENABLE_TCSERVER# # tcserver syslogs, if changed from default.
#ENABLE_TCSERVER# #
#ENABLE_TCSERVER# path C:/temp/*tcserver*.syslog
#ENABLE_TCSERVER# pos_file C:/temp/fluentd-tcserver.syslog.pos
#ENABLE_TCSERVER# read_from_head true
#ENABLE_TCSERVER# path_key log_file
#ENABLE_TCSERVER# <parse>
#ENABLE_TCSERVER# @type none
#ENABLE_TCSERVER# </parse>
#ENABLE_TCSERVER#
#ENABLE_TCSERVER# #Prefix with the parser type to use
#ENABLE_TCSERVER# tag mld.*
#ENABLE_TCSERVER#</source>
must become
#################################################################
#
# Source Input - TCServer syslogs
#################################################################
#
#Uncomment lines below to enable TC syslog aggregation
<source>
@type tail
#
# The below path may be updated to the location of
# tcserver syslogs, if changed from default.
#
path C:/temp/*tcserver*.syslog
pos_file C:/temp/fluentd-tcserver.syslog.pos
read_from_head true
path_key log_file
<parse>
@type none
</parse>
2. In the Windows services application, stop and then restart the log forwarder service Teamcenter
Logging Forwarder.
• For high availability and ease of administration, best practice is to join all corporate server hosts to the
same Docker swarm.
1. On every Teamcenter corporate server, start Docker. Docker may already be started if the corporate
server is also a microservice node.
1 If the host is a virtual machine, then Docker may have trouble identifying the physical IP address of the hardware. In that
case, run the command with the switch and parameter --advertise-addr <machine IP address> to
supply the physical IP address. For example, docker swarm init --advertise-addr
123.123.123.123
Tip:
If this is the master node and you intend to later join other nodes to this swarm as workers,
save the output command string for later use.
Once you have started Docker on a node, you can join the node to a running swarm.
2. To determine if the Docker Fluentd image needs to be loaded, run the command:
docker image ls
3. If the Docker Fluentd image is not loaded, issue the following commands:
cd $TC_ROOT/container
docker image load -i fluentd_service-1.9.1.tar
4. If the log aggregator microservice is not running in the same Docker swarm:
Example:
<server>
name fluentd_aggregator
host fluentd_aggregator
port 24224
weight 60
</server>
must become
<server>
name fluentd_aggregator
host 123.456.78.9
port 24224
weight 60
</server>
Example:
##################################################################
# Source Input - TCServer syslogs
##################################################################
#Uncomment lines below to enable TC syslog aggregation
#ENABLE_TCSERVER#<source>
#ENABLE_TCSERVER# @type tail
#ENABLE_TCSERVER#
#ENABLE_TCSERVER# #
#ENABLE_TCSERVER# # The below path may be updated to the location
of
#ENABLE_TCSERVER# # tcserver syslogs, if changed from default.
#ENABLE_TCSERVER# #
#ENABLE_TCSERVER# path /tmp/*tcserver*.syslog
#ENABLE_TCSERVER# pos_file /tmp/fluentd-tcserver.syslog.pos
#ENABLE_TCSERVER# read_from_head true
#ENABLE_TCSERVER# path_key log_file
#ENABLE_TCSERVER# <parse>
#ENABLE_TCSERVER# @type none
#ENABLE_TCSERVER# </parse>
#ENABLE_TCSERVER#
#ENABLE_TCSERVER# #Prefix with the parser type to use
#ENABLE_TCSERVER# tag mld.*
#ENABLE_TCSERVER#</source>
must become
#################################################################
#
# Source Input - TCServer syslogs
#################################################################
#
#Uncomment lines below to enable TC syslog aggregation
<source>
@type tail
#
# The below path may be updated to the location of
# tcserver syslogs, if changed from default.
#
path /tmp/*tcserver*.syslog
pos_file /tmp/fluentd-tcserver.syslog.pos
read_from_head true
path_key log_file
<parse>
@type none
</parse>
6. To deploy the log forwarder to the stack, change the directory to \containers and run the
command:
7. To verify that the forwarder service is running, run the command docker service ls.
The output of the command should show all services running, including at least the forwarder.
Troubleshooting
Perform many basic tasks including retrieving software release versions, resetting your gateway server,
monitoring the browser activity, and so on.
Client performance
Discover settings and concepts that may help improve client performance.
Preferences
Learn about how Teamcenter and Active Workspace store various settings as preferences.
Learn about various constant types that are part of the data model.
Server-side utilities
Gain an overview of certain Teamcenter server command-line utilities to help monitor and manage your
site.
Troubleshooting
Information about the running Active Workspace client and server, as well as the Teamcenter server
version, site ID, and database ID to which they are connected is available when you are logged in.
General troubleshooting
Note:
If the Active Workspace client exhibits unexpected behavior, it is always good practice to clear the
browser cache, and try the operation again. This is particularly important when server-side
changes are made, such as updating to a new version of Active Workspace.
1. In a text editor, open the jetty\etc\jetty-ssl.xml file and add the following
lines after the <Set name="TrustStorePassword"xxx</Set> line:
AW ROOT/microservices/gateway-nnn/config.json
When increasing this size, you must consider the capabilities of your hardware and
other software. Test any new values thoroughly before changing your production
environment.
After making any changes to this file, you must restart the gateway to implement
the changes.
Users working The Active Workspace administrator should verify that the tcSOAURL parameter is
with Active set correctly in the web.xml file.
Workspace
experience 403 1. Open the web.xml file in a text editor. The web.xml file located in the web
errors when application file (awc.war for Java or awc.zip for .NET).
accessing
thumbnails, files, 2. Search for the following:
or the viewer.
(The 403 error
<filter-name>TCLoginVerifier</filter-name>
may only be
visible in the
network page of 3. If necessary, update the value of the tcSOAURL parameter so that it is the
the browser’s same as the value used for the ProxyServlet redirectURL parameter, which is
developer tools.) also specified in the web.xml file.
Use the PLStats functionality of Active Workspace to view performance telemetry data.
When you use PLStats, it reports to the browser console information about memory usage, overhead
times, DOM node count, and so on.
Example:
host:port/awc/#/showHome
Becomes:
host:port/awc/?usePLStats#/showHome
Once you add this to the URL, Active Workspace will maintain it, printing out performance data for each
page. To stop using PLStats, remove the ?usePLStats from the URL.
In the detailed telemetry section, all values that are preceded by an asterisk will be reported to Siemens
Digital Industries Software, if analytics is enabled.
Example:
*ScriptingTime: "xxx.xxms"
Use the ping functionality to check the various components of the Active Workspace gateway
architecture, and verify connectivity.
http://hostname:3000/ping
You can disable this functionality by changing the pingEnabled setting to false in the gateway
config.json file.
AW ROOT/microservices/gateway-1.1.0/config.json
"pingEnabled": false
Tip:
You must restart the gateway to apply the change.
When you make changes to the configuration files for the Active Workspace gateway and
microservices, you must restart them for your changes to be recognized.
Windows
On Windows, all of the gateway services and microservices on a given machine are managed by a single
multi-threaded service. To implement your configuration changes, restart the service using the Services
control panel:
net stop "Teamcenter Process Manager" && net start "Teamcenter Process
Manager"
Linux
On Linux, the gateway services and microservices are manged by a Docker swarm. Force a rolling restart
on the gateway node. The others will restart in turn.
It is recommended to start the gateway after any graphQL services have had a chance to stabilize. The
gateway will make several attempts before giving up, but in some cases this will not be enough. You can
adjust the number of attempts made in the gateway's config.json file. Each attempt is 15 seconds.
"graphql": {
"endpoints": [
"darsi",
"tcgql"
],
"attempts": 5
},
This problem is more prevalent on Linux and Docker and especially when all of your gateway services
are installed on the same machine.
Intent
• Tailored for clean systems that have never had a previous installation of visualization.
• Intended for use when the Visualization Pool Assigner is deployed on a Java server on Windows.
Usage notes
• Document all changes made during this process so that all unnecessary changes can be reverted once
the system finally works.
• If a problem is identified and fixed during the diagnostic sequence below, but visualization still does
not work, return to the beginning of the diagnostic sequence.
Sequence
1. Verify that the servers are installed on computers that are running supported operating systems.
For example, Windows 7 Professional is unsupported.
2. Verify that the Visualization Server Manager is launched using the run_visservermgr.cmd script.
Caution:
You must not run the Visualization Server Manager as a Windows service, because doing so
significantly reduces stability and performance.
3. Verify that the Visualization Pool Assigner is launched using the run_visassigner.cmd script.
Caution:
You must not run the Visualization Server Manager as a Windows service, because doing so
significantly reduces stability and performance.
4. If the Visualization Data Server is installed and running, terminate the Visualization Data Server. It
is not required for loading small to medium sized models.
5. Turn off all firewalls. If this is not possible, verify that all ports and port-ranges declared through
TEM have been opened through firewalls.
6. Restart the visualization system. The following sequence yields the cleanest startup:
8. Does the 3D window waiting cursor (rotating circle) show for a long time and the 3D model does
not display?
• Yes -
• Log off and log on as the admin user. Navigate to Viewer Administration and verify that at
least one Visualization Pool Assigner and one Visualization Server Manager is listed.
If no Visualization Pool Assigner and Visualization Server Manager are listed, do the following.
b. Verify that Gateway forwarding is correctly pointing to the deployed Visualization Pool
Assigner by verifying that the following entry is correct in the config.json file.
"vis": {
"path": "/VisProxyServlet",
"target": "http://
<VisAssignerHostname>:<VisAssignerHostPort>>
/VisProxyServlet"
Where VisAssignerHostname and VisAssignerHostPort are the host and port where the
Visualization Pool Assigner was configured.
• No - Continue.
9. Does the following message appear in the Visualization Server Manager console within two
minutes of startup: Vis Server Manager is ready
• Yes – Continue.
• No –
• Does a JVM_Bind error appear in the Visualization Pool Assigner or Visualization Server
Manager console/log?
■ Yes – The server’s Socket Cache port is already in use by another process. Either use TEM to
alter the port, or terminate the process that is presently using the port. Then, restart the
visualization system.
■ No – Continue.
• Does the following error appear in the Visualization Server Manager console: Trouble
connecting to cold visualization server on port <PORT> with PID <PID> due to ‘The VisView's
reported system CPU usage (-1.0) is less than 0’. Retrying ...
■ Yes –
a. Verify that the Visualization Server Manager is installed on a computer that is running
a supported operating system.
b. On the machine hosting the Visualization Server Manager, execute the following
Windows commands:
cd C:\Windows\SysWOW64
lodctr /r
winmgmt /resyncper
■ No – Continue.
• Does a “Error reading 'begin' notification” error appear in the Visualization Server Manager
console?
■ Yes – You are likely pointing your Visualization Server Manager at an incorrect server or
port. For example, you may be pointing it at the Visualization Pool Assigner’s HTTP server
instead of the Visualization Pool Assigner’s Socket Cache server. If not, contact vendor.
■ No – Continue.
• Verify that the appropriate Microsoft Visual Studio Redistributables are installed. (They are
typically installed automatically).
a. Launch VisServerFV\Products\FoundationViewer\visview.exe.
■ Yes – Continue.
■ No –
• Is the Visualization Server Manager repeatedly reporting an error beginning with Could not
connect to VisPoolAssigner?
■ Yes –
◊ The Visualization Pool Assigner is running a server called the Socket Cache, but the
Visualization Server Manager is reporting that it cannot connect to that server. Verify that
the VisPoolProxy.peerNodes property in the Visualization Server Manager’s jetty/
jettyservice.properties file will enable the Visualization Server Manager to contact the
Visualization Pool Assigner’s Socket Cache server.
■ No – Continue.
c. Using the Registry Editor, delete the following folders in the registry:
HKEY_CURRENT_USER/Software/Siemens/AW/<<AW_RELEASE_VERSION>
HKEY_CURRENT_USER/Software/Siemens/AW_Retained/
<<AW_RELEASE_VERSION
e. Continue.
• Contact vendor.
10. Does the following error message appear in Active Workspace when trying to view 3D content: The
visualization servers are busy?
• Yes –
• Does the following error message appear in the Visualization Pool Assigner console: All Pool
Managers are full?
■ Yes –
a. Open the Visualization Server Manager's jetty/jettyservice.properties file and note the
value of VisPoolProxy.hostName.
b. From the Visualization Pool Assigner computer, open a command prompt and run
the command
ping <VisPoolProxy.hostName>
where <VisPoolProxy.hostName> is the value found in the jetty/
jettyservice.properties file.
◊ Yes – Continue.
◊ No –
■ No – Contact vendor.
• No – Continue.
11. Is a new VisView process started when you attempt to load a model into Active Workspace?
• Yes –
■ No – Continue.
• No –
• Set VisPoolProxy.warmServers=1
• Set VisPoolProxy.maxServers=1. (This prevents more than one VisView process from
starting.)
• Enable VisPoolProxy.envset.TCVIS_DA_DEBUG_LOG=True
• Enable VisPoolProxy.envset.TCVIS_LOGGING_LEVEL=DEBUG
13. Configure the Visualization Server Manager to operate with a virtual network card.
Set VisPoolProxy.envset.TCVIS_CUSTOM_SYSTEM_NETWORK_BANDWIDTH=1000
This sets the custom bandwidth (in Mbps) for an instance or for the system. For an Active
Workspace installation, if the Visualization Server that uses a virtual network card does not start,
enable this setting to start the Visualization Server.
a. Configure the Visualization Server Manager to be in debug mode. (see this step)
c. Verify that your FMS_HOME environment variable specifies the FCC installation area.
%FMS_HOME%/startfcc.bat
%FMS_HOME%/bin/fccstat –purge
%FMS_HOME%/bin/fccstat –kill
• C:\Users\%USERNAME%\FCCcache*
• C:\Users\%USERNAME%\Teamcenter\SOA
• C:\Users\%USERNAME%\vendor\logs
• C:\Users\%USERNAME%\fcc.*
• VisDataServer/Program/scratch/*.
C. Start FCC manually using the %FMS_HOME%/startfcc.bat command and verify that
there are no errors.
e. Clear the contents of the jetty/TEMP area of the Visualization Server Manager.
“ERROR: MkGetFileByFMSTicket”
“ERROR: MkCreateMoniker”
"ERROR: OpenDocumentByMoniker”
• Yes –
A. Open your FCC’s fcc.xml file and verify that it is pointing at correct locations and that
it is it free of typos.
B. If your FCC’s fcc.xml parentfsc is using HTTPS, verify the involved certificates.
• No – Continue.
15. Verify that the Visualization Server Manager has access to graphics hardware.
a. See the section “Configure the Visualization Server Manager to be in debug mode” earlier in
this procedure.
c. Does the log file contain the following message: System Supports OpenGL Version?
• Yes –
■ Yes – Continue
■ No –
• Yes –
• No – No solution.
• No – Contact vendor.
Troubleshooting Visualization
The following list of issues and possible resolutions addresses situations that are outside the scope of
the visualization troubleshooting diagnostic sequence for new installations.
1) Graphics in the viewer tab This is an indication that the graphics driver on the Visualization Server
display extraneous Manager machine is not up-to-date.
geometry.
Verification
Solution
If the driver for the graphics adapter is not the latest version, update
the driver and reboot.
1. Open Windows search and type Pen and Touch to find the
settings dialog box.
2. In the Touch tab, select the Press and Hold action and click
Settings.
3. Uncheck Enable press and hold for right-clicking and click OK.
# BBoxValidator logger
logging.loggers.BBoxValidator.name=BBoxValidator
logging.loggers.BBoxValidator.level=Debug
logging.loggers.BBoxValidator.channel=BBoxValidatorChannel
Use the bounding box validator to define the appropriate bounding box
for your assemblies.
FTS_INDEXER_HOME\working\TcFtsIndexer_structure\
MMV_Failure
Solution
If you notice the MMV_Failure folder is created and contains content,
contact Support Center to investigate the issues.
6) The Visualization Pool The Visualization Pool Assigner was likely mistakenly configured to
Assigner repeatedly adds the have a peer Visualization Pool Assigner. Peer Visualization Pool
error message "Could not Assigners are intended for load balanced configurations where there is
connect to <HOST>:<PORT>. more than one Visualization Pool Assigner in the system for improved
Retrying..." to the console/ load handling and/or failover. Open the Visualization Pool Assigner
log. configuration page in TEM and remove the Visualization Pool
Assigner’s peer assigner entry.
7) The Visualization Server The Visualization Server Manager process uses Windows performance
Manager displays the counters to read the current CPU usage of the computer. Windows
message “Trouble connecting performance counters can become broken, resulting in invalid values
to cold visualization server for the CPU usage, for example: -1.
on port XXXX with PID YYYYY
Solution
due to "The VisView's
reported system CPU usage
(-1.0) is less than 0". 1. Open a command prompt or PowerShell as an administrator.
Retrying ...”
2. Change the directory to C:\Windows\SysWOW64.
8) After a user exceeds the The Visualization deployment was likely mistakenly configured with
time out value, the Active the Teamcenter Load Balancer URL. Refer to Configure Visualization
Workspace viewer tries to where Teamcenter is deployed behind a load balancer.
reconnect but fails with the
In the developer tools console the following error will display if the
following error: "
deployment was configured with the Load Balancer URL: error “Failed
Visualization was not loaded
to connect to server: The TCLoginverifier likely refused this
because communication was
visualization-specifc request due a missing connection to Teamcenter.”
lost."
9) The Viewer doesn't load There is a startup preference for Active Workspace that contains the list
during initialization and you of all preferences that are loaded at startup. It must contain the full list
see a spinning circle. of preferences required by the viewer. If some of the preferences are
missing from this preference or from the database, the viewer may not
load properly. You will see a spinning circle over the graphics area, but
the viewer will not load.
It is especially important to check this if Active Workspace preferences
were installed or upgraded without using the install scripts provided by
Active Workspace or were modified after the install.
The full preference list and their default values can be found at:
{ROOT}\src\solutions\awv0activeworkspacevis\businessdata
\awv0activeworkspacevis\install\awv0_preference_skip.xml
The full list is below.
AWC_visNavigationMode AWC_visStdViewOrientationFront
AWC_vis3DNavigationMode AWC_applyTrueShadingMaterial
AWC_visShading AWC_visOverlayDisplayEffectivity
AWC_visMaterial AWC_visSelectionDisplay
AWC_visTrihedronOn AWV0SectionCapsEdgesInitialState
AWC_visFloorOn AWV0HostAWInVisUponLaunch
AWC_visFloorPlaneOrientation AWV02DViewerRenderOption
AWC_visFloorOffset AWV0ViewerRenderOption
AWC_visGridOn AWC_visExamineZoomIn
AWC_visShadowOn AWC_visExposedBetaFeatures
AWC_visReflectionOn AWC_visAllOn
AWC_visStdViewOrientationTop AWC_3DViewerDisplayUnit
AWC_visStdViewOrientationLeft
The Active Workspace Viewer Administration page provides information about active visualization
components including the server pool assigner, server manager, processes, and connected clients.
Tip:
To see the VIEWER ADMINISTRATION tile on the home page, make sure your organization
group and role is mapped to the right workspace.
The Viewer Administration page appears. The initial view of the page includes a diagram of the
server pool assigner, server manager, and the active processes and connected clients.
3. For details about an object included in the diagram, select the object, and click Information .
The Information panel appears, providing detailed information on the selected visualization
component.
Note:
To maintain a secure environment, sensitive information such as IP addresses and the session
ID is not displayed.
This troubleshooting topic assumes that you have already deployed the Active Workspace 3D viewer,
Visualization Data Server (VDS), and indexed the structure with the MMV flag. If you do not have a
working Active Workspace 3D viewer, review the other topics within Visualization monitoring and
troubleshooting. If you have a working viewer but your structure is not loading with MMV, then use this
checklist to troubleshoot your MMV deployment issues.
Ensure that FCC (File Client Cache) The FCC should be large enough to load all the JT data that is
is installed and configured needed for the indexed products.
correctly.
Use the VisView process log files 1. Enable logging through the jettyservice.properties file.
to determine if the viewer is using
the GPU. 2. Uncomment this line:
#VisPoolProxy.envset.TCVIS_LOGGING_LEVEL=DEB
UG
5. Search for OpenGL to find a block of text that looks like the
example below.
Verify that the configuration that For more information on using the FTSIndexer, review
is indexed is the same as what you runTcFTSIndexer.
are trying to view (e.g., same
Use the following command to get the FTSIndexer status.
revision, rule, effectivity, etc.).
runTcFTSIndexer –task=structure:show
2. Confirm that the State field value = 8 (success) and the
Subscribers field value = MMV.
If the indexing did not succeed, 1. Set the TcFtsIndexer logging to TRACE:
generate indexing logs for MMV.
log4j.logger.com.siemens.teamcenter.ftsi=TRA
CE
2. Modify the existing %TcFtsIndexer.home%\conf
\TcFtsIndexer.properties parameter:
Windows systems:
set TEM_SEENA=<password>
VisDataServer.exe /encryptpwf /
pwenv=TEM_SEENA /pwfile=d:\test.pwf
set TEM_SEENA=
Linux systems:
set TEM_SEENA=<password>
VisDataServer --encryptpwf
--pwenv=TEM_SEENA --pwfile=/tmp/
test.pwf
set TEM_SEENA=
2. In the VisDataServer.properties file, ensure that these
values are correctly set:
TeamcenterAccessManager.User1=Tc-admin-user
• Path to encrypted password file.
TeamcenterAccessManager.LoginFilePath1=C:/
myfolder/test.pwf
Verify that the URL is configured 1. In the jetty.properties file for the viewer (not the VDS),
correctly and that the viewer can locate the line similar to the following example:
access the VDS.
VisPoolProxy.envset.TCVIS_VISDATASERVERURL=h
ttp://<hostname>
:9990/ProductStructure
2. Copy and paste the URL into a browser window on the
machine where the viewer is running.
View the VDS logs if the viewer If the viewer isn't behaving as expected, do the following to view
isn't behaving as expected. the client communication logs to VDS. You should see FindRoot
call to confirm that the viewer is attempting to load a structure
with the VDS.
#logging.loggers.ProductStructure.name=Produ
ctStructure
#logging.loggers.ProductStructure.level=Debu
g
#logging.loggers.ProductStructure.channel=Co
nsoleChannel1
Note:
This will generate a lot of logs, so we don't
recommend doing this until you have reached this
step in the troubleshooting process.
VisPoolProxy.envset.TC_SOACLIENT_LOGGING=D
EBUG
You can monitor the Active Workspace Visualization Server system, including the Visualization Server
Manager, Visualization Servers, and the Visualization Pool Assigner, using a freeware Java Management
Extensions (JMX) client, such as Oracle Java Mission Control or JConsole. Monitoring these server
components with JMX is useful for identifying performance bottlenecks or other problems.
A JMX client installed on the same computer as the Visualization Server components automatically
detects all servers running on the machine. The information exposed by the visualization components is
presented using MXBeans.
To enable remote access for JMX clients, on the server you must configure authentication (users and
passwords) and encryption for the server process. Once remote access is enabled and configured, JMX
clients from remote machines can connect to the server.
For information about configuring remote JMX monitoring of server processes, see Monitoring and
Management Using JMX Technology in the Oracle Java SE Documentation.
Note:
JMX metrics can include the following composite data types with multiple values:
Each Visualization Server Manager hosts two MXBeans that contain information about its current state:
<poolName> and <poolName> monitoring. They are located in the Administer-<poolName>-
manager folder.
The <poolName> MXBean for the Visualization Server Manager provides the following information:
• CacheConfiguration
The configuration parameters used to connect the Visualization Server Manager to the Visualization
Pool Assigner.
• Language
• Load
A single ratio that represents how much of the computer’s capacity is currently in use. When this ratio
is greater than or equal to 1.0, the system is completely full and new clients are rejected.
• NumberOfAssignedServers
The number of Visualization Server processes in use or recently in use by client users.
• NumberOfColdServers
The number of Visualization Server processes in the process of starting up, although not yet ready for
use.
• NumberOfServers
The total number of Visualization Server processes (cold, warm, and assigned).
• NumberOfWarmServers
The number of Visualization Server processes ready for use by new client users.
• PoolID
• PoolSpecificConfiguration
• StartupDate
The data and time that this Visualization Server Manager was last started.
The <poolName> monitoring MXBean for the Visualization Server Manager provides the following
information:
• accepting
• assignedServerCount
The number of VisView processes that are currently serving users with visualization functionality.
• assignedVisViews
Specific information about each of the VisView processes that are currently assigned to users.
• assignedVisViewsCount
• computerCpuUsageRatio
A ratio indicating how much CPU usage is consumed or unavailable on this computer.
Note:
A ratio for Active Workspace MXBeans refers to a current usage value divided by the maximum
usage value. For example, a CPU usage of 30% is divided by the maximum of 100% to compute
a ratio of 0.3. All ratios in Active Workspace are between 0 and 1, unless the capacity of the
visualization system is exceeded, in which case the ratio is greater than 1.
• computerMemUsageRatio
A ratio indicating how much system memory is consumed or unavailable on this computer.
• computerNetworkUsageRatio
A ratio indicating how much network usage is consumed or unavailable on this computer.
• config
• dateCreated
The date and time that this Visualization Pool Assigner was last started.
• gpus
Specific information about each of the GPUs currently used by VisView processes.
• hostName
The name or IP address of the computer that this server is hosted on.
• languageID
The language that the server is currently running in. The default is English.
• loadRatioAbsolute
A ratio indicating how much of the computer’s resources is consumed or unavailable on this
computer.
• loadRatioRelative
A ratio indicating how much of the computer’s resources is consumed or unavailable on this computer
when compared to the maximum allowed resource-consumption-level (default of 0.7) of this server.
• maxBandwidthBytesPerSec
The maximum allowed bandwidth (in bytes-per-second) that this server is allowed to consume.
• numAssignmentsSinceStartup
The number of models that have used visualization system resources on this server.
• numGpus
• poolName
The alias defined by the administrator to identify this particular Visualization Server Manager.
• Prefers
• serverTooFullExceptions
When clients are refused visualization services, this contains the reason.
• serverTooFullExceptionsCount
• serves
The models that this server has currently in memory due to requests from users.
• totalGpuMemMB
• upTimeSec
How many seconds have elapsed since this server was last started.
• visSysCpuUsageRatio
• visSysGpuUsageRatio
• visSysMemUsageRatio
A ratio indicating the amount of system memory consumption of this server on the computer.
• visSysNetworkUsageRatio
A ratio indicating the amount of network usage of this server on the computer.
• warmServerCount
The number of VisView processes that do not yet have users but are ready to host visualization
services for new users.
• warmVisViews
Specific information about the VisView processes that do not yet have users but are ready to host
visualization services for new users.
• warmVisViewsCount
The number of VisView processes that do not yet have users but are ready to host visualization
services for new users.
Visualization Server
Each Visualization Server owned by the Visualization Server Manager hosts one MXBean that contains
information about its current state. The MXBeans for the Visualization Servers are called
VisView@PID_<processID>@Port_<port>. They are located in a folder called VisServers.
• ClientConnections
• DateCreated
The date and time that this Visualization Server entered a state where it was first made available to
client users (warm).
• Models
The IDs for the models that this Visualization Server is currently hosting.
• MsSinceLastEMM
The number of milliseconds since this Visualization Server last received a message from a client.
• Port
The port that this Visualization Server is currently hosting its socket server on for connections from
the Visualization Pool Assigner.
• ProcessCpuUsageRatio
The average amount of CPU usage that this Visualization Server has consumed on the Visualization
Server Manager computer over the last 20 seconds.
• ProcessGpu
General information about the GPU that the Visualization Server is using.
• ProcessID
Also known as the PID, this is the identifier that the operating system uses to denote this particular
Visualization Server.
• ProcessMemUsageRatio
The average amount of memory usage that this Visualization Server has consumed on the
Visualization Server Manager computer over the last 20 seconds.
• ProcessMyGpuMemUsageRatio
The average amount of GPU memory usage that this Visualization Server has consumed (of the
particular GPU that this Visualization Server is assigned to) over the last 20 seconds.
• ProcessNetworkUsageRatio
The average amount of network usage that this Visualization Server has consumed on the
Visualization Server Manager computer over the last 20 seconds.
• ProcessTotalBytesTransfered
The number of bytes that have been received and sent by this Visualization Server process (discounts
data downloaded from Teamcenter servers).
• ServletConnections
• TotalNumEMMs
• UpTimeSec
The number of seconds that have elapsed since this Visualization Server was created.
Each Visualization Pool Assigner hosts two MXBeans that contain information about its current state:
Assigner and Assigner monitoring. The MXBeans are located in the Administer Assigner manager
folder.
Note:
You must configure the Visualization Pool Assigner to populate some of the JMX metrics with
meaningful information. For more information, see Configure the Visualization Pool Assigner for
JMX metrics.
The Assigner MXBean for the Visualization Pool Assigner provides the following information:
• AssignerSpecificConfiguration
• CacheConfiguration
The configuration parameters used to connect this Visualization Pool Assigner to any other
Visualization Pool Assigners in the Visualization Server system, and the configuration parameters used
to identify this Visualization Pool Assigner such that other nodes in the Visualization Server system
can connect to it.
• Load
A single ratio that represents how much of the computer’s capacity is currently in use. When this ratio
is greater than or equal to 1.0, the system is completely full and new clients are rejected.
• NumberOfPools
The number of Visualization Server Managers that this Visualization Pool Assigner is currently
connected to.
• NumberOfUsers
The number of client users who are currently connected to Visualization Server processes through
this Visualization Pool Assigner.
• StartupDate
The data and time that this Visualization Pool Assigner was last started.
The Assigner monitoring MXBean for the Visualization Pool Assigner provides the following
information:
• clientCount
• clients
Specific information about the clients that have active sessions with this server.
• computerCpuUsageRatio
A ratio indicating how much CPU usage is consumed or unavailable on this computer.
• computerMaxBandwidthBytesPerSec
The maximum allowed bandwidth (in bytes-per-second) that this server is allowed to consume.
• computerMemUsageRatio
A ratio indicating how much system memory is consumed or unavailable on this computer.
• computerNetworkUsageRatio
A ratio indicating how much network usage is consumed or unavailable on this computer.
• computerTotalMemMB
• config
• dateCreated
The date and time that this Visualization Pool Assigner was last started.
• loadRatioAbsolute
A ratio indicating how much of the computer’s resources is consumed/unavailable on this computer.
• loadRatioRelative
A ratio indicating how much of the computer’s resources is consumed or unavailable on this computer
when compared to the maximum allowed resource-consumption-level (default of 0.7) of this server.
• poolCount
• poolManagers
Specific information about the Visualization Server Managers known to this server.
• serverTooFullExceptions
When clients are refused visualization services, this contains the reason.
• serverTooFullExceptionsCount
• upTimeSec
How many seconds have elapsed since this server was last started.
• visSysCpuUsageRatio
• visSysMemUsageRatio
A ratio indicating the amount of system memory consumption of this server on the computer.
• visSysNetworkUsageRatio
A ratio indicating the amount of network usage of this server on the computer.
When you press the F12 key, a window displays the developer tools provided with your web browser.
You can use these tools to monitor browser activity when using Active Workspace.
Note:
These tools are not provided by the Active Workspace client. See your web browser documentation
for complete information about how to use the tools accessed with the F12 key.
When thumbnail images are displayed in Active Workspace, the image is loaded from the FMS system
server using a file read ticket. Each time you display the same thumbnail, a new ticket is created. You
can, however, enable browser caching so that the first time an image is loaded it is saved in the cache.
This improves performance if the image is loaded again within a specified time period in the same
session.
Essentially, the preference value defines the expiration time resolution of the file read ticket. For
example, if you load a thumbnail image at 1:00 p.m., a file read ticket is created. If the value of the
preference is set to 7200, the image remains in the browser cache for 7200 seconds (2 hours) after 1:00
p.m. So, any time that image is loaded within the next 2 hours, the same ticket is used. If the image is
loaded again after 2 hours, a new ticket is created.
The current default value for this preference is 7200 seconds. Previous versions of Teamcenter used a
default value of 1 second.
Image files are used in Active Workspace for tiles, preview images, thumbnails, breadcrumbs, and so on.
Image resolution is the clarity with which you can view the image with distinct boundaries. The
resolution of the image depends on the number of pixels; more pixels correspond to more clarity, but
also increases the size of the image. Large images take a lot of time for rendering and viewing.
To render images not only quickly but also with high clarity in Active Workspace, you can compress them
and reduce their sizes without distorting the quality. You can manage the quality, sharpness, color, and
accuracy of the images with lower resolutions. You can generate low, medium, and high resolutions of
the original uploaded image while maintaining their aspect ratio. You can also define custom resolutions
for the images.
You can compress images in Active Workspace used for tiles, preview images, thumbnails, breadcrumbs,
and so on. This reduces their size without distorting the quality. Following are the prerequisites for
configuring image resolution in Active Workspace:
• Dispatcher Server and Dispatcher Client components under Teamcenter Enterprise Knowledge
Foundation are installed using Teamcenter Environment Manager.
To compress images:
• 64px::Low
• 300px::Medium
• 600px::High
You can also define custom values for images, such as 1200px::LARGE or 2800px::EXTRALARGE.
These values are for the height of the translated image, and the appropriate width is automatically
adjusted by the image translator based on the aspect ratio of the original image.
3. To specify the default image to be used for scaling across Active Workspace application, set the
value for the AWC_default_image_resolution preference. The default OOTB value is Medium.
In the tc_xrt_Preview tag, specify the value for the default image:
<section titleKey="tc_xrt_Preview">
<section titleKey="tc_xrt_Preview">
<image resolution=”<user_input>” source="thumbnail"/>
</section>
• If the resolution preference value is Medium, the system resolves to medium resolution.
• If image resolution is an undefined or invalid resolution type, the system resolves to high
resolution.
Note:
The values for image resolution are not case sensitive.
Preferences
You can use Teamcenter preferences to control various aspects of Teamcenter's behavior and
appearance.
Following are only a few examples of what preferences control:
Siemens Digital Industries Software recommends browsing through the list of preferences to see which
ones might be useful to you. Each preference's definition will document its use.
At their core, preferences are simply a way to store information. They are similar to environment
variables, except that they they operate with several layers of permissions.
Overview
A preference definition along with all of its preference instances are together considered to be a
preference.
The preference definition is like a blueprint. It defines the nature of the preference and
is used to create the instances at the various locations. Even though it may define a
Definition default value, the definition itself is never retrieved or read as a preference. If there are
no instances of this preference, there is no value.
A preference instance created at the site location applies to everyone logged in to
Site
Teamcenter unless overridden.
There can be only one site instance.
Any preference instances created at the group location apply only to users who are
Group
currently logged in as that group, and they supercede site preferences.
There can be one group instance created for each group.
Any preference instances created at the role location apply only to users who are
Role
currently logged in as that role (regardless of group), and they supercede site and
group preferences.
There can be one role instance created for each role.
Any preference instances created at the user location apply only to that user, and they
User
supercede site, group, and role preferences.
There can be one user instance created for each user.
Preference definition
You use the preference definition to create the overall limits and restrictions on the preference as well as
setting the default value. Think of this as an abstract template from which the preference itself will be
instantiated. Following are the fields used to define a preference definition:
Name The name of the preference. Naming patterns help organize the preferences and give
an idea of what they do even before you read the description. See the list of existing
preferences for examples.
Protection Determines where and by whom it can be instantiated.
Scope
Type Specify the preference value type.
Multiple Specify if this preference can hold multiple values.
Description Explain the use of the preference. What does it control? What format is expected for
the values? Etc.
Value Specify the default value that an instance will contain when initially created.
Environment Retrieve the value from an OS environment variable of the same name.
Category Organize related preferences based on their category. There are many existing
categories you can use, or you can create your own.
Preference instance
You create a preference instance from its definition. When you create a new instance of a preference it
must belong to a location. This location specifies when it is active and its priority in the hierarchy. You
cannot create a preference instance if the protection scope does not allow it.
When referring to preference instances, it is common to shorten the phrase. For example, the
preference instance in the Engineering group location is commonly referred to as the Engineering group
preference.
Location Locations are where the preference instances reside. You can create preference
instances at the following locations:
• User
• Role
• Group
• Site / System
Value You can keep the default value from the definition or specify a new one.
Preference locations
• User
This assigns the instance to a specific user. These are commonly the preferences that Teamcenter
uses to track things like column widths in the rich client, or most recently searched text, for example.
Although you can control your active preferences like style sheet registration down to the user level, it
is normally recommended that you keep those kinds of settings to the Group level or higher. It makes
things easier when people move in and out of groups and roles.
• Role
You can control the behavior based on a user's role. This is handy for things such as style sheets. Keep
the consumer's page simple while being able to provide the information the author or approver
needs.
• Group
Similar to the Role location, you can control the behavior at the next step up, at the group level.
• Site / System
Preferences created at these locations apply to everyone. This is typically where you instantiate
preferences that control system-wide behavior or default behavior that can be overridden at the
group, role, or user level.
Site preferences only allow a single instance, but a dba can change the protection scope of a site
preference to something else.
System preferences do not allow their protection scope to be changed, even by a dba. In all other
ways, they behave like a site preference.
Caution:
An existing non-system preference may be changed into a system preference by a dba, but once
it has been changed, it cannot be changed back. If you want to change it, it must be deleted
and re-created.
Customer-facing preferences
You control an aspect of the UI or behavior directly by making changes to the preference. Examples of
these preferences are configuring default paste relations, which style sheets are used in a given
situation, or how the Dispatcher handles certain file types.
Internal preferences
Teamcenter uses preferences extensively to remember application parameters, like column width. Even
though you can see and possibly modify the values of these preferences, it is not advised to do so.
Everything in this example is based on a single preference, one which registers a style sheet to a
business object for the summary view. It could be any preference as all preferences behave the same
way. Since this preference definition's protection scope is User, you can create instances at the Site,
Group, Role, and User location. This means you can control its value based on your users' current
group, role, or even user name.
Example: I want the summary view's property layout for item revisions to depend on my
users' login information
• You want a default style sheet that everyone will use unless otherwise specified.
• You have users that just need a simplified layout for viewing.
ItemRevSummary
Configured to be the default style sheet for the Item Revision summary page. This applies to
everyone unless overridden.
IRSumTech
Configured to provides the extra properties for the Engineering and Manufacturing groups, but not
for any other groups.
IRSumMgr
Configured to display workflow information for the Manager role, regardless of group.
IRSumDes
Configured to show the classification trace for the Designer role, regardless of group.
ConnersIRSum
Configured for Conner. Conner has his own requirements
Preference instances
Assign the style sheets to the various groups and roles, and even users if desired, by creating each
preference instance with the value pointing to the respective style sheet. In this example, there are 6
preference instances created.
The Viewer role and the Tester group have no preference instances created for their location.
In this example, Alice selects a DocumentRevision business object and uses the Summary tab. When
she does this, Teamcenter performs a few steps to determine which style sheet to use.
1. Based on the object type and the view location, the system knows the name of the preference
instances to retrieve.
There are two instances: one at the Site location, and one at the Manager Role location.
2. Based on the user's current session information, Teamcenter chooses the appropriate preference
instance.
3. The value of the chosen preference instance is read, providing the name of the style sheet to
retrieve.
Result
Your users see a different set of information based on what group or role they are in because the client
uses different style sheets.
• Alice sees the style sheet for Managers because she does not have a user preference set to supersede
it. The site preference is overridden by the Engineering group preference, which is overridden by the
Manager role preference. Ted has the same result; the Manufacturing group preference is overridden
by the Manager preference. Sue doesn't have a group preference, but she still gets the Manager role
preference.
• Bob sees the style sheet for Designers because of his role, similar to the preceding example.
• Carol sees the tech style sheet because there is no role preference for Viewers.
• Pat's group and role do not have preferences associated with them, and neither does she have a user
preference, so she gets the default style sheet defined by the site preference.
• Conner gets Conner's style sheet regardless of which group or role he's in, since a user preference
supersedes all others.
You can define a preference to retrieve its value from an environment variable in the operating system.
If you want to pass multiple values from the environment to the preference, you must configure the
following:
• Use the appropriate separator in the environment variable. The environment variable is read from the
operating system on which the tcserver process is running.
Windows Semicolon — For example, MyEnvPref=Value1;Value1;Value3
Linux Comma — For example, MyEnvPref=Value1,Value1,Value3
The environment variable is only read by the tcserver process when the value is first requested, so any
changes made to the environment variable after that will not be reflected in the Teamcenter preference
until after the next time the tcserver process is started.
Remember, the environment variable is read from the environment where the tcserver process is
running, which is not necessarily the environment where the client is running.
You can work with all Teamcenter preferences from within the Active Workspace client using the
Preferences page.
Preference Management is part of the Active Admin installation option for Teamcenter. Once
installed, you can get to this page by either:
By default, this tile appears in the home page of the TcActiveAdminWorkspace workspace.
Your ability to work with preferences is determined by whether you are currently logged in to a group
with administrator privileges.
Administrator? Permissions.
Administrator Search and modify preferences
Create and override site, system, group, role, and user preference
instances
Delete preference instances and definitions
Group Administrator Search and modify preferences
Create and override group, role, and user preference instances within
your group
User Search existing preferences
Create and override your own user preference instances
Use the Organization panel to select in which session context you wish to work.
If you do not have a choice of working in other session contexts, (you have no administration privileges),
then you will not see the Organization panel, and you can only work in your current session context.
If you simply use text, the system will match within group, role, user name, or user id. If you use
quotation marks, it will search for exact matches, if you don't it will append a wildcard to the end of
your text. If you want to include spaces or commas in your search, you must use quotes.
You can narrow down the search by using the following prefixes:
• group:
• role:
• username:
• userid:
You can specify more than one of these by putting a space between them.
Example:
To search for the word, design, put design in the field.
To search for the specific user id, ed, put userid:"ed" in the field.
To search for all users with user ids beginning with ed, put userid:ed in the field.
To search for the specific user named Smith, Bob in roles beginning with design, put
username:"Smith, Bob" role:design in the field.
If you select the site, you can only work with site locations.
If you select a group, you can work with that group's location overrides.
If you select a role, you can work with location overrides for that role and its group.
If you select a user, you can work with location overrides for that user, role, and group.
The preference list will be populated with all valid preference locations for the session context that you
have selected, and you are able to:
• Override preferences for this session context, if the preference scope allows it.
3. Select a preference.
If you do not have permission, you will not see this button.
Override a preference
To override a preference, you must create a new instance of the preference at a higher-precedence
location. Each preference defines its own scope, which is the highest precedence location allowed.
For example, If a preference's scope is Site, then it cannot be overridden, but if its scope is User then it
can be overridden at every level.
If a preference instance's location is Site, it will be overridden by any other location instance but if its
location is User then it overrides any other location for that specific user.
Tip:
If a preference in the list has a location of None, then that means it is the preference definition
and there are no current location instances.
scope location
User Can override at any location. Overrides all other location
values.
Role Can override at group and role Will override Site and Group
locations. location values.
Group Can only override at group Will override Site location values.
locations.
Site Can not override. Is overridden by any other
location
4. In the Add Override panel, choose the location for the override (if allowed), set the new value, and
then choose Add.
Caution:
This is a non-standard configuration and requires careful planning. Work with your Siemens Digital
Industries Software representative if you need this functionality.
Active Workspace is designed for the user to work almost exclusively with objects of the ItemRevision
type (and its children).
If you have a special use case and you need to display item types, then you need to configure the
following:
Modify the AWC_DefaultCreateTypes preference to include an item type. That item type and all
subtypes will be considered creatable.
• Change the Fnd0ItemRevPasteOnTargetUponCreate business object constant for the new type. This
will automatically paste the item type into the user's folder when it is created.
In addition, you should also suppress the ItemRevision type from the UI.
Caution:
Siemens Digital Industries Software does not recommend that you present both items and
revisions to your users.
By default, the Delete command does not appear for every object type your users can see. If you want
to add additional object types to the list, then you must change the following preference:
AWS_allowedTypesForDelete
This is a multiple-value preference that accepts a list of business object types for which the Delete
command appears in the Active Workspace interface.
Caution:
Even when the Delete command is visible, there are still two conditions that must be met for your
users to delete an object:
You can control what happens when your users attempt to delete an object with folder references by
changing the following preference:
TC_auto_delete_folder_references
• true (default)
The default value is true, which ignores folder references when checking for references to other
objects, and if no other references are found, then the folder references are automatically removed,
and then the object is deleted without complaint.
• false
Changing this to false prevents the object from being deleted from the database and presents an
error message if it has any references to any other objects, including folders.
This preference applies when deleting a folder that contains objects, and when an object is contained in
a folder.
AWC_notification_timeout
The value is the number of seconds to wait before closing the notification. If the value is negative,
the window will not close automatically.
To define the properties that display on the cells for objects in Active Workspace list view, use the
business-object.CellProperties preference. The first two properties in the list of properties in the
preference are displayed without labels and are formatted as a primary title and subtitle. The remaining
properties are displayed in the cell as name:value.
The default values vary by object type. For example, following are the default values of the
ItemRevision.CellProperties preference:
object_name
item_id
item_revision_id
Revision rules determine the state of objects you view in the user interface. The active revision rule is
shown to the right of the user name. Users click the revision rule to display the list of all available
revision rules. To set a different revision rule, a user selects another revision rule from the list.
By default, the list of available revision rules is obtained from Teamcenter. However, as an administrator,
you may want to provide different revision rules for Active Workspace than are used in the rich client.
For example, you may want to have Active Workspace default to Latest Released whereas you want the
rich client to still default to Latest Working.
To set a different list of revision rules for Active Workspace, add revision rules to the
AWC_Rev_Rule_List preference. Whenever a custom revision rule is created, you must add it to this
preference for it to appear in the revision rules list. By default, the preference is empty, meaning that the
revision rules list in Active Workspace defaults to the revision rules from the rich client.
To set the revision rule that is selected by default, add it to the AWC_Rev_Rule_Selected preference.
The revision rule in this preference must match a revision rule in the AWC_Rev_Rule_List preference.
If the revision rule in the AWC_Rev_Rule_Selected preference is removed from the AWC_Rev_Rule_List
preference, you must change the revision rule in the AWC_Rev_Rule_Selected preference to one in the
AWC_Rev_Rule_List preference.
By default, the AWC_Rev_Rule_Selected preference is empty, meaning that the first revision rule in the
AWC_Rev_Rule_List preference is the one that is selected by default in the user interface.
There are several sources from which to retrieve a list of preferences and their definitions.
added to your site. To get the most accurate and up-to-date listing of preferences contained in your
site, you must create your own Administration Data Documentation report.
Rich client
You can use the various tabs of the rich client's Edit→Options menu to interact directly with
preferences, including a report of which preferences have changed since installation.
Raw XML export
You can produce an XML file containing preference information using the preferences_manager
utility.
Active Workspace client
You can interact directly with preferences using the showPreferences location.
Global constants
• Awb0SupportsStructure
Specifies the business objects that can have a structure under it. If you want to display a custom
business object in the Content tab, add the custom business object to this constant. This constant is
added by the Active Content Structure template (activeworkspacebom).
• Awp0FilterCategoryDisplayCount
Specifies the default number of search filter categories to display in the Search Filters panel.
• Awp0FilterValueDisplayCount
Specifies the default number of search filter values to display within a search filter category. If
additional values are available for filtering in any category, a More button appears to display the
remaining values within each category. The default value is 5.
The threshold to display the box to search filter values is twice the value of
Awp0FilterValueDisplayCount.
• Awp0IndexableFileTypes
Specifies the list of file types that are allowed for text content extraction during search indexing. By
changing the value of this constant, you can specify the file types you want to index. (This global
constant is used if no value is set for the AW_Indexable_File_Extensions preference.)
For example, to enable indexing on compressed files, add any combination of .zip, .7z, or .tar to the
list.
Read permission is required for indexing a file. If any file is password protected, the file will be skipped
and no warning will be generated.
• Awp0StoreDatasetContent
Global search results can display the location of search terms inside file content attached to items.
Search results that match content from attached dataset files display as snippets of text matching the
search terms. The Indexing Engine (Solr) requires that you set this global constant In Business
Modeler IDE to true to ensure that dataset fields are stored in the Solr schema. You must also
configure the preferences to enable snippets, merge the schemas, and reindex your data, including
datasets.
• Awb0AvailableFor
Lists the business object types for which a feature should be made available. The values are comma
separated. This constant honors type hierarchy.
When this constant is used with the Ase0ArchitectureFeature business object, the constant controls
visibility of the Architecture tab for business object types. The Architecture tab is made visible for all
listed business object types and their all subtypes. The types should be those that represent the top
line in structures. This constant supports comma-delimited values of business object types, for
example:
Functionality
Fnd0LogicalBlock
RequirementSpec
Requirement
Paragraph
Fnd0SystemModel
Note:
The Architecture tab is not visible for custom business objects. Determine the business object
types that require the Architecture tab. From these types, determine those that are the top line
in structures. Add only those types to the value of the Awb0AvailableFor business object
constant on the Ase0ArchitectureFeature business object.
You can edit the display name configured for the Ase0ArchitectureFeature business object in
Business Modeler IDE to suit your business processes. By default, the display name of the tab is
Architecture.
• Awb0BOMArchetypeToOccurrence
Determines the instance of which particular subtype of the Awb0Element business object is created.
This business object constant is a comma-separated list of item revision or GDE subtypes. Using such a
list avoids the need to create a separate Awb0Element business object for each item revision type.
• Awp0SearchIsIndexed
Indicates that the business object will be indexed for searching when this constant is set to true. This
information is propagated through the business object hierarchy. For example, if ItemRevision is
selected for indexing, all business objects under ItemRevision (such as Part Revision and
DocumentRevision) are also indexed.
Note:
Do not set this constant to true for the WorkspaceObject business object. This results in
indexing errors.
• Awp0SearchIsIndexedExt
Indicates that external business objects are indexed for searching. By default, the value of this
constant is false, meaning that external objects are not indexed. The scope for this constant is the
Awp0AWCExternalSystemObject business object, which designates objects originating in systems
external to Teamcenter.
To change the value to true, open the Awp0AWCExternalSystemObject business object and select
the Awp0SearchIsIndexedExt business object constant on the Business Object Constants tab. Then
click Edit and select the Value check box.
• Awp0SearchClassifySearchEnabled
• Awp0SearchIsClassifyDataIndexed
For the specified business object type and below, specifies that classification data be indexed for
searching and filtering.
• Awp0SearchDatasetIndexingBehavior
Defines the behavior of inline indexing for dataset file contents. The scope for this constant is
WorkspaceObject types and their subtypes. Specify one of the following:
Inline Dataset content is indexed inline with the parent business object. When a search
matches dataset content, the search results returns the parent business object
instead of the dataset. The datasets are defined using
Awp0DatasetTypeToBeIndexedInline.
Relation Dataset content is indexed as part of the dataset but it maintains the reference to
the parent business object. When a search matches dataset content, the search
results return the dataset as well as the parent business object.
The default value is Inline except for DocumentRevision, where the default is Relation.
• Awp0DatasetTypeToBeIndexedInline
Identifies the datasets to be indexed along with the business object. The scope for this constant is
WorkspaceObject types and their subtypes.
Set this property only for types that are also marked for indexing and
Awp0SearchDatasetIndexingBehavior is set to Inline.
<INHERIT | NO_INHERIT>:RelationName:DatasetTypes
INHERIT:TC_Attaches:PDF
NO_INHERIT Applies the rule only to the type where the rule is defined. A rule applied to a parent
is not inherited by child types. Specifying NO_INHERIT can help improve
performance.
NO_INHERIT:IMAN_Specification:Text
You can specify one to many relationships between RelationName and DatasetTypes.
RelationNam is a relation name or the wildcard character *. Specify one or more clauses separated
e by commas.
INHERIT: *: PDF
DatasetTypes is a dataset type. Specify one or more values separated by a tilde ~.
INHERIT:TC_Attaches: PDF~MSWordX
Specifying only wildcards is not valid (for example, do not specify INHERIT: *: * ).
No default value is specified with the exception that SpecElementRevision is set to INHERIT: *:
FullText.
As a best practice, do not specify all relations (*) for inline indexing and then subsequently try to limit
inheritance by setting a subtype clause to index only a specific relation to a specific type. You can avoid
inheritance by:
For example, if all ItemRevision PDFs for any relation are being indexed inline, do not write a
qualifying INHERIT rule for a subtype. For example:
And, an INHERIT rule for an ItemRevision subtype indexes only PDFs associated with the
TC_Attaches relation,
Then the indexing behavior at the subtype level might not behave as expected, because you
already specified all ItemRevision subtypes to index all PDFs,
• Configuring the subtype to override the parent. For example, to index PDX content for all the relations
of the subtype, set INHERIT: *: PDX .
By default, the indexing of FullText datasets is not enabled because they are indexed inline for
SpecElementRevision and its subtypes. If you choose to enable indexing of FullText datasets, users see
FullText and SpecElementRevision objects in search results.
Property constants
• Awp0FilterPropFromRefType
Applicable only when the property to be indexed is a reference type or a compound property whose
source property is a form data file property.
You can use the awp0MasterFormStorageClass compound property, available by default on all
Master forms for ItemRevision and its subtypes, to index and filter the properties of the form.
Specify a comma-separated list of properties that are a subset of the properties listed in the
Awp0SearchPropFromRefType property constant. For example, you can set the following constants
for the property constant reference type you want to filter:
Awp0SearchIsIndexed
Set the Boolean value to true to search on the property.
Awp0SearchCanFilter
Set the Boolean value to true to filter on the property.
Awp0SearchPropFromRefType
Enter the list of properties to index.
Awp0FilterPropFromRefType
Enter the list of properties to filter.
Awp0SearchRefTypesNames
Enter the referenced object type names.
• Awp0InboxCanFilter
Indicates that tasks shown in the inbox can be filtered on a specific property of a workflow business
object (EPMTask and its subtypes). The following example shows tasks found when selecting the
Team tab.
By default, the following properties are shown as filters for workflow business objects in the inbox:
• Awp0InboxFilterPriority
Sets the priority of the property of a workflow business object (EPMTask and its subtypes). It
determines the property’s order in the list of filters displayed in the inbox. The lower the value, the
higher its priority and, therefore, the higher its position in the list of filters.
Siemens Digital Industries Software recommends that you assign values from a range to
accommodate additional properties in the future. For example, assign priorities such as 100, 200, and
300, instead of 1, 2, and 3.
• Awp0SearchCanFilter
Indicates that the search results can be filtered on the specific property. It assumes that the property
was marked for indexing using the Awp0SearchIsIndexed property constant. For the filters to show
up correctly in the user interface, this property constant should be set for the property on its source
business object.
• Awp0SearchFilterPriority
Sets the priority of the property that determines its order in the list of filters displayed in the client—
the lower the value, the higher the priority. This means that the filter is positioned higher in the list of
filters shown in the filters panel. Siemens Digital Industries Software recommends that you assign
values from a range in order to accommodate additional properties in the future. For example, assign
priorities such as 100, 200, and 300, instead of 1, 2, and 3.
For the filters to show up correctly in the user interface, this property constant should be set for the
property on its source business object.
When a Table type property is marked for filtering, all valid properties of the referenced TableRow
type are available as filters. All the table row properties get the same filter priority, so they are
displayed together, vertically listed in the filter pane.
• Awp0SearchIsIndexed
Indicates that the property on the business object will be indexed for searching by the indexing
engine. This information is propagated through the business object hierarchy. For example, if
object_type on ItemRevision is marked for indexing, all business objects under ItemRevision (such
as Part Revision and DocumentRevision) also have their object_type property indexed. The
following constraints apply when indexing properties:
• Only attribute, compound, table, reference, and publication record properties can be indexed.
Indexing of runtime and relation properties is not supported.
• For multi-site searching the POM_owning_site property can be indexed out of the box. Apply the
Awp0SearchIsIndexed to published objects to enable indexing.
• To index compound properties, they must reference attribute properties from the source object.
Note:
If the compound property value comes from a form, the compound property must use the
form storage class in the property definition rather than the form itself, or indexing fails.
• Table type property indexing is only supported for properties that reference Fnd0TableRow and its
subtypes. Indexing is not supported for Fnd0NameValue and its subtypes.
When a table type property is marked for indexing, all the valid properties of the referenced table
row type are indexed. You do not need to mark individual table row properties.
• Awp0SearchPropFromRefType
Applicable when the property to be indexed is a reference type or a compound property whose source
property is a form data file property.
You can use the awp0MasterFormStorageClass compound property, available by default on all
Master forms for ItemRevision and subtypes, to index and filter the properties of the form.
Specify a comma-separated list of properties that are on the business objects specified in the
Awp0SearchRefTypeNames property constant. For example, on the owning_user reference
property on ItemRevision, specify a value of user_id,user_name.
Note:
If the compound property value comes from a form, the compound property must use the
form storage class in the property definition rather than the form itself, or indexing fails.
• Each property in the list specified for Awp0SearchPropFromRefType is matched against each
business object in the list specified for the Awp0SearchRefTypeNames property constant. Only
properties that are valid and applicable on a business object are considered for indexing. In
addition, if filtering is enabled on the reference property, only the first property from the list is
used.
• Awp0SearchRefTypeNames
Applicable only when the property to be indexed is a reference type or a compound property whose
source property is a form data file property. Specify a comma-separated list of business object names
that the reference property can contain. For example, on the owning_user reference property on
ItemRevision, specify a value of User. The following rules apply:
• If no value is specified on typed reference properties, the business object that is specified as the
referenced type is used as the type. For example, release_status_list results in ReleaseStatus.
• On untyped reference properties, if no value is specified, the POM_object is used as the type.
• Cm1ChangeCanFilter
Indicates that the changes in the Changes page can be filtered on a specific property of the change
business object (ChangeItemRevision and its subtypes). The following example shows the changes
found when clicking the Submitted tab.
• CMMaturity – The degree of completion of the overall change process (its Maturity).
• Cm1ChangeFilterPriority
Sets the priority of the property of the change object (ChangeItemRevision and its subtypes). It
determines the property’s order in the list of filters displayed in the Changes page. The lower the
value, the higher its priority and, therefore, the higher its position in the list of filters.
Siemens Digital Industries Software recommends that you assign values from a range to
accommodate additional properties in the future. For example, assign priorities such as 100, 200, and
300, instead of 1, 2, and 3.
Note:
Compound properties presume that the security level of the source property of the source object is
read access. This is because the compound property belongs to the target object related to the
source object through the compound property.
For example, Object B has a compound property that is related to its source property on Object A.
When Object B and its compound property are indexed, the indexer presumes that Object A has a
security level of read access to everyone. That means that anyone with read access to the
compound property of Object B could also find the source property on Object A, regardless of its
security level.
Enable searching and filtering for a referenced object using a property value defined on the referenced
object. You need to add or update the property constants for the property of the referenced object.
In the first example, an ItemRevision object has a referenced Item object, where the description
contains the value Example Text.
In the Business Modeler IDE, find the template containing your object definitions, and find the
ItemRevision object. On the property that references the Item object, add or update the following
property constants:
Awp0SearchIsIndexed
Set the Boolean value to true to index this property.
Awp0SearchRefTypesNames
Set the referenced object type name, Item in this example.
Awp0SearchPropFromRefType
Set the list of properties on the referenced object type specified in Awp0SearchRefTypesNames. In
this example, the property is description.
To filter the search results by the preceding property values, add or update the following property
constants:
Awp0SearchCanFilter
Set the Boolean value to true to filter on the property.
Awp0FilterPropFromRefType
Set the list of properties on the referenced object. In the example, the property is description.
Awp0SearchFilterPriority
This property constant is optional. You can set a numeric value for priority. The lower the value, the
higher the priority.
Enable searching and filtering using the properties of a related Master or custom form. You need to add
or update the property constants for the property of the related form. By default, the
awp0MasterFormStorageClass compound property is configured for ItemRevision. The compound
property references the data file on the Master form for ItemRevision.
4. awp0MasterFormStorageClass is a compound property that references the data file of the Master
form.
5. Configure the Master form storage class property awp0MasterFormStorageClass with the
property constants that enable indexing, searching, and filtering.
Enable searching and filtering of an Item Master form using a compound property. You need to create a
compound property on a persistent attribute of the Item Master data_file storage class. The compound
property references the data file for the Master form of the Item. You need to create a compound
property for every attribute you want to search.
Be sure to set the index, search and filter property constants on the new compound property.
Utilities
In order to perform some administrative activities, you must run command-line utilities. Even if it's not
the only option, sometimes using command-line utilities can also make some administrative tasks
easier.
To run command-line utilities, you must have access to the Teamcenter platform command-line
environment.
For information about working with command-line utilities, refer to the Utilities Reference in the
Teamcenter documentation.
ac0_migrate_s2cldata
Note:
If you have used Active Collaboration for Retail or Active Collaboration prior to Active Workspace
5.1, you can perform a one-time migration using this utility to migrate your existing questions and
comments to the new Active Collaboration discussions feature.
Migrates previous Active Collaboration questions and comments (S2clSocial objects) to the new Active
Collaboration discussions feature that uses Ac0ActiveCollaboration objects.
Caution:
Perform this migration only once to prevent duplication of data.
SYNTAX
ARGUMENTS
-u
Specifies the user ID.
A user with administration privileges is used as the value name for the user ID. If -u is used without a
value, the operating system user name is automatically applied.
Note:
If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments
are authenticated externally through SSO rather than being authenticated against the
Teamcenter database. If you do not supply these arguments, the utility attempts to join an
existing SSO session. If no session is found, you are prompted to enter a user ID and password.
-p
Specifies the password.
If used without a value, the system assumes a null value. If this argument is not used, the system
assumes the user-ID value to be the password.
-g
Specifies the group associated with the user, which must be dba.
-verbose
Outputs low-level processing information to log and report.
-report
Specifies the path where the report file should be stored.
-h
Displays help for this utility.
EXAMPLE
bomindex_admin
SYNTAX
ARGUMENTS
-u
Specifies the user ID. This is a user with administration privileges.
Note:
If Security Services single sign-on (SSO) is enabled for your server, the user and password
arguments are authenticated externally through SSO rather than being authenticated against
the Teamcenter database. If you do not supply these arguments, the utility attempts to join an
existing SSO session. If no session is found, you are prompted to enter a user ID and password.
-pf
Specifies the password file that holds the cleartext or encrypted password. For enhanced
security, use a password file instead of the password. If the -pf argument is not used, the system
uses the given password.
-p
Specifies the password.
delete Finds the BOMIndexAdminData objects in the input file and marks them as
deleted.
list Creates the input file for update or delete operations for existing
BOMIndexAdminData business objects. The generated file also reports
BOMIndexAdminData properties such as window-uid.
upgrade Upgrades the definition of BOM index tables when the property set is modified.
-inputfile
Specifies the location of a file containing the list of structure objects to index. The input file line
format is as follows:
• effectivity-unit
If you have multiple effectivity units, their numbers must be comma-separated. Also, you must
repeat the effectivity end item query string for each effectivity unit, for example:
| 5,10,12 | item_id=HDD-0527,item_id=HDD-0527,item_id=HDD-0527 |
• variant-rules
The variant rules (also known as saved variant rules) are comma-delimited, and follow this
format:
SVR-name:owning-item-query-string:owning-itemrevision-ID
The maximum number of saved variant rules you can specify is 960.
• subscribers
• VDS
Specifies that this product configuration is indexed for viewing using the Visualization Data
Server. This makes the structure available faster in visualization. VDS requires deployment of
the Visualization Data Server.
• closure-rules
(Optional) If a closure rule is applied for a configuration, content in the structure (excluded by the
closure rule) does not appear in where used query results for top-level contexts.
• structure-type
(Defunct) The type of structure that the product represents. OCC is the only valid value.
• owning-user
(Optional) If Visualization for MMV is enabled for the product, specify the user who owns the
MMV delta collection dataset.
• MMVIdxAccessControllers
(Optional) Specify the users that control access to MMV index files.
Each VDS site can be configured to run as a different user. BOMIndexAdminData table entries are
returned according to the permission specified for the configured VDS user. This helps you implement
export compliance using these attributes.
Example:
Site owners configured for each VDS site:
• USA is VDSadmin
• Mexico is mex_VDSadmin
• Canada is can_VDSadmin
• China is chi_VDSadmin
MMV
Revision Structure Owning MMV Access
BIAD Product Rule Type User Users
Biad1 Ship Latest BVR VDSadmin mex_VDSadmin
Working
can_VDSadmin
Biad2 Truck Latest BVR VDSadmin mex_VDSadmin
Working
can_VDSadmin
chi_VDSadmin
Biad3 Car Latest BVR VDSadmin chi_VDSadmin
Working
EXAMPLE
OVERRIDING EFFECTIVITY
When you want to specify override effectivity, do not specify it in the input file containing the product
configurations to index. The override effectivity in the input file is ignored during index generation,
causing a discrepancy between the indexed BOM and the BOM in use.
To set override effectivity during index generation, add the effectivity data to a Revision Rule.
Z_ACE_DateOverride_Rule23_10Jan2020
The corresponding input file entry for bomindex_admin would have this corresponding effectivity
override entry:
item_id=ACE_KK_EC01 | A | Z_ACE_DateOverride_Rule23_10Jan2020 | | | | | |
data_report
Gathers data from participating Multi-Site sites in the federation and generates reports on data
inconsistencies. Reports are generated for individual sites and for the overall Multi-Site federation. This
data is presented in the Active Workspace Multi-Site Assistant. (When working with the data_report
utility, sites in the federation are the sites defined by MS_Dashboard_Supported_Sites.)
SYNTAX
ARGUMENTS
-u
Specifies the user ID. The user must have administrative privileges.
If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are
authenticated externally through SSO rather than being authenticated against the Teamcenter
database. If you do not supply these arguments, the utility attempts to join an existing SSO session.
If no session is found, you are prompted to enter a user ID and password.
-p
Specifies the user's password. This argument is mutually exclusive with the -pf argument.
-pf
Specifies the password file. This argument is mutually exclusive with the -p argument.
-g
Specifies the group associated with the user.
-site
Specifies the name of a specific site for which data is gathered and a report is generated. If no site is
specified, reports are generated for all sites and the overall Multi-Site federation (as defined by
MS_Dashboard_Supported_Sites).
-dir=
Specifies directory in which reports are saved. By default, reports are saved in the location specified
by TC_TMP_DIR.
-format
Specifies the format for reports. Valid values are csv (the default) and json.
-sql_file
Specifies a JSON file containing custom SQL data queries or predefined filters.
-include
Specifies the categories of issues to include in reports. Valid values are itemOwnershipReports,
duplicateIDReports, and objectOwnershipReports. By default, all listed categories are included.
Multiple values must be separated by commas.
EXAMPLES
• Gather data and generate reports for all sites defined by MS_Dashboard_Supported_Sites:
data_report
• Generate reports for all sites and the Multi-Site federation using data previously collected:
data_report -f=generate_reports
• Generate reports for all sites and the Multi-Site federation for only specific categories of issues:
data_report -include=itemOwnershipReports,duplicateIDReports
• Gather data and generate reports for a specific site for a specific time period:
• Gather data and generate reports for all sites and the Multi-Site federation using custom SQL data
queries:
generate_admin_data_report
Generates a report showing the specified administration data for the site where you run the utility or for
an export package. The export package can be from a remote site.
The report contains HTML pages for the administration data objects, showing their properties with
hyperlinks to referenced objects. If an object is referenced by other objects, its HTML page contains a
where-used table that indicates the categories and objects that have references to the current object.
The report has a summary showing all the administration data types included in the report and the
instances of each element present within the category. The report also has a glossary page with
descriptions of the administration data categories and the elements available in each of the categories.
SYNTAX
ARGUMENTS
-u
Specifies the user ID. The user must have administrative privileges.
If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are
authenticated externally through SSO rather than being authenticated against the Teamcenter
database. If you do not supply these arguments, the utility attempts to join an existing SSO session.
If no session is found, you are prompted to enter a user ID and password.
-p
Specifies the user's password.
For more information about managing password files, see Utilities Reference in Teamcenter help.
Tip:
Use the -listTypes argument to get a list of available administration data types.
If the report contains multiple data types, it includes a where used table showing where each object
is referenced.
-inputPackage
Specifies the full path, including the file name, of the export administration data package from the
site for which the report is generated. If you do not specify this argument, the utility generates a
report for the local site.
-outputDir=
Specifies the path to directory where you want the report saved. You must specify this argument.
-listTypes
Displays a list of the available administration data types that you can include in the report.
-h
Displays help for this utility.
ENVIRONMENT
This is a Java utility that, by default, has the maximum Java heap size set to 1024M. For reports that
contain a large number of objects, you may need to increase maximum Java heap size to avoid out-of-
memory errors or poor performance. If possible, set the maximum heap to at least to 4096M for large
reports. You can set this value using the BMIDE_SCRIPT_ARGS environment variable, for example:
set BMIDE_SCRIPT_ARGS=-Xmx4096M
Note:
Java standards require that no more than 25 percent of total RAM be allocated to virtual memory
(VM). If the amount allocated to the Java VM exceeds this percentage, degradation of
performance can occur.
FILES
As specified in Log files produced by Teamcenter in Utilities Reference in the Teamcenter help.
EXAMPLES
• Generate a list of the administration data types that you can export:
• Generate a report containing the preferences and their values at the local site:
• Generate a report containing the Access Manager and Organization administration data from an
export package of a remote site:
log-level
Changes the log level of Teamcenter microservice framework components and compliant microservices.
Among these are the service dispatcher and the microservices configurator, filerepo, and MPS.
Administrators can change logging levels without having to stop and restart the services.
Syntax
Host operating
system Syntax
Linux ./log-level operation [argument]
On Linux hosts, it is necessary to set permissions on the log-level.sh file. To do so,
enter the command
chmod +x log-level.sh
Windows log-level operation [argument]
Arguments
get
Gets the current log level of a microservice.
Available log levels depend on the microservice. See Server manager logging levels in the
Teamcenter help for a description of log levels.
getall
Gets the current log level of all running microservices.
log-level getall
set
Changes the log level of a microservice. Possible values are INFO, ERROR, DEBUG, WARN, and TRACE.
reset
Changes the current log level back to the default log level for a microservice.
help
Prints the instructions for using the log level command line interface.
log-level help
Environment
The utility works on the master microservice framework node for a Teamcenter environment,
irrespective of whether the host is running a Linux or Windows operating system.
The utility is located in the TC_ROOT/microservices/bin folder and must be run from this location.
req_word_html_converter
As an administrator, you can selectively convert requirement content in HTML format to Microsoft Word
format (or the reverse, depending on the option selected). You can perform a selective conversion by
providing a criteria file or a comma separated file containing fullText UIDs or directory containing
multiple such Fulltext UID files. In non-permanent selective conversion from rich text to Microsoft Word,
the converted requirements have the necessary named reference attachments as MSWordXPart;
however, the content type remains rich text. Similarly, in non-permanent conversions from Microsoft
Word to rich text, the converted requirements have the named references attachments as Arm0HTML
and Arm0HTMLIMG, but the content type is still rich text.
Note:
Before you run this utility, ensure that the Active Workspace Requirements Management feature is
installed. Several files are created in the transient volume folder when you run the utility:
• The utility performs conversion for the following objects only: SpecElementRevision,
SpecElement, or SpecificationRevision.
SYNTAX
ARGUMENTS
-u=user_id
Specifies the user ID to be used for the upgrade.
KEYWORD_SEPARATOR=KWS
KEY_VALUE_SEPARATOR=KVS
RULE_SEPARATOR=RS
keys KWS key1=value1 KVS keyN=valueN RS rev_rule KWS revision-rule RS topline_rev KWS
topline rev
• Segment 1 (Required)
Consists of multi-field key-value (MFK) pairs. Multifield keys are IDs assigned to each object to
ensure their uniqueness in the database. Based on the MFK, specifications/requirements are
retrieved, and then further configuration is applied based on Segment 2 and Segment 3. This
segment is required to uniquely identify the top object in the database.
Syntax
Example
Denotes the revision rule to apply to the revision retrieved based on the MFK pairs in Segment
1.
If you do not define this segment, then the defined revision rule as read from preference
TC_config_rule_name is applied.
Syntax
Example
• Segment 3 (Optional)
Defines the revision of the item retrieved on the basis of the MFK pairs defined in Segment 1.
You can use this segment to determine the structure of interest. If you do not define this
segment, then the latest revision is considered for configuring structure. If this segment is
defined then you must define Segment 2 also.
For example, if the MFK pairs in Segment 1 return a particular item such as
item_id=REQ-000002, then there can be different structures for different revisions of this
item. Revision A as a top line might contain 6 children items; revision B might contain 12
children items.
Syntax
Example
topline_rev : A
KEYWORD_SEPARATOR=:
KEY_VALUE_SEPARATOR=,
RULE_SEPARATOR=|
keys: item_id=REQ-000001
KEYWORD_SEPARATOR= = (invalid because the equals sign (=) is not a valid separator)
keys: item_id=REQ-000001 | rev_rule: | topline_rev:A (invalid because the revision rule name is
not provided)
-permanentConvert
(Optional) Permanently converts requirements to one of the following formats:
• If you include the -wordToHtml switch, converts to HTML format, which is editable in the CK
Editor in the Documentation tab.
• If you include the -htmlToWord switch, converts to Word format, which is not editable in the CK
Editor in the Documentation tab.
-dryRun
These files are created: failed_ID.txt with failed UIDs separated by comma, invalidIDs.txt with the
invalid UIDs, and validIDs.txt with the valid. The conversion does not take place.
1. invalidIDs.txt: any UID not present in the database or has a blank content_type property.
2. failed_ID.txt : any UID having corrupted data, cannot be opened in Word, the user does not
have write access on it, or is checked out by another user or a replica object.
4. alreadyConvertedIDs.txt : UIDs that are already HTML for wordTOHtml conversion case or
already Word for HtmlToWord conversion, is contained in this file.
EXAMPLES
Caution:
The following conditions are not supported:
• Creating a requirement in Teamcenter Rich Client and modifying it in Active Workspace (and
vice-versa).
• Creating a requirement in Teamcenter Rich Client and creating a sibling in Active Workspace
and exporting to Word. The sibling cannot be edited.
To create a specification that can be edited in Active Workspace, use IMPORT SPECIFICATION with
the Enable Editing checkbox selected, or use the microservice-based import.