REST API transfert access property without generation

Hello ARAS community Slight smile

We would like to change using REST the attribute Locked_by_id of an object. (typically give right to someone else to unlock/lock it.

Do you know if it is possible ?

we try this following the Doc but so far it doesn't work : 

PUT host/.../$ref Prefer: return=minimal { "@odata.id": "">host/.../User(‘C542FC153AE647A59CD6F6967295EF6B’)" }

The idea is to enable someone to work on an item unlocked by someone else who is absent and so don't stay bloqued.

Thank you :)

Parents Reply Children
  • Hello,

    It is not possible to block a revision for an Automatically revisioned item type.

    However, it would be possible to write your own versioning logic to accomplish what you're looking for. You could use two custom properties named something like my_major_rev and my_generation and use an onBeforeUpdate server event to increment these values as you need to.

    Chris