Real Time Information Director User Documentation
RTID Extensibility
Hewlett-Packard Company 7 529618 - 001
By default, an incoming document is loaded in a Delsert operation; if an
Upsert is appropriate to the document you’re defining, you must specify that
option in the document definition. For example, the following line from a
document definition specifies that a document of type
PERSONALDATAUPDATE requires an Upsert:
super(documentRecord,“PERSONALDATAUPDATE”,“UPSERT”)
No two native documents can have the same top-level tag.
2. Create a document definition, using syntax described in the RTID Metadata
Language module. Create the Java metadata objects for the tables identified in
the mapping information:
a. Create document content metadata objects (DocumentRecord,
RelatedRecords, SplitRecords or HistoryRecord.)
b. Create Links objects needed to describe fields used to join two tables.
c. Add enrichments as necessary, for example to incorporate unique keys
or partitioning
See the RTID Metadata Language module for syntax and usage examples.
3. Compile the Java source files, as described in “Compiling Metadata.”
4. Test on your workstation, and then deploy the updated Java class files to the
RTID runtime environment. See “Deploying Metadata” for deployment steps.
To test inbound native documents, use the Dispatch or Disassemble
standalone programs. To test outbound native documents, use the Dispatch
standalone program. To test both inbound and outbound native documents,
use the Reselect program. Resolve any MetadataInconsistency exceptions
evident in response messages. See the section called “Testing the Metadata”
for more details.
5. Create an XML Schema for the native document.
Use the –e option of the Dispatch driver to generate the XML Schema. See
the section called “Testing the Metadata” for more details.
Defining a New IDoc
To create the metadata for an IDoc not included in the RTSC baseline metadata, you must
create a base document definition. A base document definition includes the content and
format metadata needed for this IDoc. You must also augment the data model as required
by the content metadata.
To create a new base document definition, you must