Update Document Metadata from within infopath - InfoPath Dev
in

InfoPath Dev

Update Document Metadata from within infopath

Last post 01-18-2012 06:40 AM by Scott Rooke. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-18-2012 04:22 AM

    • bmcomp
    • Not Ranked
      Male
    • Joined on 09-15-2009
    • Ireland
    • Posts 9

    Update Document Metadata from within infopath

    Hi, I have done something similar to this with a sharepoint list based on this article http://msdn.microsoft.com/en-us/library/cc162745.aspx This time I am exporting a infopath from as a PDF using the add-in and some code: this.CurrentView.Export(@"http://testurl/" + fileName, ExportFormat.Pdf); But after I export it I would like to include some metadata with the PDF. I was wondering if the same article above would work with a document library? Also by any chance would there be an easier way to do this since it is a single item rather than a list? Cheers B
  • 01-18-2012 04:38 AM In reply to

    Re: Update Document Metadata from within infopath

    bmcomp -

    Which Add-In are you talking about to do the export? I am curious about this myself.

    Scott
  • 01-18-2012 05:11 AM In reply to

    • bmcomp
    • Not Ranked
      Male
    • Joined on 09-15-2009
    • Ireland
    • Posts 9

    Re: Update Document Metadata from within infopath

    Hi Scott, it is the office add-in to save as PDF. http://www.microsoft.com/download/en/details.aspx?id=9943 just to note your form will require full trust if exporting to a folder outside of the sharepoint site ie. your desktop. But if you are saving to another document library it isn't required. Cheers Brian
  • 01-18-2012 06:40 AM In reply to

    Re: Update Document Metadata from within infopath

    Awesome! Thanks Brian.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.