- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 10:17 PM
Hello All,
The email address is clickable but there is no action to open Outlook application when being clicked.
Please help to advise.
my JSON code in Contact Card component:
Contact Card displays information below but when i clicked email address, outlook is not opening to compose new mail.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 10:07 PM
Hello everyone,
I achieved my goal to open an external application using the event "Link to destination".
I used the external URL and formulate the destination url below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 03:45 PM
Hello @Ankur Bawiskar , sure see below:
First: I modified the content that I want to display in Contact Card component via script:
in the script, i stored the value of email and pvn in attributes.
THEN, in the event tab of contact card:
I choose "Link to Destination" > select destination > External URL:
I used IF function and CONCAT function (inside IF) to manipulate the app that will be open.
Btw, i put a script to log the event to get the proper dotwalking. sample below:
EVENT >>> {
"elementId": "contact_card_2",
"name": "SN_CONTACT_CARD#ITEM_CLICKED",
"payload": {
"item": {
"label": "Email",
"value": "juan.delacruz@email.com",
"clickable": true
}
},
"context": {},
"eventInfo": {
"sourceElementId": "cm71w31il00013j8vvwrf9e26"
}
}
------------------------------------------------------------------------- SO in the contact card:
When user click the email address, it will open an external URL > mailto:User@emailaddress.com
and this will popup:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 10:31 PM
what happens currently when they click?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 10:32 PM
Hello @Ankur Bawiskar , nothing happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 10:34 PM
Not very sure but did you check this
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 10:46 PM
@Ankur Bawiskar , i checked this already but has no sample how to make event handlers when item clicked... i will do a research more about this. thank you for your time.