Get original file creation and modified date during upload - ONLY in explorerview ??

Hi,
SharePoint and me are having a difficult time again ;-)
I have the customer requirement to retain the original file's creation date and modified date.
Please do not start replying by just pasting links that you might find while searching for the keywords "retain creation date".
In a nutshell I found out that the original dates are only available in SharePoint if the
explorerview has been used. I always thought that the explorerview is a bad thing, but only here - the original creation date is stored in a property called "vti_ct". In the itemupdated eventreceiver you can get the
value and work with it.
Complete list of available properties
http://sbrickey.com/Tech/Blog/Post/Secrets_Revealed_SP_Event_Receivers_firing_multiple_times
Here I found the hint with the explorerview
http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010programming.aspx?ID=57bfd5f5-941f-4a89-919d-cdf7b0b801be
It is only available in the 2nd loop of the itemupdated event. 
How the f*** can this happen??? The 2nd post states that when using the explorerview the file is being copied, while it is being re-created by using the SharePoint UI.
Has anyone a different approach for using the SharePoint UI?
I thought about different approaches for this issue. From my perspective it seems to be not solvable from the server-side. It seems only to be able to be set using a client application.
Example 1: spbulkdocumentimport 
http://spbulkdocumentimport.codeplex.com/wikipage?title=Features&referringTitle=Documentation
Example 2: implement a custom webservice
http://blog.orbitone.com/post/Preserve-created-and-modified-information-when-importing-a-document-in-SharePoint
How do you deal with this customer requirement?
Open for discussions
Sven 

Hi,
Newbie to SharePoint, learn quite a lot from the links you provided.
“I found out that the original dates are only available in SharePoint if the explorerview has been used”, this would make sense because the original creation time is generated
by the file system in the local machine.
However, when a file is uploaded to SharePoint library, it will be stored as binary data in the database, as well as the newly created time. It means that it will be a “new” file
in the SharePoint site regardless of where it comes from.
Per my knowledge, the only way I can suggest is that you will need to create a client desktop application for the file uploading, which will be a more general way not only for
uploading a file, but also when we need to migrate files between different systems.
Thanks

