on 10-01-2023 10:03 PM
Hi
I am trying to create a hyperlink inside SAP Build Process Automation. I am using following custom script to generate a hyperlink using two inputs 'url' and 'number' and setting the output as 'number' which can direct to input url. The script is as follow
var link = '<a href=' + url + '>' + number + '</a>';
return link;
But I am getting the wrong output and it is not getting resolved to hyperlinked.
"a "href=" "'https://google.com'" 123 "/a>"
I also tried to modify the function to handle escape characters but that also didn't work.return decodeURIComponent(link);
Kindly suggest me a way to create hyperlink as I need to pass it to my alert handler.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.