- Create variable Type – Custome
- Create UI macro
- [Name – url_test , API Name – Will be auto generated]
- Write below code within XML of UI macro
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<a href="https://www.workingcode.in/" target="_blank">Link to Working code</a>
</j:jelly>
4. Add your UI Macro in your custome variable
UI Macro – Create external link for platform view in service catlog servicenow
Working Code Asked question July 11, 2023