Hi,
In an Excel-Import, I have to add some data to the Description-Attribute of a Function-Object.
I have the following code:
var mapObjAttr = {}
mapObjAttr[Constants.AT_DESC] = "test";
aAttr = oObj.WriteAttributes(mapObjAttr,nLocale)
This results in an error called: cannot convert [object Object] to java.util.Map
What is the right way?
Ilya Seletkov on
Hello, Dominik!
I use the following code for setting attributes values:
nLoc = Context.getSelectedLanguage(); oObj.Attribute(Constants.AT_DESC, nLoc).setValue("test");Hope, this helps.