Default Values and the Generic Indexer

From CMOD.wiki
Revision as of 13:43, 15 March 2016 by Jderrick (talk | contribs) (Initial Edit.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

There are times when you want to load data into 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 Application window, under the Load Information tab.


The Rules for Default Values in Content Manager OnDemand

Here are the rules for when Default Values are used when loading data into CMOD using a 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.
    • Even if after character removal, the results in no value ( a string with 0 length ), the default value is NOT used.
  • If the field DOES NOT appear in the CMOD Generic Index file, THEN the default value is used.