Hi,
In corporate licence, is there a way to use templates features to replace a variable by a web link ? I could use replaceVariableByText and define the text as a full URL but it would be great if we could shorten it behind a simple tag.
Regards
Hi,
In corporate licence, is there a way to use templates features to replace a variable by a web link ? I could use replaceVariableByText and define the text as a full URL but it would be great if we could shorten it behind a simple tag.
Regards
Hello,
Yes, you just need to replace the placeholder by a WordFragment. We recommend you to read these pages:
http://www.phpdocx.com/documentation/practical/wordfragments-and-wordml
http://www.phpdocx.com/api-documentation/templates/replace-variable-word-fragment-Word-document
and the included examples of the replaceVariableByWordFragment method.
Regards.