Forum Discussion
Skyler,
The action is configuration is fine. It doesn't work with the "extended classification" property. If I add (this.setProperty("name","test");) to the method, the name changes to "test', but the extended property still doesn't change. I get no error messages. I'm not sure if extended classifications are handled different. TY
Ddidonato,
Ah, I believe you might need to add a line.
this.setAction("edit");
this.setProperty("xp-monthly","1");
this.setPropertyAttribute("xp-monthly","set","value");
this.apply();
return this;
The SetPropertyAttribute function is used to create the property tag in the event that one doesn't already exist; given xProperties unusual relationship with items, this can be needed to properly function. Let me know if that helps.
Skyler C.
- ddidonato6 years agoCreator II
I get the following error:
You tried to perform "update" operation against not defined Extended Properties:
- ddidonato6 years agoCreator II
We added the extended classifications to our PART itemtype after we had already established thousands of records for parts. If I add a new part and select the extended class, then run method it will work.
- _Solana_4 years agoIdeator III
How hard was it to add to the existing parts? We are about to do this.