tcli add generates config and customisation artifacts.
tcli add ca --type preferences
Flag
Description
--type <name>
Config artifact type slug (e.g. preferences).
--type is the stable config artifact type slug for your Teamcenter version specific
catalogue , not the
friendly display name. Use tcli add ca list to list all addable config artifacts.
tcli add library --name libsample
Flag
Description
--name <name>
Library name (e.g. libsample).
--simple
A simple library without Teamcenter registration machinery.
--iplib <lib>
Optional integration-point for a manageable library. Ignored with --simple. Defaults to none.
IPLIB integration-points : none, libuser_exits, libserver_exits.
tcli add tool --name bom_export
Flag
Description
--name <name>
Tool name (e.g. bom_export).
tcli add extension can extend an existing C++ managed library with all available
Teamcenter customisation extension kinds. Each extension type get’s its own sub-command:
Sub-command
Description
ah
EPM action handler (workflow).
rh
EPM rule handler (workflow).
rtp
Computed runtime property.
boext
Business object operation extension.
propext
Property operation extension.
exit
Custom exit.
module
Self-contained common module.
tcli add extension ah --library libsample --name my_action_handler --handler-name MY-action-handler \
Flag
Description
--library <library>
Library to extend.
--name <name>
Extension name.
--handler-name <name>
Handler display name.
tcli add extension rh --library libsample --name my_rule_handler --handler-name MY-rule-handler \
Flag
Description
--library <library>
Library to extend.
--name <name>
Extension name.
--handler-name <name>
Handler display name.
tcli add extension rtp --library libsample --name my4_custom_prop \
--type-name ItemRevision --prop-name my4CustomProp \
--value-type string [--array]
Flag
Description
--library <library>
Library to extend.
--name <name>
Extension name.
--type-name <type>
Business object type (e.g. ItemRevision).
--prop-name <name>
Property name (e.g. my4_property).
--value-type <type>
Value type (e.g. string).
--array
The property is an array property.
Value types : string, int, double, date, and tag.
tcli add extension boext --library libsample --name my_bo_extenstion \
--type-name ItemRevision --method-name fnd0Save \
--ext-type post-action --framework meta
Flag
Description
--library <library>
Library to extend.
--name <name>
Extension name.
--type-name <type>
Business object type (e.g. ItemRevision).
--ext-type <type>
Extension type (e.g. post-action).
--framework <type>
Framework type.
--method-name <name>
Name of the method to extend (e.g. fnd0Save).
Framework types :
meta: For extending metaframework C++ methods.
legacy: For extending legacy operations.
tcli add extension boext --library libsample --name my_bo_extenstion \
--type-name ItemRevision --prop_name my4CustomProp \
--method-name PROP_ask_string_msg --ext-type post-action \
Flag
Description
--library <library>
Library to extend.
--name <name>
Extension name.
--type-name <type>
Business object type (e.g. ItemRevision).
--prop-name <name>
Property name (e.g. my4_property).
--ext-type <type>
Extension type (e.g. post-action).
--framework <type>
Framework type.
--method-name <name>
Name of the method to extend (e.g. fnd0Save).
Framework types :
meta: For extending metaframework C++ methods.
legacy: For extending legacy operations.
tcli add extension exit --library libsample --name ask_next_seqno \
--method name USER_ask_next_seqno \
Flag
Description
--library <library>
Library to extend.
--name <name>
Extension name.
--method-name <name>
Name of the method to extend (e.g. USER_ask_next_seqno).
tcli add extension module --library libsample --name my4_custom_prop
Flag
Description
--library <library>
Library to extend.
--name <name>
Extension name.
tcli add awkit --name customModule --aw-version 7.0.0
Flag
Description
--name <name>
Kit name (e.g. customModule).
--aw-version <version>
The AW version the kit is intended for (e.g. 7.0.0).
tcli add racplugin --name customModule --vendor acme
Flag
Description
--name <name>
Plugin name (e.g. my_plugin).
--vendor <name>
Plugin vendor name (e.g. acme).