-
☆ A M B ☆
- 450 Posts
I just figured out how to pass an associative array to a modPropertySet object via setProperties. It works great, and sets properties based on the key/value pairs in the array.
Now, how would I pas along other fields for the property, such as 'description' and 'type'?
-
☆ A M B ☆
- 450 Posts
Thanks.
I actually figured it out myself. Absolutely amazing how intuitive this stuff is!
-
☆ A M B ☆
- 571 Posts
I jump in the boat… i was wondering lately if there is any way to set only one property at a time using the API ? Using setProperties removes any existing property if not defined in the setProperties array
You just need to get the properties with getProperties(), change the one you want and send them back with setProperties().
-
☆ A M B ☆
- 571 Posts
Why but why didn't i think about that ?!
Thanks Bob