Im using aspose.words in a SharePoint environment,
I´m having trouble finding my custom properties in my Word 2007 document, all it finds is the content type id. Here´s a snippet of code that I use for looping the properties of the document:
oWords = new Aspose.Words.Document(stream);
foreach (Aspose.Words.Properties.DocumentProperty prop in oWords.BuiltInDocumentProperties)
Console.WriteLine("{0} : {1}", prop.Name, prop.Value);
Console.WriteLine("3.Custom Properties");
foreach (Aspose.Words.Properties.DocumentProperty prop in oWords.CustomDocumentProperties)
{
Console.WriteLine("{0} : {1}", prop.Name, prop.Value);
}
I can access the properties if I open the Word document. Any thoughts?
Thank you for additional information. As I can see SharePoint stores its properties in the document as Custom XML. Unfortunately, Aspose.Words does not support Custom XML at the moment. We will notify you as soon as this feature is implemented.
Thanx again for your support! We´ve decided to simply use a word.dll for this matter, but please notify me when a feature like the one you´re talking about is ready.
We are delighted to announce the availability of Aspose.Words for SharePoint, which is our latest addition to the Aspose.Words product family.
This release, Aspose.Words for SharePoint 1.0 makes high quality document conversions for DOC/DOCX/ODT/RTF/PDF/XPS and others easily accessible to SharePoint users.