AnsweredAssumed Answered

document object id???

Question asked by paulspiteri on Feb 1, 2012
Latest reply on Feb 3, 2012 by vandana_pal
I've written a Script that runs automatically by a Content Rule when a doc is uploaded to a particular folder.
I'm using it to pass the file name to a web service.
It works well, but I'd rather pass the object id. I tried using "" and I got a guid but it's not in the format I expected.
The code i'm passing it to uses CMIS to get document details/content, and expects the objectid to be in the format:

Can anybody point me in the right direction to get this property out of the javascript api "document" variable?