map.mapping.template
Themap.mapping.template file is found in the mapping folder in the samples directory. The samples directory is created as part of the client installation. For detailed information about directories and files, including the samples directory, see Installation.
The following mapping template can be used for Creo Packages and for Windchill PLM Connector 8.0 and later:
# This template contains all the keywords and usage.
#
# USAGE ===
#
#
# 1. There are two keywords that appear outside the begin and end block(s)
# These keywords are applicable to all blocks
# site, rule
# 2. There can be any number of blocks starting with begin and end.
# 3. Blocks cannot be nested.
# 4. Single line Comments can be written followed by a hash keyword(#).
# No spaces are allowed before a hash keyword.
#
# site keyword has following modifiers
# a) -id (required) takes a site id. This is available in wpc
# package's package.xml
# b) -alias(optional) User friendly display name for the given site
# c) -ownername (optional) Name of user defined attribute (String)
# that is to be used to display owner site name
# d) -ownerversion (optional) Name of user defined attribute
# String) that is to be used
# to display the Version in the owner system
#
#
# Rule keyword can also be present in each block too. If it is
# present in each block
# the rule in the block overrides the global rule.
#
# Rule keyword has two modifiers.
#
# -iteration_rule
# Can take any one of the following values
# a) latest
# b) position
# c) position_latest
#
# -revision_rule
# Can take any one of the following values
# a) label
# b) position
#
# Each block can can have following maps
# location <owner path> = <target path>
# revision <owner path> = <target label>
# lifecyclestate <owner lifecycle name>
# ::<owner lifecycle state> = target lifecycle name>
# ::<target lifecycle state>
#
# Each block can have a rule that overrides the global rule
#
# TEMPLATE ===
#
#
# site -id 476250931-1165312260509-17489534-123-184-21-130@i3190
# .ptcnet.ptc.com
# -alias "PTC.com" -ownername OWNERNAME -ownerversion OWNERVERSION
#
# rule -iteration_rule latest -revision_rule Label
#
# begin
#
# location "/PTC_2/Product/PRODUCT_2"="/PTC/Product/PROD1//folderxyzf"
#
# lifecyclestate "Basic::INWORK"="Basic::INWORK"
# revision A=Z
# revision B=Y
# revision C=X
#
# rule -iteration_rule position -revision_rule Label
#
# end
#
# begin
#
# location "/PTC_2/Library/LIB1//folderx="/PTC/Product/PROD1//folderxyzf"
# location "/PTC_2/Library/LIB1//foldery="/PTC/Product/PROD1//folder2"
#
# lifecyclestate "Basic::INWORK"="Basic::INWORK"
# lifecyclestate "Default::INWORK"="Basic::INWORK"
#
# rule -iteration_rule position -revision_rule position
#
# end
Was this helpful?