hello
i have added a property on the Project item type. this property is "object" data type
and i simply wanted to know if it is possible to programatically set this property.
any information about this topic would really help me
for now i have tried to set it with this little test method that i run on a project action :
var inn = this.getInnovator();
var thisID=this.getID();
var itemProjet = inn.getItemById("Project",thisID );
console.log(itemProjet.getProperty("name"));
var template = inn.getItemByKeyedName("ZFCcontrainteTemplate","rohs int not bool"); //
itemProjet.setProperty("zfctemplate","rohs int not bool"); // i've tried with name and ID
console.log(itemProjet.getProperty("zfctemplate"));
after running this method i get really strange result , first the field associated to my property isn't updated even when i quit and reload the project and i get some locking errors if i try to modify it again
thanks,
Lucas