Reply, Reply All, Forward functionality in Activity Log

Aruna13
Tera Contributor

Hi,

 

My requirement is to enable Reply, Reply All, Forward functionality in Activity Log for the custom table. I have enabled the "glide.ui16.emailStreamResponseActions" for the same. Although I turned on the system property, the buttons are not visible in the activity log. 

 

Could you please guide me what should I do further to have these buttons appear in the custom table's activity log?

 

Thank you in advance!

8 REPLIES 8

Aruna13
Tera Contributor

Hi,

 

My customer don't want to enable the macro, since without enabling the macro itself this functionality is working for other custom tables. So I have to look other ways, how i can achieve it. Is there any possibility to have email client template to have this functionality?

 

Thanks,

Aruna

Sumanth16
Kilo Patron

Hi @Aruna13 ,

 

Please refer to below thread:

 

https://www.servicenow.com/community/developer-forum/email-client-templates-when-replying-from-the-r...

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

Aruna13
Tera Contributor

Hi ,

 

I was able to add Reply,Reply All and Forward functionality in activity log. Now I am facing issue with the "Reply To" field for those email client tempates. I wrote a script include for getting Reply To field. The thing is we need to display the email address based on the category of the current record.

 

ReplyTo field:

javascript: new AR_replyto().getEmailForReplyToButtons();

 

script include:

var AR_replyto = Class.create();
AR_replyto.prototype = Object.extendsObject(AbstractAjaxProcessor, {
    getEmailForReplyToButtons: function() {
       
        var address = new GlideRecord('u_sr_shared_ar');
        var category = address.u_category;
        var email = '';
        if (category == 'Shipping') {
            email = gs.getProperty('AR_requestFromTo_Shipping');
        } else
            email = gs.getProperty('AR_request_FromTo_other_categories');

        return email;
    },
    type: 'AR_replyto'
});
 
The above script is returning only the email stored in AR_request_FromTo_other_categories system property.
Can anyone help me to achieve this,
 
Thanks in advance!!

Garygman
Tera Contributor

I was able to add Reply,Reply All and Forward functionality in activity log.

Can you explain what the fix was for this issue?