i want to get the attachment date, how we can handle the attachment date, i check with embedobject properties its having only the size,name etc but i want the date, so please help if any one know the answer,
Subject: RE: How to get attachment date with lotus script
Hi prasad,
thanks for response, here the problem is already the attchments are there in the document, this for migration, so no chance to create the field right now.
Subject: How to get attachment date with lotus script
Arti - I did some digging and have successfully used…
evaluate(@AttachmentModifiedTimes, doc)
and…
Filedatetime(path$)
…either works.
I ended up using Filedatetime as to guarantee that the date I am getting is for the right file. You need to extract the file first and then issue the Filedatetime - I was skeptical, but it does retrieve the correct date - same as @AttachmentModifiedTimes. The latter retrieves an array of dates and you have to trust that it lists the dates in the same order that RichTextNavigator finds the attachments.
Subject: RE: How to get attachment date with lotus script
Peter,
This is exactly the way I’ve been doing it in the past, using the FileDateTime in LS. Be aware that it only works if the file was attached through the Notes client, or through LS on the server. If the file was attached via a File Upload control on the web, then the original file date/time is gone, since web upload doesn’t support it.
Subject: RE: How to get attachment date with lotus script
Peter - can you elaborate on your idea - how do I get time and date from a detached file in the file system? Is it done through Lotusscript? I am trying to do the same thing Arti is doing - detach files for migration purposes and I need to supply a file timestamp to the downstream system.