AnsweredAssumed Answered

Update date property

Question asked by sercama on Jun 12, 2017
Latest reply on Jun 12, 2017 by sercama

Hello everybody,

I have to update a custom date property from a node of my Alfresco installation. So, I run next javascript code:


var node = search.luceneSearch('@sys\\:node-uuid:"abd3a8f7-66a5-4288-bf29-b9f31510cecb"');
node = node[0]; //get node to update["xxx:customDate"] = "2017-03-31T13:14:17";;

Output is:


However, If I explore this node in node browser, property xxx:customDate, whose is type d:date, has got old value.


Have you any idea how update a custom date propery?