how i will fetch field’s dataType, length(if field is Text type), label and helpText from Object in javascript skuid
Page 1 / 1
You can use skuid.model.Model.getField() to get field metadata. All four of the things you mentioned are included, but here is the full list.
i am fetching
var vt= skuid.model.Model.getField(take_priority__c);
alert(‘>>>>>>>>>>>>>>>’+vt);
Not working…
Also
var vt= skuid.model.ContFlds.getField(take_priority__c); alert(‘>>>>>>>>>>>>>>>’+vt);
ContFlds- my model name
This syntax will give you the field metadata object.
skuid.model.getModel(‘ModelName’).getField(‘FieldName’)
Can you share me the links of good code stuff of skuid…i am new in skuid…
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.