Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Programmatically define sharepoint metadata for PDF file

45 views
Skip to first unread message

Barb Reinhardt

unread,
Sep 28, 2009, 4:26:08 PM9/28/09
to
I'm trying to convert a bunch of ppt files to pdf and want the pdf file to
retain the metadata from the ppt, if it's defined as a valid "column" for the
document library. I can get the data for the ppt presentation, but am not
sure what I'd need to do to save the metadata for the pdf file. Can any
one shed any light on this? Let's say I have a column of the name "Report
Date" and I want to save "(01) January" as the report date, how would I do
this for the pdf file? I do not have Acrobat installed on my system.

Thanks,
Barb Reinhardt

Rob Schneider

unread,
Sep 28, 2009, 5:43:34 PM9/28/09
to
Probably can be done by writing a macro in PowerPoint. For that, suggest
you repost on a newsgroup dedicated to PowerPoint macros/development.

You'll also need a way to make PDF file. Can use Adobe Acrobat, or
there are free programs available (find via Google).

--rms

www.rmschneider.com

Barb Reinhardt

unread,
Sep 28, 2009, 6:13:02 PM9/28/09
to
I can convert them to PDF and have already done that, but the metadata
doesn't go along with them. What I want to know is how do I
programmatically add metadata to PDF files. I know how to do it for Excel,
PowerPoint and Word, but not PDF.

Rob Schneider

unread,
Sep 28, 2009, 6:20:40 PM9/28/09
to
I noticed in re-reading you wanted the meta data in SharePoint moved
from a one file to another (PPT to PDF) ... would require, in my view,
some sort of program that reaches into SharePoint, gets that data, and
then re-applies that data to the PDF file. My hunch is that PowerPoint
macro could be made to do that; but if not then surely some other sort
of programming language that can interact with a web page. Perhaps using
Microsoft's Visual Studio or VB.

Or, given you know how to do for Excel, Word, and PPT files in
SharePoint ... what if you use the same procedure but just fake it and
give it a PDF file name rather than XLS, DOC, or PPT?

Sorry, have no other ideas.

Marc Lognoul [MVP]

unread,
Sep 29, 2009, 3:03:25 AM9/29/09
to
Hello,

Here is an xample on how to modify list item proprties (document libraries
are lists): http://msdn.microsoft.com/en-us/library/cc404818.aspx
You can therefore upload the files then modify their properties using
sharepoint web services.

--
Marc Lognoul [MCSE, MCTS, MVP]
Heureux celui qui a pu pénétrer les causes secrètes des choses
Happy is the one who could enter the secret causes of things
Blog EN: http://www.marc-antho-etc.net/blog/
Blog FR: http://www.marc-antho-etc.net/blogfr/

"Barb Reinhardt" <BarbRe...@discussions.microsoft.com> wrote in message
news:C5843242-2F0D-4902...@microsoft.com...

Rob Schneider

unread,
Sep 29, 2009, 3:48:08 AM9/29/09
to
Cool. Automation opportunity. I'm going to store that idea away for
future use when needed and have some programmers available! Thanks!

--rms

www.rmschneider.com

Marc Lognoul [MVP]

unread,
Sep 29, 2009, 7:37:07 AM9/29/09
to
Hi

No need to have a real dev profile at hand with PowerShell. Look at this:
http://www.nivot.org/2008/02/29/ManipulatingRemoteSharePointListsWithPowerShell.aspx

--
Marc Lognoul [MCSE, MCTS, MVP]
Heureux celui qui a pu pénétrer les causes secrètes des choses
Happy is the one who could enter the secret causes of things
Blog EN: http://www.marc-antho-etc.net/blog/
Blog FR: http://www.marc-antho-etc.net/blogfr/

"Rob Schneider" <rmschne@yahoo_but_not_often_checked.com> wrote in message
news:#z6gwkNQ...@TK2MSFTNGP02.phx.gbl...

Rob Schneider

unread,
Sep 29, 2009, 8:14:24 AM9/29/09
to
Also cool. Will digest.

In my advanced years there are only so many programming languages I can
keep track of ... I'm finding Python extremely useful in another domain;
are you aware of any true success using IronPython (which I hear is sort
of from Microsoft) with SharePoint?

0 new messages