cancel
Showing results for 
Search instead for 
Did you mean: 

modifiedDate of an uploaded file??

geoffrey1211
Champ in-the-making
Champ in-the-making
Hi,

After uploading a file using the upload example (http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload), how do I display the modified date and created date?

I am able to get the file size and mimetype by
${child.size}
${child.mimetype}

but I don't know how to get the dates.  Can you also let me know where I may find this information?  The ScriptNode API doesn't tell me this.  (http://wiki.alfresco.com/wiki/3.1_JavaScript_API#ScriptNode_API)

Thank you so much.
Desperately frustrated w/ Alfresco's documentation,

Geoffrey
1 REPLY 1

mikeh
Star Contributor
Star Contributor
That's where the Node Browser is so useful - in the Admin Console in the JSF client.

You want:
${child.properties.created?datetime} and ${child.properties.modified?datetime}

The next best source for this information is existing web scripts.

Thanks,
Mike