OVERVIEW
The TableDefinitionXML field in the Product Family Tables data node tells Titan:
- Which fields to render on a Product Series Data List page
- Which fields to render on a Product Series Data Detail page
- The order in which the fields are to appear. The order cannot vary between Data List and Data Detail pages.
- The type of field being rendered and how to render it
KEYS
field = Name of the data field in the Product Series Data Node(PSDN)
order = column display order of the table
type = {field | lookup} (Lookups require special rendering processing)
render = {data | href} NavDisplayName will always render as a HREF
ShowOnDetail = (1 | 0} Show on the Series Detail page, True or False
XML FORMAT Example
<table>
<headers>
<header field="NavDisplayName" order="1" type="field" render="href" ShowOnDetail= "0">Series</header>
<header field="ActuatorType" order="2" type="field" render="data" ShowOnDetail= "1">Actuator Type</header>
<header field="Mount Type" order="3" type="lookup" render="data" ShowOnDetail= "1">Mount Type</header>
<header field="Circuit Type" order="4" type="lookup" render="data" ShowOnDetail= "1">Circuit</header>
<header field="Positions" order="5" type="field" render="data" ShowOnDetail= "1">Positions</header>
<header field="Contacts" order="6" type="field" render="data" ShowOnDetail= "1">Contacts</header>
<header field="DataSheet" order="7" type="field" render="href" ShowOnDetail= "0">Data Sheet</header>
<header field="CADFile" order="8" type="field" render="href" ShowOnDetail= "0">CAD File</header>
<header field="ROHS" order="9" type="field" render="href" ShowOnDetail= "0">ROHS</header>
<header field="ReachStatement" order="10" type="field" render="href" ShowOnDetail= "0">Reach Statement</header>
</headers>
</table>
How To Edit The XML
Proper formatting of the XML is critical to making the Data List and Data Detail pages work and proper formatting requires a good XML editor. If you don't have one, I recommend using the XML Tools plug-in for Notepad++.
Install Notepad++
You can download Notepad++ here.
Once you have installed NP++...
- Open NP++ and head to the Plugins menu
- Select Plugins Admin
- Locate the XML Tools plugin and install it.
Editing The Table Definition XML
- In the Titan Workstatation, locate the Product Family whose definition you want to edit
- Open the Family and copy the Table Definition XML
- Paste it into a new NP++ tab
- Go to Plugins -> XML Tools -> Pretty Print
- Edit the XML as desired
- When you're done, check your work for errors with Plugins -> XML Tools -> Check XML Syntax now
- Correct errors as needed
- Copy and paste the revised XML back into the Table Definition field and save you work
- Test the target web page
