Content Controls in Word 2010 document-data extraction

Can we extract the data user put into the content controls(Rich Text, Plain Text and Combo Box etc) with Aspose Word for .NET?

Thanks for the information.

Hi
Thanks for your request. You can extract data from Content Controls, but unfortunately, the current version of Aspose.Words does not allow identify the controls by names. This makes quite difficult to manage these data:
https://reference.aspose.com/words/net/aspose.words.markup/structureddocumenttag/
I linked your request to the appropriate issue, we will let you know once it is resolved.
Maybe in your case, you can simply use legacy form fields instead of Content Controls. In this case, you will be able to get data from controls by name:
https://docs.aspose.com/words/net/working-with-form-fields/
Hope this helps.
Best regards,

Hi, Alexey:
Thanks for your quick reply. A couple additional questions:

  1. Without the Name and Title, can we get the exact “Tag” of a StructuredDocumentTag?
  2. How soon do you think the necessary change needed to identify an SDT will make into the future release?

Thanks again for the information.
Cheers,

Hi
Thanks for your inquiry.

  1. If you mean raw XML of StructuredDocumentTag, then answer is no, you cannot get it using Aspose.Words.
  2. The issue is scheduled to be fixed in the next version of Aspose.Words that comes out in a month.

Please note, that all estimate we provide in the forum are rough estimates and you cannot 100% rely on them.
Best regards,

Hi, Alexey:

Thanks for yet another quick reply.

I noticed that we have FormFields collection in a Section object, I wonder whether we will also be able to retrieve the StructuredDocumentTag similarly.

Thanks

w

Hi
Thanks for your request. It is difficult to answer this question at the moment. Our developers are still working on designing API. However, as I know we plan to support Mail Merge into Content Controls. So you will be able to fill them with data the same way as mergefields:
https://docs.aspose.com/words/net/types-of-mail-merge-operations/
Best regards,

The issues you have found earlier (filed as WORDSNET-4010) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(4)