Mapping Document Metadata to Portal Properties with Content
Types
Content types specify
several options — the source content format (such as Microsoft Office,
web page, or Lotus Notes document), whether the text of the content
should be indexed for searching, and how to populate values for document
properties. You should create a separate content type for each
unique combination of these options. For example, if departments use
different Microsoft Word attributes for document descriptions, you
might have to create one content type that pulls the description from
the Subject attribute and one that pulls it from the Comments attribute.
To create a content type you need the following rights and
privileges:
- Access Administration activity right
- Create Content Types activity right
- At least Edit access to the parent folder (the folder that will
store the content type)
- Click Administration.
- Open the folder in which you want to store the content
type.
- In the Create Object drop-down list,
choose Content Type.
The Content Type Editor opens.
- In the Document Accessor drop-down
list, choose the accessor associated with the
type of document for which you are creating this content type.
The accessor determines how the portal extracts information
from these documents.
Use the File Accessor to extract general information (such as name
and description)
from any type of document. Use other accessors to extract more detailed
information;
for example, the HTML Accessor can extract title and author values.
- If these documents include textual content and you want
that content to be searchable,
select Index documents of this type for Search.
For example, you would not want to index .zip files, but you
probably would want
to index .txt files.
- Specify property mappings.
- To add a property mapping, click Add Property; then, in the Select Properties dialog
box, select the properties you want to map and click OK.
- To change the source document attributes that are associated
with a property or to add a default or override value, click to the far-right of the property and
type the settings
in the appropriate text boxes.
If you want the values for this property to be extracted from
the source document
attributes, in the Mapped Attributes box, type
the associated attributes, separated
by commas (,).
Content crawlers search the attributes in the
order in which you list them here;
if there is no value for the first listed attribute, the content crawler
looks for
the second listed attribute, and so on.
- If you want this property to have a value even when the source
document does not
have a value for any mapped attribute, in the Default Value box, type the value you
want this property to be given.
- If you want this property to have the same value for all documents,
in the Override
Value box, type the value you want this property to be
given.
Note: If you set an override value, the attribute mappings and
default value for this property
are ignored.
- To save your settings, click .
To remove a mapping, select it and click .
To select or clear all of
the mapping check boxes, select or clear the box to the
left of Properties.
- To toggle the order in which the properties are sorted, click Properties.