Get Original Date Created/ Document Upload

Hello, 
How can i get original Date Created of a document when i make a file Upload? 
Thanks

Hey. 
I ´m looking for Date Created (file). The date that i can see if i make: (Right click
the file -> Properties). 
I have a another post here about this issues : http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9e7a461d-fb97-4207-9963-2d4e680d8e54/file-info-return-01011601#81d77556-84b1-43c9-89e2-b5f7f544006e
Take a look.
Thanks for help me. 

Similar Messages

  • Get DNG Date Created from dng sdk

    I have successfully compiled the dng sdk and the validate app and I wondered what is a simple way to just get the date created out?

    Maybe your scanner software is doing something strange saving as a DNG that ACR does not like?  Try scanning as a TIF and open in ACR if that works for you.
    Scanning large format negatives as a 16 bit RGB tiff is and then opening in Camera RAW is my preferred workflow and I get to use all of the ACR tools and adjustments, much easier to do some of these than in Photoshop.
    Maybe the TIFF route might work for you - and once in ACR you can always save the output as DNG
    Mike

  • Getting Error while creating Document object  after  parsing XML String

    Hi All,
    I have been trying to parse an XML string using the StringReader and InputSource interface but when I am trying to create Document Object using Parse() method getting error like
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    Please find the code below which i have been experimenting with:
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.StringReader;
    import java.util.List;
    import java.util.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import java.io.*;
    public class TestMain {
         public static void main(String[] args) {
              String file = "";
              file = loadFileContent("C:\\Test.xml");
              System.out.println("contents >> "+file);
              parseQuickLinksFileContent(file);
    public static void parseQuickLinksFileContent(String fileContents) {
    PWMQuickLinksModelVO objPWMQuickLinksModelVO = new PWMQuickLinksModelVO();
         try {
    DocumentBuilderFactory factory =           DocumentBuilderFactory.newInstance();
         DocumentBuilder builder = factory.newDocumentBuilder();
         StringReader objRd = new StringReader(fileContents);
         InputSource objIs = new InputSource(objRd);
         Document document = builder.parse(objIs); // HERE I am getting Error.
         System.out.println(document.toString());
    What is happening while I am using builder.parse() method ???
    Thanks,
    Rajendra.

    Getting following error
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.

  • Images in my Aperture 3 libraries have lost their original "date created"

    Just made a very discouraging discovery regarding the "date created" field for my photos. Noticed that all photos in any project default to the same date created, even if they weren't shot on the same date. Not sure what date they're all defaulting to (it's different for each project) but I've noticed two oddities:
    1) The mm/dd/yy - mm/dd/yy when you view the projects by name show up with the correct date spans but when you look at each individual photo in the project, they all have the same created date.
    2) If you transfer a photo from one project to another, it's creation date will change to the same creation date as all the other photos in the new project. Transfer it to a different project, and the same thing happens.
    So, in short, the creation date doesn't seem to be locked into the original date when the photo was taken. What gives? Is this a bug or am I missing something? The thought that I might have to go in and re-enter all the creation dates on my thousands of photos is a bit exasperating.

    There is still confusion surrounding this issue fore me.
    There are three metadata views which have a Date field, General, Photo Info and EXIF Info. In each of these views the capture date and time is correctly displayed for the selected image.
    The IPTC Core metadata view has a *Date Created* field. If I switch from any other metadata view to IPTC Core, the Date Created will be correct for the image that was selected when I changed views.
    However if I select a different image while still in IPTC Core view, the date created does not change. Only by switching to any other metadata view then back to IPTC Core does the correct date and time display for the newly selected image.
    Is this by design or is it a bug?

  • PDF file getting corrupted while creating document

    Dear experts ,
                               we are creating DMS document using  BAPI_DOCUMENT_CREATE2 , its all working fine in DEV and Quality system but in production system in case of PDF file bapi is returning success message , but user is not able to display or see the document , getting an error saying 'There was an error opening this document. The file is damagedand could not be repaired'.
    my fuction module getting call from java webdynpro application , I have doubt on the OPEN DATASET statments
    I am using below code to transfer data to application server ,
      IF iv_file_path IS NOT INITIAL.
        SPLIT iv_file_path AT '.' INTO lv_filename lv_ext.
        CALL FUNCTION 'CV120_DOC_GET_APPL'
          EXPORTING
            pf_file   = iv_file_path
          IMPORTING
            pfx_dappl = lv_file_type.
        TRANSLATE lv_file_type TO UPPER CASE.
        OPEN DATASET log FOR OUTPUT IN BINARY MODE
        TRANSFER lv_ext TO log.
        ls_documentfiles-wsapplication = lv_file_type.
        TRANSLATE ls_documentfiles-wsapplication TO UPPER CASE.
        CONCATENATE
                           lv_filename
                            lv_ext
                            INTO lv_file_name.
        CONDENSE lv_file_name  NO-GAPS.
        TRANSFER lv_file_name TO log.
        OPEN DATASET lv_file_name FOR OUTPUT IN BINARY MODE MESSAGE lv_msg.
    **Transfer Attachment Content to Application Server
        TRANSFER iv_file_data TO lv_file_name.
        CLOSE DATASET lv_file_name.
    Please help

    After convert PDF file  you have to use following FM the u send file.
    DATA: pdf TYPE REF TO cl_hrasr00_pdf_generation.
      DATA : lt_data            TYPE solix_tab.
      OPEN DATASET filename FOR INPUT IN BINARY MODE.
      IF sy-subrc EQ 0.
        READ DATASET filename INTO filex.
      ENDIF.
      IF filex IS NOT INITIAL.
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = filex
          IMPORTING
            output_length = file_length
          TABLES
            binary_tab    = gt_objbin.
      ENDIF.
      CLOSE DATASET filename.

  • How to get correct dates on documents?

    MacBook Pro (OS 10.6.8) attributes the same date to all documents and programs, regardless of when they were created.  The problem started after the computer was allowed to run out of battery power.  It seemed to start up ok after the computer was plugged in and the battery was allowed to recharge. 
    Another problem detected soon after this was that FaceTime would not connect either for incoming or outgoing calls.  It would ring on the other computer or iPad, but then not connect.  The same thing was true in the opposite direction.  The incoming caller would be identified, but connection would not occur.
    Possibly related to one of these problems is the fact that printer software for a HP 5520 was added just before we detected the FaceTime problem.
    Other computers and iPads in the same Wifi environment have no problem connecting.
    Skype works fine on the problem MacBook Pro.  I shut down both Skype and iChat and restarted.  Facetime still would not connect.
    Message was edited by: Geraldine Dwyer1

    Verify that the Date, Time, and Time Zone are set correctly:
    From the Apple () menu, choose System Preferences > Date & Time > Date & Time.
    Enable "Set Automatically".
    Click the Time Zone tab and confirm the closest city is correct.
          http://support.apple.com/kb/TS4185

  • Get original data from input after being parsed by formatter

    Hello.
    How do you get the original input value from a TextInput after it's been formatted using a Spark Formatter?
    Thank you.

    Hello Loring
    Please check Where Used List for /SAPAPO/OM_PEGID_GET_ORDERS in SE37. You will see the sample code within standard SAP program.
    Also do read Function Module documentation for this FM, this has special mentioned that -
    It is designed specially for use in APO and should not be used for
    standard tasks, in particular selecting orders by pegging area.
    Hope this will help.
    Thank you
    Satish Waghmare

  • FileUpload - Checking Resource data prior to upload

    Hi All,
    Is there a way of examining the Resource data before a file is uploaded, i.e. to prevent them uploading files above a certain size or with a certain extension? I can't see how I can do this until the file has already been uploaded.
    Cheers,
    Steve

    // for checking the size of the resource use the following code.
    public byte[] getByteArray(InputStream ipStr) {
    byte[] bytArr = null;
    try {
         bytArr = new byte[ipStr.available()];
    } catch (IOException e) {
         e.printStackTrace();
    try {
         ipStr.read(bytArr);
    } catch (IOException e1) {
         e1.printStackTrace();
              return bytArr;
    // getting the resource that user has browsed          
    IWDResource resource = element.getResDocumentUploaded();
    // Getting the byte array of the resource selected
    byte[] arrBIN = getByteArray(resource.read(false));
    //checking If file size is less than 25 MB     
    if(arrBIN.length < 25 * 1024 * 1024)
    Using this code we can check if file uploaded is less than 25MB
    for getting file extension of document uploaded one can use the following code
    ublic static java.lang.String getFileExtension(
              java.lang.String strResourceName) {
              String strExtension = null;
              int iIndex = strResourceName.lastIndexOf(".");
              strExtension = strResourceName.substring(iIndex + 1);
              return strExtension;
    IWDResource resource = element.getResDocumentUploaded();
    String strResource = resource.getResourceName();
    String strExtension = getFileExtension(strResource);
    one can create another input fiels wich takes in the extension of the uploaded file and compare it with strExtension
    string application = context_of_field acceptingextension
    application.equalsIgnoreCase(strExtension)
    Regards
    Rohan.
    Please do provide me points if this helps you .Thank you
    Edited by: rohan Henry on May 27, 2008 11:05 AM
    Edited by: rohan Henry on May 27, 2008 11:08 AM
    Edited by: rohan Henry on May 27, 2008 11:09 AM

  • How to import photos from Mail to iPhoto and preserve the date created?

    I have several photos sent to me via email attachments in Mail which I want to "add to iphoto."  When I do this, the original date of the photo changes to "today's date." 
    When I drag the photo to the desk top, the file (photo) properties change and the date changes to "today's date."
    Is there a way to import photos and preserve the original date the photo was taken?  For example,  if my family finally got around to sending me photos from 4th of July, I know the date is 7/4/2012, not today's date, 10/9/2012. 
    I want to avoid the time/work of doing batch changes on countless photos I want to add to iphoto. 
    iphoto 11
    mail 5.3
    Lion 10.7.5

    Larry, I need more information...
    Using what you said, I ran some tests using photos taken with my digital camera in iPhoto.  My photos show the following information in the "information" sidebar:
    •type of camera
    •Flash on
    •Format size
    •File size (MB)
    •File type (jpeg)
    •Frame "number"
    •Month/day/year/hour/min/sec/AM-PM
    Then I tried to email a photo to myself:  I have tried:  "share," "attach," "drag/drop" a photo into email and sent it to myself as a test.  Once the photo arrives in my Mail inbox, I have tried various ways to add this "test" photo into iPhoto:
    "Add to iphoto"
    "drag into iphoto"
    "export into iphoto"
    Each time, iphoto created the photo with "today's date."  In the past, I would get an alert:  Photo already exists in iphoto, do you still want to import?  Duplicate or Cancel
    Can you elaborate on, "if the photo properties are present and correctly formatted then iPhoto uses them."
    When I drag a photo to the desktop and double-click to preview the photo, the top of the preview window says:
    P1009.jpg -- locked (gray lettering of the word "locked")
    Is there a setting I need to change to "unlock" the properties of my photos?*
    Thanks!!
    MG
    *My original post focuses on importing photos sent from other people.  I am hoping if I can solve the matter with my own photos, other photos will import with original dates created, too.

  • Downloaded attachments show download date as "Date Created"

    I am having an issue with Mail but have also tried using my webmail ( Gmail ) and I am having the same issue. When I download an attachment ( documents, jpegs, etc ) , it does not retain the original date created, instead it displays the download date as "Date Created ". Is there anything I can do to fix this?
    Daniel

    No, as far as I know, because the document is "created" as a new document (or is that recreated? when you save it to disk. This is true not only for email attachments, but to any file copied to your hard drive, and the same is true under Windows.
    However, some programs save that information within the file itself, independently of your OS's file information. For example, in MS Office apps, if you go to File > Properties you can find the original date created under the Statistics tab (but note that the General tab shows the date you downloaded the file as "date created").

  • Date Modified & Date Created- All the same date

    I have somehow caused all my "Date Modified and Date Created" to have the same date (Month-Day-Year & Time) for all the folders and every piece of work I have in them. How do I get all my files to read their original date created/ modified and saved back again. It's important for the work I do.
    Thank you
    Vietvet68

    I, too, have "date" problems on my MacBook (with operating system Mac OS X). We just got the computer this month and had the Genius Bar download much of our files from our old Dell computer. The problem is that every date is incorrect, from the Created date to the Modified Date. For instance, here are some interesting dates: "Created 2/6/40" or "Modified 1/18/38." Now, the computer SHOULD know that these dates are well into the future. I checked out Preferences, and the date setting is correct. But somehow the Mac system screwed up all the Created and Modified dates on ALL the files it copied from our Dell, and even the current dates (such as the Modified date noted above) have years into the future. If you cannot set the dates correctly in Preferences, where in heck CAN you set them--and why is the Mac making up such odd dates?? Thanks!

  • Converting raw files into tiffs and preserving the orig. date created

    How do I get the original date created to show up in folders when converting raw files into tiffs?  Once converted the original date created is in the "file info" window but does not show up as the original date created in the designated folder.  It is displayed as the same date as date modified.

    Thanks Mylenium
    As Mylenium has said, this information can be added later by various means. It will also depend on the software you are using on what date it is reading!
    As an example there are:
    The files date created
    Photoshop schema DateCreated
    EXIF schema DateTimeOriginal
    XMP schema CreateDate
    For an external tool you can use ExifTool http://www.sno.phy.queensu.ca/~phil/exiftool/
    or you could try to get a script written in the Photoshop or Bridge scripting forums.

  • P2 ingested footage with wrong date created metadata

    Hello, we're trying to standarize all of the media for our systems. Part of this includes ingesting P2 footage using Prelude and encoding it as DVCHDPro quicktime files. I know that the recommended method that adobe gives for ingesting P2 footage is to keep the file structure in tact and use the media browser function of Premiere; this, however, doesn't suit our company's needs of maintaining a relativaly NLE-agnostic media library and having quicktime compatiable discrete video clips of all our media. We're using Mac OSX operating systems, by the way. 
    The problem is that, when using Prelude to ingest, it seems that Prelude obliterates the "date created" metadata and file data (e.g. when selecting the "get info" on the clip itself; that file data). After ingesting a clip, if I open it in Premiere, there is no date-based metadata that matches the original record time on the .mxf file itself. Nor when I view the clip in OSX's "get info" does the "date created" panel reflect the date that the original file was created. It seems that it should be possible to write the original "date created" data to the ingested file (in the ingest panel in Prelude I can see the correct "date created" time); FCPX is able to do this when ingesting P2 media using their systems. Is there an option that I'm missing or is this simply not possible with this version of Prelude?
    To illustrate: here's a screencap of the ingest panel in prelude, notice the "date created" column reads 2013-06-28T11:43:05; which is the correct record date of that clip:
    However, after I ingest the clip, both within Premiere and the "get info" panel in OSX, the "date created" now refers only to my import time:

    Thanks both for your responses. I checked the .mxf file "date created" and it is indeed empty (see picture).
    The "date modified time" however, is correct. I do understand that when dragging media directly from the media browser in premiere that the metadata displays correctly; what I think should also happen is that when the footage is ingested and transcoded via Prelude, it should also display correct metadata. As shown in my pictures above, prelude does indeed see the correct "date created" (wherever it gets that information); it just obliterates it after it transcodes the clip; it's not available either in the "get info data" (which, somehow, FCPX does do when importing P2 media through their system) nor (most strangely) in premiere. Any settings or changes that could be made to address this would be appreciated.

  • Preserving doc "Date Created" as displayed in Windows explorer

    Hello.  We've just retired an SBS and have about 2000 Word docs that have their attached templates linked to the obsolete server.  Using EditAttachedTemplates (vb.net) solves the missing template problem but introduces another.  It wipes the
    Date Created - for Windows explorer purposes.
    Our staff accesses all of the .docm's by windows explorer (sorted by "Date Created").  Without the template repair app, each doc takes 30 seconds to open and machines are searching for the old server.
    I do not have access to the source code of the template repair app.  Also... I am not a dev and we do not employ one.  So... hypothetically, if I could find someone to alter the vb repair app, could it in theory be adjusted so that the original
    "Date Created" as displayed in W7 explorer would be unchanged?

    Thank you, Paul.
    This code has following issues:
    1. Its "Last Modified" date retention line returns an error. "Object does not support this action". I worked it around using the Shell method though.
    UpdateModDT xFolder, xFile, xDT
    Function UpdateModDT(myFolder, myFile, DateTime)
    Dim objShell, objFolder
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.NameSpace(CStr(myFolder))
    objFolder.Items.Item(myFile).ModifyDate = DateTime
    End Function
    2. It skips the Protected files and returns an error when it cannot write the reason in the the document from where it was run
    3. It only works on one extension type at a time, i.e. currently set for *.doc
    Can you please assist on this?
    Thanks,
    Josh

  • Getting posting date for MBLB

    I uses report MBLB to get stock at sub contractor site. Now I want to get posting date of document based on each material number. How do I do that? What is the business logic to retrieve posting date? Thanks!

    Hi,
    Posting Date
    The Posting Date determines the posting period and defines in which fiscal period a document will post (regardless of the Document or Entry date). The periods that are permitted for posting are determined by Accounting Services. This is the date that G/L Account Balances are updated. The Posting Date will override the Fiscal Period entered on a document if they are different.
    Regards,
    deepak.

Maybe you are looking for