Update a property with many cardinality

Hi!

I have an object called Cloud Connector which references sensor objects on a property called “last seen”. I would like to update this property using a function rather than databinding, but I am struggling to understand what the function should return. I have tried an array of Object ID’s but got an error stating that the return type was wrong and should not be an object or an array.

Cheers, Martin

Hi!

Since multiref property is a relatively new feature it is possible that this is not supported yet. I will investigate the use case further and keep you posted!

1 Like

Hi Martin,

Are you attempting to do this in an app or service?
We are aware of an restriction in services where it is not possible to return arrays of ObjectIDs in functions on multi-ref properties.

The method of returning an Array of ObjectID is correct and should work in apps.

// Erik

Hi Erik!

I am attempting to do it in a service. Do you know when I can expect it to work in services?