Free Support Forum - aspose.com

Display Result of Hyperlink Nested inside IF Field in output Word DOTX Document | Update Fields using C# .NET or Java

Hi,

We have an issue with creation of a .dotx document.
When we build a document with IF fields and Hyperlink fields we add a text that should be displayed in result document.
However, it is not seen in the result document when opened with Microsoft Word and when loaded again to Aspose Document object the text that should be displayed instead of a link is missing.

See example solution with the issue. When debugging the DisplayResult is present, after Save it is not.

HyperlinkIssue.zip (2.2 KB)

Could you please advise?

thanks,
Ɓukasz

@acturisaspose,

The problem seems to be occurring only when saving to DOTX format. Saving to other file formats, such as DOCX or RTF, does not cause this problem. We have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-21886. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.