<?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 Show/Hide fields using UI Policy in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528819#M100598</link>
    <description>&lt;P&gt;I have a multiple choice variable and need to show/hide different fields based on the value of the Variable. Currently, there are 2 values options. Created the UI policies&lt;/P&gt;&lt;P&gt;Created the UI policies and set the visibility per requirements. The problem is upon switching between these values, it does not toggle at all. It just sits as it would at load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Originally, I had a client script managing the toggling of scripts, but upon deploying to other environments, encountered an issue with the order or processing the load and change scripts. So I am migrating to UI Policies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~T&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 15:14:43 GMT</pubDate>
    <dc:creator>tiyasa</dc:creator>
    <dc:date>2017-06-29T15:14:43Z</dc:date>
    <item>
      <title>Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528819#M100598</link>
      <description>&lt;P&gt;I have a multiple choice variable and need to show/hide different fields based on the value of the Variable. Currently, there are 2 values options. Created the UI policies&lt;/P&gt;&lt;P&gt;Created the UI policies and set the visibility per requirements. The problem is upon switching between these values, it does not toggle at all. It just sits as it would at load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Originally, I had a client script managing the toggling of scripts, but upon deploying to other environments, encountered an issue with the order or processing the load and change scripts. So I am migrating to UI Policies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~T&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:14:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528819#M100598</guid>
      <dc:creator>tiyasa</dc:creator>
      <dc:date>2017-06-29T15:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528820#M100599</link>
      <description>&lt;P&gt;First thing is to de-activate the scripts. &amp;nbsp; UI Actions and Client scripts don't play nicely together.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;If you already have the client scripts deactivated, then please paste in screenies of your UI Policies.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:22:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528820#M100599</guid>
      <dc:creator>Uncle Rob</dc:creator>
      <dc:date>2017-06-29T15:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528821#M100600</link>
      <description>&lt;P&gt;Yes, the scripts are disabled. Here are the screenshots. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Some notes:-&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;- All the variables are set to non-mandatory at the variable level. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;- The UI Policies are ordered at 100 both.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;- I have tried to turn off Reverse if false and on load, one by one etc, and it still doesn't work.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/28058i29A59107BD31F94D/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;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/28063i02CE7868A97C8C9A/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;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The second one is: &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/28062i44215BA4877FE59F/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;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/28064iD43DA4CEC2DBE1A0/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;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:33:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528821#M100600</guid>
      <dc:creator>tiyasa</dc:creator>
      <dc:date>2017-06-29T15:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528822#M100601</link>
      <description>&lt;P&gt;Ah just found the problem. I had one more onChange Client Script there which was clearing the fields when the Variable option was changed. I disabled it and it started working. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Any suggestions on how I can put that feature back?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:37:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528822#M100601</guid>
      <dc:creator>tiyasa</dc:creator>
      <dc:date>2017-06-29T15:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528823#M100602</link>
      <description>&lt;P&gt;Fixed. I put the clearing of field condition in the run scripts section of the UI Policies. &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Happy Me &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="49.60000228881836_75.6875_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:10:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528823#M100602</guid>
      <dc:creator>tiyasa</dc:creator>
      <dc:date>2017-06-29T16:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528824#M100603</link>
      <description>&lt;P&gt;Dear tiyasa:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can you tell me how to disable it?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Aug 2017 06:24:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528824#M100603</guid>
      <dc:creator>Andrew_XU</dc:creator>
      <dc:date>2017-08-04T06:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528825#M100604</link>
      <description>&lt;P&gt;You can just make the Active Checkbox unchecked to stop executing the particular UI Policy, Client Script etc.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Aug 2017 06:27:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528825#M100604</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-08-04T06:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide fields using UI Policy</title>
      <link>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528826#M100605</link>
      <description>&lt;P&gt;I need input "caller_id.phone" the this form name&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;but still auto cut "." ,so I want disable field limit.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;How to do it?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/28067i2701F127AC65F2C1/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;&lt;BR /&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/28066iBFA2E52E2631B46B/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;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Aug 2017 07:05:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/show-hide-fields-using-ui-policy/m-p/528826#M100605</guid>
      <dc:creator>Andrew_XU</dc:creator>
      <dc:date>2017-08-04T07:05:40Z</dc:date>
    </item>
  </channel>
</rss>

