Default Values and the Generic Indexer
What is the CMOD Generic Index File Format?
In Content Manager OnDemand, there are a variety of 'indexers' that can read documents directly, and identify metadata by it's location in the document. When you have documents that CMOD can't natively or automatically read (for example, images of text or handwritten notes) then you can provide the document metadata with a Generic Index File.
Generic Indexes are often provided as the output from ICR / OCR systems like Kofax and IBM DataCap, so that images that have been processed by these systems can be ingested easily into CMOD.
However, there are times when you want to load data into IBM Content Manager OnDemand, but you don't have all of the data you need at the time the load is run, or the values you want to use can't be located in the document itself.
In these cases, you can set a 'Default Value' in the IBM CMOD Admin Client Application window, under the Load Information tab.
Using the CMOD Admin Client to set a default value
Default Date Values
If the field you've selected is a Date, Time, or Date & Time field, you can enter a specific date or time (in the format specified in the Format field immediately below), or the lowercase letter T ('t' - for 't'oday) to insert the current date and/or time. This is useful for 'timestamping' the files stored into OnDemand with CMOD's arsload utility, often with a field called 'Load Date'.
For more information about how dates and times are handled in IBM CMOD, see Date and Time formats in Content Manager OnDemand.
The Rules for Default Values in IBM Content Manager OnDemand
Here are the rules for when Default Values are used when loading data into using an IBM CMOD Generic Index file:
- When the field name appears in the Generic Index file, with a corresponding value, that value is used.
- If the value is blank, the blank is loaded into the database, and the default value is NOT used.
- If, even after character removal, the result in no value (for example, a string with 0 length ), the default value is NOT used.
- If the field DOES NOT appear in the IBM CMOD Generic Index file, THEN the default value is used.