SharePoint Metadata Mapping
The SharePoint Metadata Mapping allows metadata from a Windchill object to be set into the synced SharePoint field. Metadata can be set from the synced Windchill object itself or a linked object.
Attributes
Attribute Name |
Description |
type |
“WC2SPMapper” |
Parameters
Parameter Name |
Description |
sourceLinkType |
The WC link type. For example,
the value for a representation link is
If not specified, metadata from the synced object will be used. |
sourceLinkDir |
The WC link direction. For example if a representation is being synced,
metadata from the authored content can be set by using the value
If not specified, metadata from the synced object will be used. |
Mapping
Attribute Name |
Description |
source |
Windchill attribute name. The attribute must be defined in the filter object type or ancestor object type. Attribute names must be the internal Windchill name. |
target |
SharePoint field information. The value must be in the format
|
Example:
The following example details how to configure a metadata mapping to sync content from the authored content.
<MetadataMappings type="WC2SPMapper"> <Param name="sourceLinkType" value="wt.representation.PublishedContentLink"/> <Param name="sourceLinkDir" value="representable"/> <Mapping source="iterationInfo.note" target="Comments~_Comments~Text"/> <Mapping source="iterationInfo.modifier" target="Component Author~Component%5Fx0020%5FAuthor~User"/> </MetadataMappings>