AnsweredAssumed Answered

Clearing/Unsetting the value of a date property via REST API

Question asked by hfmeza on Feb 5, 2016
Latest reply on Feb 6, 2016 by hfmeza

I'm developing a Java application that connects to Alfresco Community 4.2.

One of the functionalities involves setting and modifying a document's properties through /alfresco/service/api/metadata/

I create a JSONObject and set the value of each property, which works perfectly for all cases, except when trying to clear or unset the value of a Date property.

I tried sending "" (empty string) or null as the property's value, but when I check the metadata, the property has the same data as before.

Basically what I'm trying to do is replicate via REST API the behavior of the "None" button in the faces interface: <a href="">ScreenShot</a>

Is there a way to do that via WebScripts?

Thank you.