The web blog http://www.learnsccd.com strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

MBO(Maximo Business Objects) Basics Part 10- Getting Attribute Metadata

MBO Getting Attribute Metadata

MboValueData class is used to get metadata information about an attribute of a Mbo

Ex: MboValueData ciAssetNumAttribute = ci.getMvoValueData(“assetnum”);

getData():    Returns actual data
getLength():  Returns the maximum length
isNull():    Determines if the value is null or not
hasList():    Determines if the attribute has a value list or not
isRequired(): Returns if the attribute is a mandatory field
isReadOnly(): Returns if the attribute is editable or not

The metadata of multiple attributes can be obtained by providing the names of the attribute as list to getMboValueData() method