Free Support Forum - groupdocs.com

Dynamic insertion of links to bookmarks using Java

After consulting relevant information, I still do n’t understand how to use bookmark whith GroupDocs.Assembly API, any suggestions I would appreciate it. I use Java.

Thanks very much !

1 Like

@YvanZhang,

Below is the syntax of link tag using that you can do dynamic insertion of links to bookmarks.

<<link [uri_or_bookmark_expression][display_text_expression]>>

uri_or_bookmark_expression defines URI or the name of a bookmark within the same document for a hyperlink to be inserted dynamically. This expression is mandatory and must return a non-empty value. display_text_expression defines text to be displayed for the hyperlink.
Please go through this documentation article and open-source GitHub example project. Let us know if it helps.