<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Auto-expand Inbound mails on Incident activity in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764149#M421075</link>
    <description>&lt;P&gt;Hi &lt;A title="Adam Domanski" __default_attr="3953" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Adam Domanski" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=889fcae9db181fc09c9ffb651f9619a8"&gt;Adam Domanski&lt;/A&gt;,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;With a little of jQuery Magic you can do it:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14017965353431431" jivemacro_uid="_14017965353431431" modifiedtitle="true"&gt;
&lt;P&gt;($$("img[onclick*='ActivityFilter.activityEmailToggle']")).each(function(item){item.click()});&lt;/P&gt;&lt;BR /&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Here the documentation:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://api.jquery.com/attribute-contains-selector/" title="http://api.jquery.com/attribute-contains-selector/"&gt;Attribute Contains Selector [name*="value"] | jQuery API Documentation&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[]'s&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Andre Moreira&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Jun 2014 11:56:39 GMT</pubDate>
    <dc:creator>Andre Moreira</dc:creator>
    <dc:date>2014-06-03T11:56:39Z</dc:date>
    <item>
      <title>Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764147#M421073</link>
      <description>&lt;P&gt;Is it possible to allow Emails displayed on the Incident activity UI Formatter to be automatically expanded when an Incident is opened? As we give most of our caller updated via the email button, it would be useful for our analysts to be able to see all of the updates at a glance, rather than having to click the + sign on each item. If this could be switched on / off per user then even better! Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2014 09:27:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764147#M421073</guid>
      <dc:creator>domaners</dc:creator>
      <dc:date>2014-06-03T09:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764148#M421074</link>
      <description>&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Went through the system propeties available in the wiki, &lt;A href="http://wiki.servicenow.com/index.php?title=Available_System_Properties" title="http://wiki.servicenow.com/index.php?title=Available_System_Properties"&gt;http://wiki.servicenow.com/index.php?title=Available_System_Properties&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Unfortunately it seems like their is no OOB property for your requirement, will suggest you to have a quick look on the above link for your reference on that. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;What i will suggest you to do is to write a OnLoad script on your incident table and play with some DOM (though not recommended by servicenow ACE tool &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/silly.png"&gt;&lt;/SPAN&gt; ). But some or the other time it is defended if it is a Business requirement for you.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;let me know if you require any DOM help. I can surely built a sample or the solution for you on that &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12.727272033691406px; font-family: arial, sans-serif; color: #666666;"&gt;Please mark answer as correct, if it was really helpful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12.727272033691406px; font-family: arial, sans-serif; color: #666666;"&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12.727272033691406px; font-family: arial, sans-serif; color: #666666;"&gt;Solutioner&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12.727272033691406px; font-family: arial, sans-serif; color: #666666;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Logo.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/203305iF34FEDD199020145/image-size/large?v=v2&amp;amp;px=999" role="button" title="Logo.png" alt="Logo.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12.727272033691406px; font-family: arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: Calibri; color: black;"&gt;Enhance Knowledge NOW@ &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: Calibri; color: black;"&gt;&lt;A title="k-external-small" class="jive-link-external-small" href="http://www.solutioningnow.com/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;www.solutioningnow.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 12.727272033691406px; font-family: arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: Calibri; color: black;"&gt;&lt;A title="k-external-small" class="jive-link-external-small" href="http://www.solutioningnow.com/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;http://www.solutioningnow.com/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jun 2014 11:17:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764148#M421074</guid>
      <dc:creator>solutioningnow</dc:creator>
      <dc:date>2014-06-03T11:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764149#M421075</link>
      <description>&lt;P&gt;Hi &lt;A title="Adam Domanski" __default_attr="3953" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Adam Domanski" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=889fcae9db181fc09c9ffb651f9619a8"&gt;Adam Domanski&lt;/A&gt;,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;With a little of jQuery Magic you can do it:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14017965353431431" jivemacro_uid="_14017965353431431" modifiedtitle="true"&gt;
