This project has moved and is read-only. For the latest updates, please go here.

WSS 3.0. Is it possible to add date of the attachment in the list item?

Jul 26, 2012 at 7:33 AM
Edited Jul 26, 2012 at 7:36 AM


I would like to add date of attachment to attachment file name using SPServices. For example, we want to see in the DispForm.aspx or in EditForm.aspx not only the attachment name but attachment name + date of attachment. For example, 26.07.2012 - filename.txt.

I know that every attachment has property vti_timecreated. How can i add this property to filename?

Is it possible? Thank you!

Jul 26, 2012 at 5:59 PM

Would you want to do this after the attachment has been uploaded? If not, you don't need SPServices, just jQuery.


Jul 27, 2012 at 3:18 AM

I think, in the current i would like to do this only when the user open form on edit list item or view list item. I am sorry, if it is possible can i see example of how can i get this property using jQuery?

Jul 30, 2012 at 8:29 PM

Take a look at the Lists Web Service. There are several operation which allow you to work with attachments.


Jul 31, 2012 at 6:56 AM

Thank you very much.