What are Link Variables and How to use them?

What are Link Variables and How to use them?

Perfect Doc Studio allows you to dynamically insert hyperlinks into your documents using Link Variables. This feature is especially useful when you want to personalize or conditionally include links without hardcoding URLs.

  • Assign Links to Variables: You can insert a variable in your document and associate a hyperlink with it.
  • Custom Display Text: Instead of displaying the raw URL (e.g., https://google.com), you can specify how the link should appear, such as Google.
How to Configure Link Variables in Perfect Doc Studio
Insert a Variable
Click the $ icon in the editor and select the required variable from the dropdown list to insert it into your document.



Convert to Link Variable
With the variable selected, click the ‘Link’ icon from the top text styling toolbar. This action converts your variable into a link variable.



Set URL and Display Text
Navigate to the Preview and Download section. You’ll see the link variable displayed as two separate input fields: 



Hyperlink URL: Enter the target URL (e.g., https://google.com)
Display Text: Enter the text you want to appear in the document (e.g., Google) 



Preview the Output
Click on the Preview section to see how the variable will appear in the final document with the assigned hyperlink and display text.



Remove the Link (if needed)
To remove the link assignment, simply right-click on the link variable in the editor and select Remove Link. 



VIDEO DEMO: