Skip to Content
CTS Corporate
Main Content

OVERVIEW

The TableDefinitionXML field in the Product Family Tables data node tells Titan:

  1. Which fields to render on a Product Series Data List page
  2. Which fields to render on a Product Series Data Detail page
  3. The order in which the fields are to appear. The order cannot vary between Data List and Data Detail pages.
  4. 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++...

  1. Open NP++ and head to the Plugins menu
  2. Select Plugins Admin
  3. Locate the XML Tools plugin and install it.

Editing The Table Definition XML

  1. In the Titan Workstatation, locate the Product Family whose definition you want to edit
  2. Open the Family and copy the Table Definition XML
  3. Paste it into a new NP++ tab
  4. Go to Plugins -> XML Tools -> Pretty Print
  5. Edit the XML as desired
  6. When you're done, check your work for errors with Plugins -> XML Tools -> Check XML Syntax now
  7. Correct errors as needed
  8. Copy and paste the revised XML back into the Table Definition field and save you work
  9. Test the target web page