Similar Messages

  • Used Migration Assistant to successfully transfer PC files to Mini. However file creation or modified date does not transfer. Date of creation is listed as day of transfer.  I would gratefully appreciate any help in solving this,

    Used Migration Assistant to successfully transfer PC files to Mini. However file creation or modified date does not transfer. Date of creation is listed as day of transfer.  I would gratefully appreciate any help in solving this?

    I have the same problem; used Migration Assistant to transfer all my pix from PC to MacbookPro, however dates of pix were not transferred. Date created as the date of transfer. Cannot sort my pix according to date.
    Anybody has an answer?

  • Export Contact with creation and modify date

    Hi All,
    I need to export the contact created in AD ( windows 2008 )with creation and modified date.

    Hi Vin,
    In addition,
    the following thread can be referred to as reference.
    Exporting AD Objects by creation date
    http://social.technet.microsoft.com/Forums/en-US/d8fd00ba-e97a-4e28-a67a-1d56bfddd554/exporting-ad-objects-by-creation-date?forum=winserverDS
    Best regards,
    Frank Shen

  • Get the file creation date

    hi friends..
    i searched many forums to get file creation date
    i didnt get the solution but i found one program which execute
    dos command and gets the output of that.
    so using that program i developed a program to get the file creation Date & Time also
    //getCreationDate.java
    import java.io.*;
    import java.lang.*;
    public class getCreationDate {
    public static void main (String args[]){
      try {
         // get runtime environment and execute child process
         Runtime systemShell = Runtime.getRuntime();
          BufferedReader br1=new BufferedReader(new InputStreamReader(System.in));
          System.out.println("Enter filename: ");
          String fname=(String)br1.readLine();
         Process output = systemShell.exec("cmd /c dir "+fname);
           // open reader to get output from process
         BufferedReader br = new BufferedReader (new InputStreamReader(output.getInputStream()));
         String out="";
          String line = null;
          int step=1;
          while((line = br.readLine()) != null )
                if(step==6)
               out=line;
                step++;
                }          // display process output
          try{
          out=out.replaceAll(" ","");
          System.out.println("CreationDate: "+out.substring(0,10));
          System.out.println("CreationTime: "+out.substring(10,16)+"m");
          catch(StringIndexOutOfBoundsException se)
               System.out.println("File not found");
       catch (IOException ioe){ System.err.println(ioe); }
       catch (Throwable t) { t.printStackTrace();}
    }

    Following line should be modified to make it work on all platforms:
    Process output = systemShell.exec("cmd /c dir "+fname);

  • Get Total DB size , Total DB free space , Total Data & Log File Sizes and Total Data & Log File free Sizes from a list of server

    how to get SQL server Total DB size , Total DB free space , Total Data  & Log File Sizes and Total Data  & Log File free Sizes from a list of server 

    Hi Shivanq,
    To get a list of databases, their sizes and the space available in each on the local SQL instance.
    dir SQLSERVER:\SQL\localhost\default\databases | Select Name, Size, SpaceAvailable | ft -auto
    This article is also helpful for you to get DB and Log File size information:
    Checking Database Space With PowerShell
    I hope this helps.

  • What is the best software programs that I can use to read, write and modify data / files on external HD (NTFS format i.e.  Windows) ?

    Hi guys,
    I’m new to Mac and have a MacBook Pro Lion OS (10.6.8 I think !!!) with Parallels 7 (Windows 7) installed. Can someone please tell me what is the best software program that I can use to read, write and modify data / files on external HD (NTFS format) from the Mac OS ? I heard of Paragon and Tuxera NTFS. Are they free ? Are they good ? Are there any other software programs out there ? I heard that some people have issues with Paragon.
    Thanks.

    Your best bet would be to take the drive to the oldest/compatible with that drive Windows PC and grab the files off, right click and format it exFAT (XP users can download exFAT from Microsoft) and then put the files back on.
    Mac's can read and write all Windows files formats except write to NTFS (and in some cases not read) so if you can change the format of the drive to exFAT (all data has to be remove first) then you will have a drive that doesn't require paid third party NTFS software (a license fee goes to Microsoft) for updates.
    Also it's one less hassle to deal with too.
    .Drives, partitions, formatting w/Mac's + PC's

  • HOW CAN I GET ORIGINAL FILE OF A PHOTO FROM IPHOTO

    CAN I GET ORIGINAL FILE OF A PHOTO FROM IPHOTO

    File -> Export
    Set the Kind to Original.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    Regards
    TD
    p.s. Please don't type in block capitals. They're harder to read, and on the forum it looks like you're shouting at everybody.

  • Problem with getting the file name and type from OAMessageFileUploadBean

    Hi Tapash,
    I am trying the code below to get the file name and mime type from OAMessageFileUploadBean,
    DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("Documents");
    String uFileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
    String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    But this piece of code gives errors saying that selectValue selectValue(null, java.lang.String) not found in class oracle.svc.DataObject
    Any ideas? why this code is giving error?
    Can i handle the event of browse button for OAMessageFileUploadBean?
    Regards,
    Nagesh Manda.

    Try using class oracle.cabo.ui.data.DataObject
    --Shiv                                                                                                                                                                                                       

  • Finding Plant Creation and Updation Date

    Hi all,
    I just want to find out if it is possible to find out Plant Creation and Updation Date using ABAP statements. Does it get stored in CHDHR or CDPOS and if yes, then what is the object Key.
    Thanks

    Check Report RSVTPROT with table name T001W for Plant changes. I do not think it updated CDHDR.
    You can SUBMIT this report and get back the list in your custom program.
    How to get list back in your custom program refer
    http://scn.sap.com/thread/3147016

  • Created and modified dates all the same

    Clock is displaying the correct time but for all types of files the created and modified dates are all displaying the one date. Any suggestions?

    Thanks for your input.  I want to keep the files with a 1 or ~1 as it happens and delete the rest.  I have written some scripts.  I think I could write a script to delete all files with a 1, but of course that is not what I want.  I guess
    I need a script to delete all files except if they contain a 1.  I haven't used a forum since way back in the PC mag days.
    Whoops..........I just realized exactly what you were telling me and used your suggestion.  I guess I was trying to do more work than I needed.  I searched for all files with a 1 in the folder and then moved them to a different folder.  Then
    I deleted the rest.  Job done.  Thanks for the help.

  • I am getting frequent lock-ups and blue screens during boot up. The lock ups occur during normal use and I cannot click anything or force quit. The cursor shows something is loading, but never stops. I have to use power button. Ideas?

    I am getting frequent lock-ups and blue screens during boot up on my Mac Pro.  The lock- ups occur sometimes during normal use and I cannot click anything or force quit. The cursor shows something is loading, but never stops. I have to use power button.
    I had the Mac Defender malware and I have used apple jack but still having issues.

    I am getting frequent lock-ups and blue screens during boot up on my Mac Pro.  The lock- ups occur sometimes during normal use and I cannot click anything or force quit. The cursor shows something is loading, but never stops. I have to use power button.
    I had the Mac Defender malware and I have used apple jack but still having issues.

  • Creation and Change Date for Tcode and Function Groups

    Hello All,
    I need to display the Creation and Change Dates for Custom Tcodes and Function Groups in a Report. Can anyone please let me know the logic of retrieving it.
    regards,
    Mahesh

    Hi,
    TADIR and TRDIR is the tables where you can find all these data
    Regards
    Sudheer

  • Display "modified by" and "modified date" on sharepoint wiki pages.

    Hi there,
    I want to display "modified by" and "modified date" on sharepoint wiki pages as a footer note.
    I googled about it and I got the following code which I have inserted in my master page(Since I want to display on 2400 pages).
    <%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <SharePointWebControls:DateTimeField FieldName="Modified" runat="server" ControlMode="Display"/>by
    <SharePointWebControls:UserField FieldName="Modified By" runat="server" ControlMode="Display" />
    It is working but last modifed user and date and time is visible only till page loads.
    After page is loaded completely it dissappears.. Am I missing something??
    Many thanks in advance..

    Sabiha,
    Try these links,
    http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
    http://blogs.msdn.com/b/kaevans/archive/2011/07/07/modifying-the-page-layout-for-enterprise-wiki-pages-in-sharepoint-2010.aspx
    https://social.technet.microsoft.com/Forums/en-US/64f6006a-73c5-4c8e-a552-896df8e22af1/show-wiki-page-library-columns-on-wiki-pages-sharepoint-2010
    Hope it will be helpful
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How To... Update Master Data during upload of transaction data

    Can anybody let me know how this can be achieved.
    I have datasource (Legacy not R3) where I am getting both master data and text for number of infoobjects.
    I dont want separate datasources.
    The datasource is actually transactional datasource.
    I dont need text in the cubes or DSO I need the text tables of the infoobjects to be updated.
    I could find this on SDN but do anyone have document based on the below link.I was not able to find it.
    How To... Update Master Data during upload of transaction data
    Thanks.

    Dear Praveen
    I guess yr req is demanding the knowledge of Data Unification and Synchronization whose scope is a bit outer the area of BW.( its MDM actually )
    In BW we could very well fetch data out of different data sources (even across the different system) with no issues so why not u trying that. if there is any issue implementing that then please specify what kind of trouble you are interfacing...
    I got the below link which may be helpful
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bd6389-0a01-0010-eb95-d45835d446a8

  • How to accessed,created and modified date of particular file in java

    Hi,
    I am facing one problem.
    I know how to get the modified date/time of file in java.
    but i don't know how to find created and accessed date/time of file in java.
    Thanks,
    Tejas

    I guess thats not possible in in Windows.
    But if u r trying it on a unix machine.
    You can use Runtime class to call exec on the command
    ls -l filename
    and then store the result in a file . And then take out the last modified time. But you cant get created time.
    Thats a clumpsy way i believe.

Maybe you are looking for

  • Question regarding WRT54G and XBOX LIVE

    I'm having trouble with XBOX live and when I called support they told me I had to change the ports on my Linksys from moderate to open...does anyone know how to do this?

  • New iPod shuffle won't stay on, charge, and not recognized by computer

    My daughter won a new iPod Shuffle that as far as we know has never been opened/used till today.  We have iTunes downloaded and working on our computer.  But when plugging in iPod via provided USB cable, the computer (and I've tried two different one

  • How to set transaction isolation level for a method in a Local Interface

              By reference at:           http://e-docs.bea.com/wls/docs61/ejb/reference.html#1071267,           the value for method-intf can only be "Remote" or "Home".           My question is--           How to set transaction isolation level for a me

  • Apple Package Failed to Install Successfully

    Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR: DW006 ... -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 2 error(s) ----------- Payload: Adobe Photosho

  • Backup IPad 2

    I want to backup my ipad2. when I connected it to my computer, opened ITunes and hit Device, all the options are grayed out, so I can't select Backup. How can I fix this?