Dilcarina Duarte's picture

Hello Community!

i am developing a script and to get the attribute name of an object we need the selected language (localID)

var aLanguage = Context.getSelectedLanguage();

to get the attribute name:

var nomeT = ( tipologias[t].ObjDef() ).Name(aLanguage );

I am getting the following error:

> Can't find method Item.Name(org.mozilla.javascript.Undefined) (images attached)

Can you guys help me please?

Thanks in advance!

Regards,

Dilcarina