- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 11:57 AM
Hi All,
I need some assistance, I am creating a link in an email that says the following.
Your request has been denied. Please click here to view request. When you click here, it link to the record.
However I'm having issues. I've created this email script but instead of the word "here" being clickable. The entire sentence is clickable. I only want the word and not the entire sentence clickable. Here is my script below.
var html = '<a href="' + gs.getProperty('glide.servlet.uri') + '/x_release_form.do?sys_id='+current.sys_id + '"> Your request have been denied, click here to go to current record </a>' ;
It's coming out like this "Your request has been denied, click here to go to current record"
It should look like this, " Your request has been denied, click here to go to current record"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 12:26 PM
You just need to restructure your HTML a little bit. The text inside the <a href></a> should only have the word here. See below. Please mark as Helpful/Correct if this helped you resolve your issue.
var html= '<p>Your request has been denied, click <a href="' + gs.getProperty('glide.servlet.uri') + 'x_release_form.do?sys_id='+current.sys_id + '">here</a> to go to current record </p>' ;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 12:26 PM
You just need to restructure your HTML a little bit. The text inside the <a href></a> should only have the word here. See below. Please mark as Helpful/Correct if this helped you resolve your issue.
var html= '<p>Your request has been denied, click <a href="' + gs.getProperty('glide.servlet.uri') + 'x_release_form.do?sys_id='+current.sys_id + '">here</a> to go to current record </p>' ;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 09:54 PM
Thanks ronprice! That solution worked.