- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 04:47 AM
We have an outbound integration which is working fine except in case of comments contains emoticon characters. Did any one faced this situation? How can we fix this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 12:59 AM
Hi @amju101
You can replace your replace all emoticons from the comments before triggering the outbound. You can use script like the one below.
var comm = current.getComments();
comm = comm.replaceAll("🙂", "");
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 12:59 AM
Hi @amju101
You can replace your replace all emoticons from the comments before triggering the outbound. You can use script like the one below.
var comm = current.getComments();
comm = comm.replaceAll("🙂", "");
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 06:30 AM
Thanks Anvesh, it worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 01:32 AM
Is your payload failing when there is smiley in comments?
Can you try using encodeURIComponent to encode and at other end decodeURIComponent and see if this hfixes probem.
Best regards
Suyog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 06:35 AM
@Suyog Aptikar Thanks for the response. But, we don't have access to other end.