Hi,
I've got an attribute which is an array/composite type (2 strings)
I want to remove each value from the composite array and replace with new values. When i remove the values with x.setAttributeWithKey("QMapping",null); the value gets unset like above and i can not push into it again with .setAttributeWithKey("QMapping",attributeValues); as it gives me an error. Is there a way to set the value to null in code like you do when you click on the not set and then click accept, it then initialises the array it seems and lets me add values to it.
Thanks
Hi,
x.setAttributeWithKey("QMapping", []);
Simple when you know how!
As ever thanks Ilian!