<?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 ByDefault show Additional comments journal field on incident form onload. in CSM forum</title>
    <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058164#M39971</link>
    <description>&lt;P&gt;How to make Additional Comments (Customer Visible) field By Default visible Onload incident form, when user open the form. Currently whatever checkbox we check whether it is work notes or additional comments that jornal field is visible but i want to show Additional comments journal field every time user opens the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashanksha_0-1727448332766.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/389970i8E813DEFB2F6471C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashanksha_0-1727448332766.png" alt="shashanksha_0-1727448332766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 14:50:50 GMT</pubDate>
    <dc:creator>shashanksha</dc:creator>
    <dc:date>2024-09-27T14:50:50Z</dc:date>
    <item>
      <title>ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058164#M39971</link>
      <description>&lt;P&gt;How to make Additional Comments (Customer Visible) field By Default visible Onload incident form, when user open the form. Currently whatever checkbox we check whether it is work notes or additional comments that jornal field is visible but i want to show Additional comments journal field every time user opens the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashanksha_0-1727448332766.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/389970i8E813DEFB2F6471C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashanksha_0-1727448332766.png" alt="shashanksha_0-1727448332766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 14:50:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058164#M39971</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-09-27T14:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058178#M39972</link>
      <description>&lt;P&gt;There are 2 records on the sys_user_preference that affect this.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;glide.ui.activity_stream.multiple_inputs&lt;/STRONG&gt; - &lt;STRONG&gt;true&lt;/STRONG&gt; means both Work Notes and Additional comments will be visible, &lt;STRONG&gt;false&lt;/STRONG&gt; means only one&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;glide.ui.incident.stream_input&lt;/STRONG&gt; - a Value = &lt;STRONG&gt;comments&lt;/STRONG&gt; will show the Additional comments journal field. &lt;STRONG&gt;work_notes&amp;nbsp;&lt;/STRONG&gt;will show the Work notes.&lt;/P&gt;
&lt;P&gt;If you delete all of these records for all users, except one record of each with an empty user, that will be the default for all users.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 15:06:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058178#M39972</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2024-09-27T15:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058195#M39974</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you response, but after making the changes mentioned by you, When i post the Worknotes whic the checkbox remain checked and reload the form again it is showing Worknotes again not additional comments as I want to show Additional comments whwnever user opens the form, whether he/she posted worknotes or additional comments latest with checkbox checked also.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashanksha_0-1727450319029.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/389973i5D01BF56DEED9461/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashanksha_0-1727450319029.png" alt="shashanksha_0-1727450319029.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashanksha_1-1727450358398.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/389974iD5FB4E5E7F3E4D79/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashanksha_1-1727450358398.png" alt="shashanksha_1-1727450358398.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashanksha_2-1727450427141.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/389975i8CC956EDABFA8BB7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashanksha_2-1727450427141.png" alt="shashanksha_2-1727450427141.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you see the last attahcement as i am posting Worknotes with checkbox checked and reload the form. I want Additional Comments should come not worknotes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 15:21:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058195#M39974</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-09-27T15:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058315#M39978</link>
      <description>&lt;P&gt;If making those changes resulted in the Additional comments (only) being displayed for all users, then that's the first step.&amp;nbsp; To stop the inherent system behavior you are describing, you will need to create a before Insert Business Rule on the sys_user_preference table to prevent new records from being added if the user clicks either area to change the behavior.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BradBowman_0-1727455824089.png" style="width: 698px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/389989i75C8345FACC0CD67/image-dimensions/698x391/is-moderation-mode/true?v=v2" width="698" height="391" role="button" title="BradBowman_0-1727455824089.png" alt="BradBowman_0-1727455824089.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Name is&amp;nbsp;glide.ui.activity_stream.multiple_inputs or Name is&amp;nbsp;glide.ui.incident.stream_input&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BradBowman_1-1727455879070.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/389991i4B092A012A233989/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BradBowman_1-1727455879070.png" alt="BradBowman_1-1727455879070.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The next problem is that when you check the box or show all journal fields, that setting is cached until logout, so the user_preference table is not read every time an incident is viewed, meaning it will only reset after the next time the user logs out/in.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you add an onLoad Client Script on the Incident table, it will force the reset to Additional comments some/most of the time.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function onLoad() {
    setPreference('glide.ui.incident.stream_input', 'comments');
}&lt;/LI-CODE&gt;
&lt;P&gt;A few times when testing by checking the Work notes box then saving/updating/reloading the form the Work notes were still displayed, then it switch back when trying again.&amp;nbsp; I don't know of a way to get it to not cache this activity or completely getting around this.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 17:22:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058315#M39978</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2024-09-27T17:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058854#M39984</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. Things are working on second time as when we checked the work notes checkbox part and then reload the form first time, then worknotes field is coming but again reloading the same form without doing anything Additional Comments field is coming. So any idea regarding the same that if we checked the worknotes and reload again first time Additional comments should comes not work notes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank Sharma&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 07:08:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3058854#M39984</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-09-30T07:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3059406#M39993</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me out on the above part?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank Sharma&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 07:46:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3059406#M39993</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-09-30T07:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3059768#M39996</link>
      <description>&lt;P&gt;As I said in the solution, I observed this in my testing, and don't know a way around this caching to get the final way there.&amp;nbsp; This should only present for the same user, immediately after updating a record, so if a user clicks the Work notes box, they should expect that Work notes will be displayed until they uncheck it.&amp;nbsp; With this solution in place, others won't have to notice the field is labeled Work notes and uncheck the box as that will be done for them when they view the record&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 11:45:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3059768#M39996</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2024-09-30T11:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3061138#M40007</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have idea from where that work_notes checkbox functionality is working. As worknotes checkbox checked making entry in user preference table. Do you have idea from where it is happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank Sharma&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 12:53:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3061138#M40007</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-10-01T12:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3061333#M40008</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you have any idea where we can control the work notes/additional comment checkbox.&lt;/P&gt;&lt;P&gt;So that we can handle it on while loading the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank Sharma&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 15:16:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3061333#M40008</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-10-01T15:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3063447#M40019</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we use a Onchange client script on worknotes field and set the preference&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;setPreference('glide.ui.incident.stream_input', 'comments');&lt;/PRE&gt;&lt;P&gt;on the form.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; onChange(control, oldValue, newValue, isLoading, isTemplate) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (isLoading || newValue === &lt;/SPAN&gt;&lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setPreference(&lt;/SPAN&gt;&lt;SPAN&gt;'glide.ui.incident.stream_input'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'comments'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank Sharma&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 10:59:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3063447#M40019</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-10-03T10:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: ByDefault show Additional comments journal field on incident form onload.</title>
      <link>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3063449#M40020</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can we use a Onchange client script on worknotes field and set the preference&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;setPreference('glide.ui.incident.stream_input', 'comments');&lt;/PRE&gt;&lt;P&gt;on the form.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;onChange(control, oldValue, newValue, isLoading, isTemplate) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(isLoading || newValue ===&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setPreference(&lt;/SPAN&gt;&lt;SPAN&gt;'glide.ui.incident.stream_input'&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'comments'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;setPreference('glide.ui.incident.stream_input',&amp;nbsp;'comments');&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;As things are working by using above code.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank Sharma&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 11:04:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/bydefault-show-additional-comments-journal-field-on-incident/m-p/3063449#M40020</guid>
      <dc:creator>shashanksha</dc:creator>
      <dc:date>2024-10-03T11:04:56Z</dc:date>
    </item>
  </channel>
</rss>

