How to insert hyperlink in Label

vintotz
Tera Contributor

Hi i just want to ask if it is possible to add hyper-link in Label variable?

thanks.

1 ACCEPTED SOLUTION

anupama8
Tera Expert

You can create an UI Macro and add the link in the macro, then create a variable of type macro and populate the macro name that you created.


For ex:--


UI Macro:


Name: test macro


XML:


<?xml version="1.0" encoding="utf-8" ?>


<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">


<html>


<body>


<div id="sample_check"> <font>To visit Google you can click</font>


<a href="http://google.com" target="_blank"><b><font color="Blue">here</font></b></a>


</div>


</body>


</html>


</j:jelly>



create a variable with type "Macro with label" and select the macro you created in field "macro".



PS: Hit answered, like, Helpful or Correct depending on the impact of the response.


View solution in original post

1 REPLY 1

anupama8
Tera Expert

You can create an UI Macro and add the link in the macro, then create a variable of type macro and populate the macro name that you created.


For ex:--


UI Macro:


Name: test macro


XML:


<?xml version="1.0" encoding="utf-8" ?>


<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">


<html>


<body>


<div id="sample_check"> <font>To visit Google you can click</font>


<a href="http://google.com" target="_blank"><b><font color="Blue">here</font></b></a>


</div>


</body>


</html>


</j:jelly>



create a variable with type "Macro with label" and select the macro you created in field "macro".



PS: Hit answered, like, Helpful or Correct depending on the impact of the response.