Add Document Event, Get a reference to wrod document.
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Add Document Event, Get a reference to wrod document.

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Hamet
Guest





Posted: Sun Nov 06, 2005 9:50 pm    Post subject: Add Document Event, Get a reference to wrod document. Reply with quote

Hi all,

I've got a Document Libary that I'm trapping the AddDocument Event, what
I'm trying to do is get a value from a field within the document libary , and
modify the "added" document to contain the same value within the word
document. Is this possible? or do i have to modify the document before its
added, or after the event?

Does any one have an example for this, I am at a loss as how to get the
reference of the Word document from the Event.

Thanks.

M.A.
Back to top
Harshawardhan Chiplonkar[
Guest





Posted: Tue Nov 08, 2005 1:50 am    Post subject: RE: Add Document Event, Get a reference to wrod document. Reply with quote

Hi Hamet,
Getting a reference to the Word document from the Sharepoint perspective
would stop at getting a handle on the SPListItem object. What you can do is
add the value to the document metadata, but going by your description of
the problem I dont think thats what you are aiming at.
Working with the Office object space is a little beyond my domain but let
me see if i can piece something for you.

/harsh
Back to top
Hamet
Guest





Posted: Tue Nov 08, 2005 1:51 pm    Post subject: RE: Add Document Event, Get a reference to wrod document. Reply with quote

Hi

I want to write in office document which is being uploaded, it's possible ?

Regards

Hamet

"Harshawardhan Chiplonkar[MSFT]" wrote:

Quote:
Hi Hamet,
Getting a reference to the Word document from the Sharepoint perspective
would stop at getting a handle on the SPListItem object. What you can do is
add the value to the document metadata, but going by your description of
the problem I dont think thats what you are aiming at.
Working with the Office object space is a little beyond my domain but let
me see if i can piece something for you
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB