View Full Version : Custom attributes
how do you read by code the attribute "Custom attributes" of a form field?
thanks
barrymavin
2013-09-23, 23:54
Each attribute can be referenced by prefixing it with user_
user_customAttributes gime me an error..
barrymavin
2013-09-24, 02:08
customer attributes are "custom attributes"
name=value;name2=value
Then you reference:
user_name and user_name2
I think I explained myself badly,
intent the property "Custom attribures" of a Form Field.465
barrymavin
2013-09-24, 02:36
No I understood. This is a list of attributes:
name=value;name2=value which you can "tag" against the UI control.
Wow, I go to take a coffe... ;)
into the "custom attribute" of a field "HIGHER_LEVEL" I've type:
edt="COA_HIGHER_LEVEL";
by code:
m_field = Lianja.GetElementByID("HIGHER_LEVEL")
? m_field.user_edt
and I give:
mar 24. set 09:47:02 2013
**** Lianja error ****
"edt = " + m_field.user_edt
^
PROPERTY 'USER_EDT' not found
Called from procedure - dd_setfieldproperty at line 19
where I wrong?
barrymavin
2013-09-24, 03:22
Try reopen the app if that does not work then submit a ticket but it will not be fixed in RC9 as we are preparing the distros.
barrymavin
2013-09-24, 21:56
into the "custom attribute" of a field "HIGHER_LEVEL" I've type:
edt="COA_HIGHER_LEVEL";
by code:
m_field = Lianja.GetElementByID("HIGHER_LEVEL")
? m_field.user_edt
and I give:
mar 24. set 09:47:02 2013
**** Lianja error ****
"edt = " + m_field.user_edt
^
PROPERTY 'USER_EDT' not found
Called from procedure - dd_setfieldproperty at line 19
where I wrong?
This is now fixed in the final of RC9.