add button beside field using ui macron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 04:35 AM
Hi,
for adding button beside the field i have used ui macron to create it. The below is the code i used in ui macron
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:sc_button id="email" title="email" label="email" onclick="emailFunction()" />
<script language="javascript">
var a="https://dev179274.service-now.com/email_client.do?sysparm_table=incident&sysparm_sys_id=f8f99d504755...";
window.open(a,"_blank");
</j:jelly>
It is showing error on var a line can anyone suggest me how to call these url these url is email template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 04:46 AM
Hello @Community Alums
you should have to add the closing tag for script
</script>
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 04:52 AM
@Samaksh Wani Here i missed to paste it. In the script there is </script>. But still it shows error on var a line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 04:54 AM
Hello @Community Alums
Can you show me the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 04:58 AM