Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Save custom properties

  Asked By: Salvatore    Date: Nov 20    Category: Sharepoint    Views: 992

I've some problem when a initialize the document properties with VB.
The system properties like 'Title', 'Description' are saved but not
the customs.

The Code:
--------

Dim ObjDoc As PKMCDO.KnowledgeDocument

Set ObjDoc = New PKMCDO.KnowledgeDocument
ObjDoc.PromptToAuthenticate = False
ObjDoc.DataSource.Open "http://nts00/developpement/Documents/Ententes/
123456-9-87 Residence CRT/doc1.doc", , 3, -1, 0

ObjDoc.Property("Entente") = "123456-9-87"
ObjDoc.Fields("urn:schemas-microsoft-com:office:office#Entente")
= "123456-9-87"

ObjDoc.Property("Discipline") = "S"
ObjDoc.Fields("urn:schemas-microsoft-com:office:office#Discipline")
= "S"

ObjDoc.Property("Description") = "Some description..."
ObjDoc.Fields("urn:schemas-microsoft-com:office:office#Description")
= "Some description..."

ObjDoc.DataSource.Save

--------------

What's missing?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Save custom properties Or get search suggestion and latest updates.




Tagged: