A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

editing DocumentItem properties



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old April 30th 08, 02:09 PM posted to microsoft.public.outlook.program_vba
Andreas[_2_]
external usenet poster
 
Posts: 4
Default editing DocumentItem properties

After digging around a bit more I found that you can only set the Subject
field for the wrapping object, you can't set any of the properties for the
actual document object. Well, maybe with redemption I could do some more, but
it's not worth the effort.
And another thing is, yes, Outlook stores the document metadata, but only
for office files (not pdf or other files, which is quite annoying :-) )

Thanks for the help Sue!

"Sue Mosher [MVP-Outlook]" wrote:

I suspect that Outlook handles metadata only for Office document types. And as you've found, it takes code to set metadata.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Andreas" wrote in message ...
Hi Sue,

thanks for the answer. I would agree with you, but in my tests, the Author
property is not even filled - I dropped a pdf file into the folder, I can
change the subject (though the property for this is called "task subject"),
but all the document metadata like Author and keywords remain empty.

"Sue Mosher [MVP-Outlook]" wrote:

If you turn on in-cell editing for the view, you can edit the Subject (which also can be changed with VBA code). The other properties you're intrested in are promoted to the Outlook view from the corresponding fields in the document itself and thus are read-only in the view. Think about it: If you change the Author for the view but not for the document itself, isn't that misrepresenting the content of the document?

"Andreas" wrote in message ...
Hi, maybe i am a bit off the track here, but hopefully someone can point me
in the right direction.
I created a DocumentItem object by dropping a file into an outlook folder.
Now I want to edit properties like "subject" or "Author" of the DocumentItem
(not the file itself!).
But those fields are locked for editing. I tried setting the fields by code,
which works fine. I can't imagine this is the only way of doing it, since it
would mean i have to create my own encapsulation as a pane with all the
fields and then call code to update them. Isn't there an easier way to make
those fields editable?

thank you for taking the time to read and think about this!

Andreas


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transform DocumentItem Objects as Outlook Item Objects in folder Wnick Outlook and VBA 5 February 22nd 08 07:59 PM
Named properties in PS_INTERNET_HEADERS don't go back to named properties when recieved. Vandal Add-ins for Outlook 4 October 3rd 07 02:54 PM
Outlook 2003- named properties v/s user properties ? newToOutlookProgramming Add-ins for Outlook 2 May 18th 07 06:38 PM
HTML Item properties vs. Regular item properties Rayo K Outlook and VBA 11 December 22nd 06 05:43 AM


All times are GMT +1. The time now is 11:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.