Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
You can extend meta-models through the use of Modules, which is part of the meta-model that provides the main entry point in the client for extensibility objects. Install modules in the system and activate them from the meta-class.
A module consists of the following:
The Module Manager loads and calls the Module Configurator methods when a module is activated, deactivated, installed or uninstalled. Each module should implement the Module Configurator.
Note: You can modify a meta-model only in Design mode. See the MetaClassManager class section.
The following classes are available in the Mediachase.BusinessFoundation.Data.Modules namespace.
The following modules are default: Change Tracking, History and Localization.
Change Tracking adds new fields to a meta-class and registers the user and the date and time of modification. After activation, the Change Tracking module adds these meta-fields:
To get the module manifest, call the CreateModuleManifest of the ChangeTrackingManager class.
History saves meta-object modifications to the history meta-class. After activation, the History module creates a meta-class named [MetaClassName]\_History, and creates a copy of the entity object if selected field is modified. The [MetaClassName]\_History meta-class has an ObjectId field that has the original primary key value.
You can read the history of the entity object from the [MetaClassName]_History meta-class.
The Localization module localizes field values.
Do the following to define available languages after installation:
After activation, define the localizable field. The localization module creates a new field named [FieldName]_[ThreeLetterWindowsLanguageName], which reads or saves localizable values. If the value is null, you should use the orginal field to get a value. When you add a new language, the localization module automatically creates new fields.
Last updated: Oct 12, 2015