Default Value of attributes of classes displayed in Java client
Hi All,
Can anybody tell me in which table DEFAULT VALUE of an attribute (at class level or subclass level) is stored. This information is displayed in java client =>Admin=>Data Settings=>Classes=>User Interface Tabs=>Title Block => Attributes.
In Attribites tab, default value column is displayed. From where I can get this values?
All properties of attributes (and many other things) are stored in PROPERTYTABLE. This includes what the data type is, what database attribute it is, what the max length can be, what list is associated to it (if a list or multilist attribute, whether it is a required attribute, etc.
The default value for an attribute can be viewed using :
select p.value from propertytable p, nodetable n where n.description='<insert attribute name>’ and n.objtype=1 and n.id=p.parentid and p.propertyid = 5;