0% found this document useful (0 votes)
533 views2 pages

Stylesheet

This document provides best practices for customizing XML Rendering Style Sheets in Teamcenter. It explains that there are standard style sheets stored in the database and file system that can be used as a reference. Custom style sheets should be created with descriptive names indicating what object they are associated with. Registration of custom style sheets can be done from the Viewer tab in Teamcenter.

Uploaded by

sanjay Jadhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
533 views2 pages

Stylesheet

This document provides best practices for customizing XML Rendering Style Sheets in Teamcenter. It explains that there are standard style sheets stored in the database and file system that can be used as a reference. Custom style sheets should be created with descriptive names indicating what object they are associated with. Registration of custom style sheets can be done from the Viewer tab in Teamcenter.

Uploaded by

sanjay Jadhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Best practices for customizing XML Rendering Style Sheets.

These are not to be confused with XSLS Style


Sheets which are used for Reports.

All Commercial Off the Shelf (COTS) XML Rendering Style Sheets can be found in two places:

1. Inside the database there are XMLRenderingStyleSheet datasets for each object type that has a
Style Sheet attached.
2. In the TC_DATA directory are all the xml files used to import into the XMLRenderingStyleSheet
datasets.

When viewing the contents of an XMLRenderingStyleSheet dataset, the header will tell you what the
Style Sheet is designed for. It is good practice to update this information in your custom XML Rendering
Style Sheets.

[Link]

It is always best to leave these COTS XML Rendering Style Sheets as is for reference, troubleshooting,
and if an error occurs in custom XML, they can be reassigned to quickly return to COTS functionality.
*COTS XML Rendering Style Sheet datasets will also be used if a subtype Style Sheet XML is invalid.

Create the custom XMLRenderingStyleSheet dataset with a descriptive name. One so that by looking at
the dataset name, you can understand what type of Style Sheet it is, and what type of object it is
associated to.

Example:

Some XMLRenderingStyleSheet dataset names for a Custom Item type of GTAC1

 Item Master form Summary = GTAC1_ItemMaster_Summary


 Item Create = GTAC1_Create
 Item Master Form Properties = GTAC1_ItemMaster_Properties
 Item Master Form = GTAC1_ItemMaster_Form

Registration of XML Rendering Style Sheets can easily be done in the Viewer Tab of My Teamcenter.
Select the Registered Type to find the Object to register (Item, Form, Dataset, etc.) then select the
Stylesheet Type to indicate the type of style sheet to register (Summary, Properties, Form, Create,
Summary 2007) After the selections are made click on the Apply button. This will create the required
preferences to associate this Style Sheet to the object.
To Un-Register an Style Sheet to an object. Select the XMLRenderingStyleSheet dataset and click the
Red X next to the Registered Type then click Apply. This will delete the required preferences from the
database and the Style Sheet will not be used. This will not affect the contents of the Style Sheet
dataset.

*If there is an error in the XML code of a custom XMLRenderingStyleSheet for a custom Item type, the
Style Sheet will be ignored and the Style Sheet for the parent type will be applied

You might also like