Add alert message on click email OR highlight email adress in color when the reqested for  is VIP

VarshaSambha
Tera Contributor

Hello Community,

Need your help!

Add alert message on click email OR highlight email adress in color when the reqested for  is VIP user,

 

VarshaSambha_1-1792589717863.png

 

once we click on email, we get Email compose popup,

VarshaSambha_0-1792589691800.png

 

Or you can help me with an ideas, I am not getting the way or easy way to chive this requirement,

 

Thank you

 

1 ACCEPTED SOLUTION

Kieran3
Mega Sage

Hi @VarshaSambha,

 

I've had a quick look and because the Email Composer is a free text field, it wouldn't be straight forward to have it show on that UI.

 

I'd propose considering highlighting the 'Requested for' on the Catalog Task view instead so it's clear the requestor is a VIP.

Kieran3_0-1792612409047.png

This was possible using a Client Script with a Script Include.

View solution in original post

7 REPLIES 7

Hello @Kieran3 ,

Thank you for your response,

I think yes this is also a good way to achive this requirement, but let me discuss with the Business Team, will see if Bhavani find the alternative way.

Than kyou.

 

 

 

No worries at all! Let me know if you go ahead with it and I can give some pointers 🙂

Hello @Kieran3 ,

Thank you for suggesting the idea of adding a warning message. Although the Business team declined to implement it in that way, they requested that we display a warning message at the top of the Compose Email pop-up window.

I did some R&D and found a way to achieve this.

Steps to implement:

  1. Navigate to All > Email Client > Email Client Templates.

  2. On the Sender Configuration tab, set the From Generation Type to Script.

  3. Add the warning message using the gs.addWarningMessage() method if user is vip.

To make it red I just added Error Message, It is just testing, SS is attached here.

 

Although the original approach wasn't approved, your idea helped me explore an alternative solution. Thank you for your suggestion!