- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 10:59 AM - edited 04-29-2024 11:01 AM
i have "${sysapproval.URI}" link & i want it to be hyperlink to dynamic number "${sysapproval.number}" how can i do it,
i tried
template.print('<tr><td>' + "Number: " + ' </td><td>' + '<a href=' + '${sysapproval.URI}' + '>' + '${sysapproval.number}' + '<a/>' + '</td></tr>');
but not working
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 03:51 AM
by using following i was able to do it.
template.print('<tr><td>' + 'Number:' + ' </td><td>' + '${sysapproval.URI_REF}' + '</td></tr>');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 11:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 11:54 AM
Try this
You can change your table as per your requirement
var link= '<a href='+'your_instance_name/incident.do?sys_id=' +current.sys_id+'>'+current.number+ '</a>' ;
template.print(link);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 03:48 AM
I have used the above, it's working as expected. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 03:51 AM
by using following i was able to do it.
template.print('<tr><td>' + 'Number:' + ' </td><td>' + '${sysapproval.URI_REF}' + '</td></tr>');