We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Incomplete Node Set for Document Property Field

It’s my understanding that each field should contain the following set of nodes:

Run (that defines the field name)
Run (with the field value)

I have a document where for many of the fields, the second Run is not there (see TBox17), so the value cannot be set programatically. Also attached is a custom node dump of the document.


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. If the field is not updated, there can be no field value (displayed text). So such situation is valid. In such case, you can try calling Document.UpdateFields method to update field value.

Best regards,