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:



    • Related Articles

    • Intro to Data Variables & How to use them?

      In Perfect Doc Studio, variables are managed at a global level, as demonstrated in the accompanying video. The system features entities that house variables, defining all relevant data variables for your business. This ensures the consistency of ...
    • Managing Entities & Variables

      Entity and Variable: To maintain a structured and efficient system, entities such as funds, users, patients and applications are identified and represented using variables in camelCase format. A variable is a named storage space designed to hold ...
    • What is Data Validation? Where can we use them?

      To prevent unnecessary usage of document counts when variables are left blank, the Data Validations feature is available in the Preview & Download section of the document template. In this section, you’ll find two tabs: Preview and Download and Data ...
    • View List of all variables in Email Templates

      To view the existing or added variables, select the "Preview and Download" option from the menu on the left. This will display the variables incorporated into the Email Template, along with an option to input data for each variable included in the ...
    • Master Elements - What are they and How to use?

      Master elements in Perfect Doc Studio are pre-designed elements that can be used as building blocks for creating custom templates for various types of communications, including documents and emails. These elements are provided out of the box to help ...