How to pass URL in email scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 05:33 AM
How to pass URL in email scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 05:35 AM
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 05:38 AM
Hi @sayyed shabana,
You can use the anchor tag to add the URL in email scripts as below -
template.print("<a src='add_url_here'>Text to display</a>");
If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers! 👍🏻
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 05:47 AM - edited 11-17-2023 05:48 AM
Hi @sayyed shabana ,
Sample one u can try. Storing URL value in property hence used property. Below Url displays record on portal. please ammend/modify as per requirement
template.print('<a href="' + "/" + gs.getProperty('portal_url') + "?id=copy_form&table=table_name&sys_id=" + current.id + "&view=sp&int_nav=yes" + '"');
Thanks,
Danish