I have a document that has bookmarks to sections numbers like “1.2.1” for instance. This number may change, and also is not readily available in Aspose. So I create a bookmark of the heading and later created a field like:
DocBuilder.InsertField(" REF " & bookmarkName & " \r ", “”)
This is will correctly assign the reference to the Header’s number, but will default the field value to “”, as seen in the function call above.
So when you first open the document this field is “”. You can quickly remedy this by selecting the field and requesting and update of the field.
I need to signal that this field is in need of update currently, so it will update the value the first time it is loaded.
I have tried replacing the “” with " " and Nothing. None of these have worked.
Can you help me how to do this, without saying to the user “please press Ctrl-A then F9”