The CreatorCon Call for Content is officially open! Get started here.

Preview Email from Form

MC_Soria
Kilo Expert

Good day all,

I have a business requirement to place the existing "Preview HTML body" UI action from a form as a button. I have created a "communication" table to support a process whereby ITIL workers can request a system outage communication to be sent to key stakeholders after a short approval process. One of the requirements I have is that the requestor and approvers be able to preview the email from the table form. I have two ideas on how to possibly implement this but cannot get either to work:

1. Click UI Action button or email client icon> Launch email client with "Send" button hidden - this has close to the desired effect in that it will show a pop-up with the template populated with the current information from the dbase - but we do not want to send using this, because we want to control when the message is actually sent. How would you hide the Send button?

2. Click UI Action button> trigger the "Preview HTML body" action - when I inserted this action into the communication form, it throws an error "email not found: " - I surmise because the script is intended to run off the sys_email table and is keyed to a specific email event. Can we tweak this script to pull the current sys id an populate?

Any ideas on to make these work or any new ideas would be greatly appreciated. Thank you.

10 REPLIES 10

Hi,

Not yet, i was backtracked from that work since that was not a urgent requirement. Please update the community if you ever find the solution for this or find a new way to achieve the functionality.

 

Thanks,

Niranjan.