<?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 Variable not showing on form in the Portal in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526596#M491059</link>
    <description>&lt;P&gt;I have a variable set used in several items on the Portal to auto load field relating to the logged in user. When testing one of the fields does not populate on the form&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PamWalker1_0-1680690150728.png" style="width: 200px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/252463i8D0440D00C48940A/image-size/small?v=v2&amp;amp;px=200" role="button" title="PamWalker1_0-1680690150728.png" alt="PamWalker1_0-1680690150728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if I submit the request without changing anything then the variable does populate on the RITM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PamWalker1_1-1680690184191.png" style="width: 200px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/252465i0BED055D08657436/image-size/small?v=v2&amp;amp;px=200" role="button" title="PamWalker1_1-1680690184191.png" alt="PamWalker1_1-1680690184191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the logged in user changes who the request is for the Office shows on the screen and if they then change it back to themselves again it shows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my Catalog Client script&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PamWalker1_2-1680690358848.png" style="width: 200px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/252466i5E0EE7F72C805FB7/image-size/small?v=v2&amp;amp;px=200" role="button" title="PamWalker1_2-1680690358848.png" alt="PamWalker1_2-1680690358848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would appreciate any help as am quite new to all of this. Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 10:28:20 GMT</pubDate>
    <dc:creator>Pam Walker1</dc:creator>
    <dc:date>2023-04-05T10:28:20Z</dc:date>
    <item>
      <title>Variable not showing on form in the Portal</title>
      <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526596#M491059</link>
      <description>&lt;P&gt;I have a variable set used in several items on the Portal to auto load field relating to the logged in user. When testing one of the fields does not populate on the form&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PamWalker1_0-1680690150728.png" style="width: 200px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/252463i8D0440D00C48940A/image-size/small?v=v2&amp;amp;px=200" role="button" title="PamWalker1_0-1680690150728.png" alt="PamWalker1_0-1680690150728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if I submit the request without changing anything then the variable does populate on the RITM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PamWalker1_1-1680690184191.png" style="width: 200px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/252465i0BED055D08657436/image-size/small?v=v2&amp;amp;px=200" role="button" title="PamWalker1_1-1680690184191.png" alt="PamWalker1_1-1680690184191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the logged in user changes who the request is for the Office shows on the screen and if they then change it back to themselves again it shows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my Catalog Client script&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PamWalker1_2-1680690358848.png" style="width: 200px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/252466i5E0EE7F72C805FB7/image-size/small?v=v2&amp;amp;px=200" role="button" title="PamWalker1_2-1680690358848.png" alt="PamWalker1_2-1680690358848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would appreciate any help as am quite new to all of this. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 10:28:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526596#M491059</guid>
      <dc:creator>Pam Walker1</dc:creator>
      <dc:date>2023-04-05T10:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not showing on form in the Portal</title>
      <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526603#M491060</link>
      <description>&lt;P&gt;It seems you have this logic running in only in case of onChange() event.&lt;/P&gt;&lt;P&gt;If you want the same to happen then you can think of having onLoad() client script as well and just make sure it should not run when 'who is the request for' is empty.&lt;/P&gt;&lt;P&gt;we can discuss more about implementation but before that let me know if above makes sense .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 10:33:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526603#M491060</guid>
      <dc:creator>sushantmalsure</dc:creator>
      <dc:date>2023-04-05T10:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not showing on form in the Portal</title>
      <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526643#M491066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/103696"&gt;@sushantmalsure&lt;/a&gt;&amp;nbsp;, thanks I understand what you say. I created an onLoad script and if I then try it with the "Try It" button it populates but it still does not load in the Portal&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 10:55:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526643#M491066</guid>
      <dc:creator>Pam Walker1</dc:creator>
      <dc:date>2023-04-05T10:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not showing on form in the Portal</title>
      <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526658#M491067</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/332366"&gt;@Pam Walker1&lt;/a&gt;&amp;nbsp;Can you make sure UI Type of this onLoad() client script is set to 'All' and then test it again?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 11:00:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526658#M491067</guid>
      <dc:creator>sushantmalsure</dc:creator>
      <dc:date>2023-04-05T11:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not showing on form in the Portal</title>
      <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526659#M491068</link>
      <description>&lt;P&gt;Also share the screenshot of this new onLoad() client script , I can help you by looking at it as well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 11:01:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526659#M491068</guid>
      <dc:creator>sushantmalsure</dc:creator>
      <dc:date>2023-04-05T11:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not showing on form in the Portal</title>
      <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526662#M491069</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/332366"&gt;@Pam Walker1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getReference is not a. standard practice to update reference field related records on form&lt;/P&gt;&lt;P&gt;Instead of getReference use script include and client script&lt;/P&gt;&lt;P&gt;Let me know if you need more help&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manjusha&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 11:05:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526662#M491069</guid>
      <dc:creator>manjusha_</dc:creator>
      <dc:date>2023-04-05T11:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not showing on form in the Portal</title>
      <link>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526930#M491102</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/332366"&gt;@Pam Walker1&lt;/a&gt;&amp;nbsp;any luck?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I solved your issue , please mark answer as helpful and accept the solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 13:58:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/variable-not-showing-on-form-in-the-portal/m-p/2526930#M491102</guid>
      <dc:creator>sushantmalsure</dc:creator>
      <dc:date>2023-04-05T13:58:05Z</dc:date>
    </item>
  </channel>
</rss>

