Declaring a new Pod

The first step is to declare our new Pod. The PodType codetable is used for this purpose. Create a file CT_PodType.ctx in our component. Add a code and value for the new Pod like the example below. The convention is to use the prefix PT for the codetable value. The description field will be used by the Administration wizard to refer to our Pod.

Figure 1. CT_PodType.ctx, declaring a 'Pod-Type'
<?xml version="1.0" encoding="UTF-8"?>
<codetables package="codetable">
  <codetable java_identifier="PODTYPE" name="PodType">
    <code
      default="false"
      java_identifier="HELLOWORLD"
      status="ENABLED"
      value="PT9001"
    >
      <locale language="en" sort_order="0">
        <description>Hello World!</description>
        <annotation/>
      </locale>
    </code>
  </codetable>
</codetables>