Custom button on Service Portal to send email

Bruler1230
Tera Expert

Hello,

I have created a custom button in a widget on the service portal. When that button is clicked, i need to send an email to the assignemnt group that the ticket is currently assigned to. Has anyone done this or have any examples how i can generate an email when the button is clicked? I have created a client email template to use, but not quite sure how to initiate the email. I beleive it has something to do with the email client. Any help is appreciated.

Thanks

14 REPLIES 14

thanks..very similar but not quite the use case i am looking at. I do not need any windows to pop up, i just need an email to send once the button is clicked. 

Bruler1230
Tera Expert

im trying to make this as simple as possible..A user clicks the button and an email sends to the assignment group, i do not need any windows to pop up. No user intervention is necessary before sending. Thanks

This will be easy configuration to configure button in your service portal widget.

In server script of your widget, you can create event and this event will be captured by email notification.

 

Below article will give you code configure button and you can reuse this code to create your own widget and update server script of widget to generate event.

 

https://serviceportal.io/create-custom-action-buttons-service-portal/

 

Regards,

Sachin