var inn = aras.IomInnovator;
var item = inn.getItemById("ITEM_TYPE", "9A78BB7E5EC340018DE26D604CB92041");
item.lockItem();
item.setProperty('my_property',new_value);
item.apply();
item.unlockItem();
console.log(item.getProperty('my_property')); //return new_value
and :
var aml = "<AML><Item type='ITEM_TYPE' id='9A78BB7E5EC340018DE26D604CB92041' action='edit'/><my_property>new_value</my_property></Item></AML>";
inn.applyAML(aml);
But when i check the item in its grid the property remains unchanged.
What am I doing wrong here?
Thanks you.
Léo