Need to create field named 'SPIRIT REQ NUMBER' with Variable type as Hyperlink in record producer.

SagarGadakh
Tera Contributor

Need to create field named 'SPIRIT REQ NUMBER' with Variable type as Hyperlink in record producer.

How to do this as we do not have Hyperlink as  Variable type in record producer.

Attaching the screenshot of how it should look in a form?

 

Kindly help on this?

2 REPLIES 2

Zach Koch
Giga Sage
Giga Sage

You can use the variable type Rich Text Label and put your URL in there

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

swapnali ombale
Kilo Sage

Hi @SagarGadakh 

Using HTML Variable
  1. Create a Variable: In your record producer, add a variable of type "HTML".
  2. Add HTML Code: In the "Default Value" or "Value" field of the HTML variable, enter the following HTML code to create the hyperlink: 
     
 
Code
 
    <a href="your_url_here">Link Text</a>
 
  • Replace "your_url_here" with the actual URL you want the link to point to. 
     
  • Replace "Link Text" with the text you want to display as the hyperlink. 
     
 
  1. Set glide.ui.escape_text to false: In the ServiceNow instance, navigate to System Properties > UI Properties and find the property glide.ui.escape_text. Set its value to false to allow HTML to render. 

 

If you find my answer helpful anyway then mark my answer helpful and accepted solution