Real Time Information Director User Documentation
    RTID Metadata Language 
Hewlett-Packard Company  78  529618-002   
Compound Enrichments 
The CompoundEnrichment class provides a way of applying multiple enrichments to the 
same document or record. You pass to this class a bracketed list of enrichments, to be 
performed in the order specified. 
Wherever the metadata syntax allows you to specify an Enrichment, you can specify a 
CompoundEnrichment instead. 
In general, enriched records are more convenient to use than compound enrichments. 
Enrichment Examples 
The Branch Library example included on the RTID CD includes several examples of 
custom enrichments: 
•  The LabEnrichment class provides methods common to other enrichment classes 
within the application. 
•  CheckoutItemEnrichment adds data from a checkout transaction to existing data, 
so that the totals can be reflected in dashboards. 
•  ReturnItemEnrichment uses data from a return transaction to update data reflected 
in dashboards. ReturnItemEnrichment also generates a new record for use as a 
notification or alert.  
Comments about the Customization Process 
Customizing the Director using metadata depends on knowing exactly how source 
systems use different data elements. For example, if you are creating a supply-chain 
solution, you should consult an analyst who knows how SAP is used in each region or 
subsidiary of an enterprise. 
Whether you’re using IDocs or native XML, you’ll want to test your metadata by running 
sample documents from source systems. The iHub team uses a formal reconciliation 
process when deploying a new feed to verify that the data store has captured all 
applicable data from the source SAP instance. 
The RTID release includes numerous driver programs you can use for testing. See the 
document called RTID Metadata Extensibility for information about making and testing 
various metadata enhancements. 










