Adding url to the text field in Email templates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 03:30 AM
Hello All,
I have a requirement where in i need to Add url to the text field in Email templates.
Like in the email template i have a text field called as "Portal view". This should come as a link. When Users clicks on this it should open the current record.
Quick response is much appreciated.
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 03:47 AM
Hi,
Use ${URI_REF} to make it linkable.
Thanks
Ziaur Rahman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 03:53 AM
Hello Ziaaur,
I created it as $ field. In the email its should show only the text (Visit Portal for more updates). It should be a hyperlink. When I click on this , it should open the related record.
Thanks & Regards,
Basavaraja Yellarthy
Infrastructure Services - Accenture Operations
IDC Bangalore India
Mobile : +91 8971325907
Mail : basavaraja.yellarthy@accenture.com<mailto:basavaraja.yellarthy@accenture.com>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 03:47 AM
Hi
you can use a notification email script then in your notification reference the email script in what it will contain tab
${mail_script:NameofNotificationEmailScript}
Notification email script example
(function runMailScript(/* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */ event) {
template.print('<a href=https://">name of link</a>');
})(current, template, email, email_action, event);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 04:24 AM