&lt;P&gt;($$("img[onclick*='ActivityFilter.activityEmailToggle']")).each(function(item){item.click()});&lt;/P&gt;&lt;BR /&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Here the documentation:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://api.jquery.com/attribute-contains-selector/" title="http://api.jquery.com/attribute-contains-selector/"&gt;Attribute Contains Selector [name*="value"] | jQuery API Documentation&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[]'s&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Andre Moreira&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jun 2014 11:56:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764149#M421075</guid>
      <dc:creator>Andre Moreira</dc:creator>
      <dc:date>2014-06-03T11:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764150#M421076</link>
      <description>&lt;P&gt;Cheers Andre, I'll give it a try. One question, how do I include the Jquery libraries into my instance? Is this done out of box?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I'm referring specifically to this line in the HTML header block:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="tag" style="color: #000080; font-family: source-code-pro, Consolas, monospace; font-size: 15px; background-color: #eeeeee;"&gt;&amp;lt;&lt;SPAN class="title"&gt;script&lt;/SPAN&gt; &lt;SPAN class="attribute" style="color: #008080;"&gt;src&lt;/SPAN&gt;=&lt;SPAN class="value" style="color: #dd1144;"&gt;"//code.jquery.com/jquery-1.10.2.js"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="javascript" style="color: #333333; font-family: source-code-pro, Consolas, monospace; font-size: 15px; background-color: #eeeeee;"&gt;&lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000080; font-family: source-code-pro, Consolas, monospace; font-size: 15px; background-color: #eeeeee;"&gt;&amp;lt;/&lt;SPAN class="title"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Cheers, Adam&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2014 09:21:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764150#M421076</guid>
      <dc:creator>domaners</dc:creator>
      <dc:date>2014-06-04T09:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764151#M421077</link>
      <description>&lt;P&gt;Andre, you're a genius. Turns out I didn't need to add the jQuery script call, it must already be defined somewhere in the code. Tested this out and it seems to work a treat.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2014 11:37:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764151#M421077</guid>
      <dc:creator>domaners</dc:creator>
      <dc:date>2014-06-04T11:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764152#M421078</link>
      <description>&lt;P&gt;Hi &lt;A title="Adam Domanski" __default_attr="3953" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Adam Domanski" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=889fcae9db181fc09c9ffb651f9619a8"&gt;Adam Domanski&lt;/A&gt;,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The ServiceNow already has a jQuery file, that is autoloaded and you can call using jQuery too.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;To further information you can check it out &lt;A href="http://wiki.servicenow.com/index.php?title=Extensions_to_Jelly_Syntax#.3Cg:include_script.2F.3E" title="http://wiki.servicenow.com/index.php?title=Extensions_to_Jelly_Syntax#.3Cg:include_script.2F.3E"&gt;Extensions to Jelly Syntax - ServiceNow Enterprise Wiki&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[]'s&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Andre Moreira&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2014 12:22:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764152#M421078</guid>
      <dc:creator>Andre Moreira</dc:creator>
      <dc:date>2014-06-04T12:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764153#M421079</link>
      <description>&lt;P&gt;Sorry Novice question: Where does one enter this script?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Nov 2015 07:24:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764153#M421079</guid>
      <dc:creator>ewanh</dc:creator>
      <dc:date>2015-11-12T07:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764154#M421080</link>
      <description>&lt;P&gt;&lt;A title="ewanh" __default_attr="36702" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="36702" data-objecttype="3" data-orig-content="ewanh" data-renderedposition="10_8_61_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=bfd2d661db1c1fc09c9ffb651f961977"&gt;ewanh&lt;/A&gt;,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You can enter this Script using the &lt;A title="ki.servicenow.com/index.php?title=Client_Scripts#onLoad.28.29_Scripts" href="http://wiki.servicenow.com/index.php?title=Client_Scripts#onLoad.28.29_Scripts"&gt;onLoad() Scripts&lt;/A&gt;.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[]'s&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Andre Moreira&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Nov 2015 11:32:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764154#M421080</guid>
      <dc:creator>Andre Moreira</dc:creator>
      <dc:date>2015-11-13T11:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764155#M421081</link>
      <description>&lt;P&gt;So....not working for me...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Table = Incident&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Type = onLoad&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Script =&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function onLoad() {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; //Jelly jquery script to expand HTML emails by default when opening an incident&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; ($$("img[onclick*='ActivityFilter.activityEmailToggle']")).each(function(item){item.click();});&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Nov 2015 23:13:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764155#M421081</guid>
      <dc:creator>ewanh</dc:creator>
      <dc:date>2015-11-20T23:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764156#M421082</link>
      <description>&lt;P&gt;What is the Release of you ServiceNow instance?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Nov 2015 15:47:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764156#M421082</guid>
      <dc:creator>Andre Moreira</dc:creator>
      <dc:date>2015-11-25T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764157#M421083</link>
      <description>&lt;P&gt;Sorry Andre. &amp;nbsp; Was away. &amp;nbsp; Fuji Patch 9. &amp;nbsp; Just tested again and it isn't working for me. &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:21:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764157#M421083</guid>
      <dc:creator>ewanh</dc:creator>
      <dc:date>2015-12-21T17:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764158#M421084</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi Ewan, Morning!&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Firstly, Happy New Year! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Next the ServiceNow Fuji Release has some new HTML structure, because of this that script not works... So you need to use the follow script:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;($$("a[onclick*='ActivityFilter.displayActivity']")).each(function(item){item.click();});&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Already tested on glide-fuji-12-23-2014__patch10-10-21-2015.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[]'s&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Andre Moreira&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jan 2016 11:03:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764158#M421084</guid>
      <dc:creator>Andre Moreira</dc:creator>
      <dc:date>2016-01-05T11:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764159#M421085</link>
      <description>&lt;P&gt;Thanks Andre!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Your code above closes all activity log items when an incident is loaded in FUJI 9. I was able to get the functionality I needed with a variation of your two examples:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14528064316201960 jive_text_macro" data-renderedposition="87.99715423583984_7.997159004211426_1192_15" jivemacro_uid="_14528064316201960"&gt;&lt;P&gt;($$("a[onclick*='ActivityFilter.activityEmailToggle']")).each(function(item){item.click();});&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Now if only this could be a user preference. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="123.45169830322266_283.4516906738281_16_16" src="https://www.servicenow.com/8.0.1.35b65d4/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jan 2016 23:27:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764159#M421085</guid>
      <dc:creator>ewanh</dc:creator>
      <dc:date>2016-01-05T23:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764160#M421086</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;Adam Domanski, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Is there a different code for Helsinki? I have tried looking at the DOM and adding to the script that worked for Fugi and Geneva but nothing is working. Here are the codes that I have tried based on the DOM. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="tab_section tabs2_section_1 tabs2_section tabs2_section1" data-header-only="false" data-section-id="999aa106ef26200099620fa3f822562f"&gt;&lt;SPAN class="section" data-header-only="false"&gt;&lt;SPAN class="ng-binding sn-widget-textblock-body sn-widget-textblock-body_formatted"&gt;Tried all these scripts: &lt;BR /&gt;/*function onLoad() {&lt;BR /&gt;($$("a[onclick*='ActivityFilter.activityEmailToggle']")).each(function(item){item.click();});&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;/*function onLoad() {&lt;BR /&gt; &amp;nbsp; ($$("a[onclick*='ActivityFilter.activityEmailToggle.toggleEmailframe(entry.email, $event)']")).each(function(item){item.click();});&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;/*function onLoad() {&lt;BR /&gt; ($$("a[onclick*='ActivityFilter.toggleEmailframe(entry.email, $event)']")).each(function(item){item.click();});&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;/*function onLoad() {&lt;BR /&gt; ($$("a[onclick*='ActivityFilter.toggleEmailframe']")).each(function(item){item.click();});&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;/*function onLoad() {&lt;BR /&gt; ($$("img[onclick*='ActivityFilter.activityEmailToggle']")).each(function(item){item.click();});&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/*function onLoad() {&lt;BR /&gt; &amp;nbsp; ($$("img[onclick*='ActivityFilter.activityEmailToggle.toggleEmailframe(entry.email, $event)']")).each(function(item){item.click();});&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;/*function onLoad() {&lt;BR /&gt; ($$("img[onclick*='ActivityFilter.toggleEmailframe(entry.email, $event)']")).each(function(item){item.click();});&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;function onLoad() {&lt;BR /&gt; ($$("img[onclick*='ActivityFilter.toggleEmailframe']")).each(function(item){item.click();});&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;All failed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2016 15:40:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764160#M421086</guid>
      <dc:creator>seanlafontaine</dc:creator>
      <dc:date>2016-09-20T15:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764161#M421087</link>
      <description>&lt;P&gt;This did not work for me in Orlando:&lt;/P&gt;
&lt;P&gt;($$("a[onclick*='ActivityFilter.activityEmailToggle']")).each(function(item){item.click();});&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/203306iE137C9E770DF5F14/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 17:32:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764161#M421087</guid>
      <dc:creator>Gerry Crumbley</dc:creator>
      <dc:date>2020-07-24T17:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764162#M421088</link>
      <description>&lt;P&gt;can we do the same thing in the current version? doable in New York, Orlando, Paris?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 04:37:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764162#M421088</guid>
      <dc:creator>Samir Zaveri1</dc:creator>
      <dc:date>2020-09-21T04:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764163#M421089</link>
      <description>&lt;P&gt;This is not working on the current release.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 04:54:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764163#M421089</guid>
      <dc:creator>Samir Zaveri1</dc:creator>
      <dc:date>2020-09-21T04:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764164#M421090</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN class="ng-binding"&gt;Andre,&lt;BR /&gt;&lt;BR /&gt;I have tried all of your suggestions on this post and I can not make it work on my instance. do you have any suggestions on how it can work on outbound email within the modern version of ServiceNow like Q?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&lt;BR /&gt;Dylen&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 18:46:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/1764164#M421090</guid>
      <dc:creator>S M</dc:creator>
      <dc:date>2021-10-08T18:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-expand Inbound mails on Incident activity</title>
      <link>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/2454045#M957588</link>
      <description>&lt;P&gt;Currently in Tokyo version and requirement is to keep expanded all post in agent workspace all the time unable to write a jquery code for the same in client script . kindly assist&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manasa&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 10:29:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/auto-expand-inbound-mails-on-incident-activity/m-p/2454045#M957588</guid>
      <dc:creator>manasa ks</dc:creator>
      <dc:date>2023-01-23T10:29:26Z</dc:date>
    </item>
  </channel>
</rss>

