- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 12:53 AM
Hello everyone, i need to do a button in workspace to preview the email related to current case. I get the sys id of the email using glide ajax, but then i dont know how to show the email. i guess i should use g_modal and then use the ootb ui page preview_email, but im not sure how to achieve this.
the preview of email doesnt have an own link either, that i couldve used.
Any suggestions please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 02:40 AM
Hey i actually solved it. The code i used to show the email:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 12:24 AM - edited 06-10-2025 12:25 AM
Yes. in the button's script include, you can do sth like : gliderecord the table/record you want, get the current value of the field where you are storing the value, if it is empty, write 1; else get the value of the field and add one. set this new value to the field. In this way you get how many times the button is clicked/ how many times it is previewed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 04:24 AM
I have emails in SOW workspace. when I open this email it would directly opens preview email record. that's the issue I can't able to track the count
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 04:30 AM
ohh i get it, i thought you clicked a button to preview the email, as we were discussing in this thread, but you only click the created date right? i would suggest to open a new discussion where you ask about this thing specifically, but right now i cant think of anything to achieve that. Sorry