cancel
Showing results for 
Search instead for 
Did you mean: 

Having Difficulty Creating Hyperlinks in SAP Build Process Automation

sammug12
Member

Hello,

I'm working on implementing a hyperlink within SAP Build Process Automation, and I'm utilizing a custom script to generate this hyperlink with two input variables, 'url' and 'number,' while setting the output as 'number' to direct to the input URL. The script I'm using is as follows:

javascript

var link = '<a href=' + url + '>' + number + '</a>';

return link;

However, I'm encountering an issue with the output, which doesn't seem to resolve as a hyperlinked text properly:

`<a href='link'>123</a>`

I've also attempted to modify the function to handle escape characters, but unfortunately, that didn't resolve the issue:

javascript

return decodeURIComponent(link);

I'm seeking suggestions on how to successfully create a functional hyperlink, as I intend to pass it to my alert handler. Your insights and guidance would be greatly appreciated."

moshenaveh
Community Manager
Community Manager
0 Kudos

Welcome to the SAP Community. Thank you for visiting us to get answers to your questions.

Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.

First, please see https://community.sap.com/resources/questions-and-answers, as this resource page provides tips for preparing questions that draw responses from our members. Second, feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html, as that will help you when submitting questions to the community.

I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

Now for some specific suggestions on how you might improve your question:

* Outline what steps you took to find answers (and why they weren't helpful) -- so members don't make suggestions that you've already tried.

* Share screenshots of what you've seen/done (if possible), as images always helps our members better understand your problem.

* Make sure you've applied the appropriate tags -- because if you don't apply the correct tags, the right experts won't see your question to answer it.

* Use the "insert code" feature when sharing your code, so members have an easier time reading.

* External links are not allowed so I replaced the link you entered with 'link'

Should you wish, you can revise your question by selecting Actions, then Edit.

The more details you provide (in questions tagged correctly), the more likely it is that members will be able to respond. As it stands, I don't know if there is enough information here for members to understand your issue. So please consider revising your question because I'd really like to see you get a solution to your problem!

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

Accepted Solutions (0)

Answers (0)