The PCMObjects File
The PCMObjects file contains a list of Contenta object definitions and property sheet field definitions for objects into which you want to import XML/SGML elements.
The default objects in the file are CompoundAscii, CompoundDoc and DataModule. The PCMObjects file can only contain objects of the compound type or user-defined objects based on a compound type.
- The object definitions constitute the select list in the PCM Object field under the mapping rules.
- The property sheet field definitions constitute the fields and list in the Attribute Map under the mapping rules.
You use the Attribute Map to map an element’s attribute to a property sheet field—the property sheet field is populated with the attribute’s contents during import. The following is a (truncated) example of a PCMObjects file. Note that the CmpAct object in the file is a sample custom object based on the CompoundAscii object.
ActObj|CmpAct|Store data from Act element
{
actnum|character string|for the Act Number
actor|character string|for the Speaker
}
DataModule|CompoundAscii|ObjectType is 109 ClassType is 71
{
Procedure|Character String|An identifier for the content
Job Number|Character String|NumericID for the Overall Document
Effectivity|Character String|Applicability Identifier
Process|Character String|Workgroup Workflow Info
Datestamp|Character String|Usage Time Info
Product|Character String|Product Identification Info
Identity|Character String|Unique ID Field
Usage|Character String|Usage Identity Info
Context|Character String|Info about Immediate Parent
Type|Character String|Generic Sense of Type
Category|Character String|Generic Sense of Category
Keywords|Character String|Searchable Keywords