<?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 How to Set Widget Visibility... Service Portal in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449097#M106023</link>
    <description>&lt;P&gt;1. I have a requirement to have a particular widget for a special category of the Service Catalogs.&lt;/P&gt;&lt;P&gt;Please can you help me out in setting the visibility of particular widget over "sc_cat_item" page for a special category of the Service Catalogs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also, I want to hide the Submit Button on the "SC Catalog Item" widget for particular service Catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="ctomasi" __default_attr="2218" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2218" data-objecttype="3" data-orig-content="ctomasi" data-renderedposition="136_8_68_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=7ae05a61db981fc09c9ffb651f9619a2"&gt;ctomasi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="pradeepksharma" __default_attr="7836" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="7836" data-objecttype="3" data-orig-content="pradeepksharma" data-renderedposition="157_8_127_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=ce3fce65db181fc09c9ffb651f96192f"&gt;pradeepksharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="b-rad" __default_attr="2204" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2204" data-objecttype="3" data-orig-content="b-rad" data-renderedposition="178_8_53_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=90e1da21dbd81fc09c9ffb651f961977"&gt;b-rad&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2016 07:12:06 GMT</pubDate>
    <dc:creator>ashishgupta</dc:creator>
    <dc:date>2016-07-13T07:12:06Z</dc:date>
    <item>
      <title>How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449097#M106023</link>
      <description>&lt;P&gt;1. I have a requirement to have a particular widget for a special category of the Service Catalogs.&lt;/P&gt;&lt;P&gt;Please can you help me out in setting the visibility of particular widget over "sc_cat_item" page for a special category of the Service Catalogs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also, I want to hide the Submit Button on the "SC Catalog Item" widget for particular service Catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="ctomasi" __default_attr="2218" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2218" data-objecttype="3" data-orig-content="ctomasi" data-renderedposition="136_8_68_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=7ae05a61db981fc09c9ffb651f9619a2"&gt;ctomasi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="pradeepksharma" __default_attr="7836" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="7836" data-objecttype="3" data-orig-content="pradeepksharma" data-renderedposition="157_8_127_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=ce3fce65db181fc09c9ffb651f96192f"&gt;pradeepksharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="b-rad" __default_attr="2204" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2204" data-objecttype="3" data-orig-content="b-rad" data-renderedposition="178_8_53_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=90e1da21dbd81fc09c9ffb651f961977"&gt;b-rad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 07:12:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449097#M106023</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-13T07:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449098#M106024</link>
      <description>&lt;P&gt;HI Ashish,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if you want to hide widget then role field is available.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;in script you can control visibility too.&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;Talking about submit button,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;you have to control its visibility through UI macro of this button.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;this can help you:- servicecatalog_cart_template this is UI Macro..&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 07:19:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449098#M106024</guid>
      <dc:creator>Ashutosh Munot1</dc:creator>
      <dc:date>2016-07-13T07:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449099#M106025</link>
      <description>&lt;P&gt;&lt;A _jive_internal="true" href="https://www.servicenow.com/community?id=community_question&amp;amp;sys_id=728e8b21dbdcdbc01dcaf3231f9619f6" title="https://community.servicenow.com/thread/175265?q=hide%20submit"&gt;https://community.servicenow.com/thread/175265?q=hide%20submit&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;see this thread also &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 07:21:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449099#M106025</guid>
      <dc:creator>Ashutosh Munot1</dc:creator>
      <dc:date>2016-07-13T07:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449100#M106026</link>
      <description>&lt;P&gt;Thanks for the Quick Response..&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;But I need this for Service Portal (Helsinki).&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;What you have described is for Traditional CMS Portal.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 08:07:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449100#M106026</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-13T08:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449101#M106027</link>
      <description>&lt;P&gt;&lt;A title="ctomasi" __default_attr="2218" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2218" data-objecttype="3" data-orig-content="ctomasi" data-renderedposition="10_8_68_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=7ae05a61db981fc09c9ffb651f9619a2"&gt;ctomasi&lt;/A&gt;, I need a help on this !!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please help !!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 14:07:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449101#M106027</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-13T14:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449102#M106028</link>
      <description>&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;My knowledge of Service Portal is almost non-existent at this point. I wish I could offer help, but I'm not a subject matter expert in this area (yet). Sorry.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 14:14:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449102#M106028</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2016-07-13T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449103#M106029</link>
      <description>&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A title="ctomasi" __default_attr="2218" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2218" data-objecttype="3" data-orig-content="ctomasi" data-renderedposition="52_8_68_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=7ae05a61db981fc09c9ffb651f9619a2"&gt;ctomasi&lt;/A&gt; Please can you route it to some Service Portal Expert. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Just Tag anyone..&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 14:24:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449103#M106029</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-13T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449104#M106030</link>
      <description>&lt;P&gt;&lt;A title="fschuster" __default_attr="9624" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="9624" data-objecttype="3" data-orig-content="fschuster" data-renderedposition="10_8_77_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=b93352e5db1c1fc09c9ffb651f9619f6"&gt;fschuster&lt;/A&gt; - any thoughts?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 14:29:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449104#M106030</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2016-07-13T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449105#M106031</link>
      <description>&lt;P&gt;Have your server part of the widget set "visibility" variables based on the according category (use case 1) and the according catalog (use case 2).&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;E.g. "if(myCategory == xyz)" - set a variable, e.g. "showCategory" to "false".&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;These variables could e.g. come from Widget Options or System Properties.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Then you will have to add an ng-show/ng-hide on the HTML level that evaluates the visibility expression and either shows or hides the &amp;lt;div&amp;gt; or the &amp;lt;button&amp;gt;.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;E.g. (ng-show="showCategory") - meaning only if showCategory is &lt;STRONG&gt;true, &lt;/STRONG&gt;we will display that element.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2016 15:21:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449105#M106031</guid>
      <dc:creator>fschuster</dc:creator>
      <dc:date>2016-07-13T15:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449106#M106032</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I am creating a widget that is responsible for accepting the usefulness of the Service Catalog Items:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Server Side Script:&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/160276i23A9AD1359AA2278/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;All three Highlighted Logs Results are:&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/160274i423DA3F4FFF2272E/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;STRONG&gt;Please can you guide me in achieving the Selected Catalog's Category.&lt;/STRONG&gt; &amp;nbsp; None of the above logs are able to fetch the category.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Once I am able to achieve the Category I can easily compare and use ng-show in HTML against &amp;lt;div&amp;gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2016 09:35:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449106#M106032</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-14T09:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449107#M106033</link>
      <description>&lt;P&gt;Ashish,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I just added some lines of code to a clone of the "SC Catalog Item" Widget - see attached screenshots. Getting the category worked fine for me.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I recommend using console.log() for all debugging of widgets, it even works in the server script part!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The element in the data.category array is called &lt;STRONG&gt;name&lt;/STRONG&gt;, not title.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You also should ideally not declare your variable twice - just initialize it e.g. with &lt;STRONG&gt;true&lt;/STRONG&gt; and set it to &lt;STRONG&gt;false&lt;/STRONG&gt; if needed (or vice versa).&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2016 10:32:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449107#M106033</guid>
      <dc:creator>fschuster</dc:creator>
      <dc:date>2016-07-14T10:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449108#M106034</link>
      <description>&lt;P&gt;Hey Frank, You forgot to attach the Screenshot. Please attach !!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2016 11:32:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449108#M106034</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-14T11:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449109#M106035</link>
      <description>&lt;P&gt;&lt;A __default_attr="9624" __jive_macro_name="user" class="jive_macro jive_macro_user" data-containerid="-1" data-containertype="-1" data-objectid="9624" data-objecttype="3" data-orig-content="fschuster" data-renderedposition="10_8_77_16" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=b93352e5db1c1fc09c9ffb651f9619f6" modifiedtitle="true" style="font-family: arial, sans-serif; color: #3778c7; text-decoration: underline;" title="fschuster"&gt;fschuster&lt;/A&gt; Please can you share the mentioned Screenshots. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:23:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449109#M106035</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-14T16:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449110#M106036</link>
      <description>&lt;P&gt;Ashish, not sure if you have just overlooked them - but I can even see them when I'm not logged in into the community from my mobile.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;They are not inline images, you have to look at the attachments.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_8004.PNG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/160290iB4D04A767315524D/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_8004.PNG" alt="IMG_8004.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2016 21:21:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449110#M106036</guid>
      <dc:creator>fschuster</dc:creator>
      <dc:date>2016-07-14T21:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449111#M106037</link>
      <description>&lt;P&gt;Hey Frank,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can You help me with the &lt;STRONG&gt;ng-show&lt;/STRONG&gt; for a button.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Now I am able to fetch the Category in the logs but Either the button gets visible for all or None.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It is not following the condition passed in server Script.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;As You suggested I am using a variable to set the visibility in HTML &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;button ng-show="showCat" .......................&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;This is BUTTON is Submit Button at the SC Catalog Item Widget.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please guide ... &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2016 10:11:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449111#M106037</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-15T10:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449112#M106038</link>
      <description>&lt;P&gt;&lt;A title="fschuster" __default_attr="9624" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="9624" data-objecttype="3" data-orig-content="fschuster" data-renderedposition="10_8_77_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=b93352e5db1c1fc09c9ffb651f9619f6"&gt;fschuster&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Hey Frank,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I was able to hide the widget for particular category...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;But the Button on the Service Catalog Page is not getting hidden.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please can you guide me the way to hide the Submit Button for particular Category.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2016 13:37:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449112#M106038</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-15T13:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449113#M106039</link>
      <description>&lt;P&gt;Ashish,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Nothing different for a button than a standard &amp;lt;div&amp;gt;.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Let's say we got a Submit Button:&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14685960981888307 jive_text_macro" data-renderedposition="113_8_1192_16" jivemacro_uid="_14685960981888307"&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;&amp;lt;button&lt;/SPAN&gt;&lt;STRONG style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-position: repeat;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM style="background-position: repeat;"&gt;ng-if="c.data.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM style="background-position: repeat;"&gt;showButton&lt;/EM&gt;&lt;/SPAN&gt;&lt;STRONG style="color: rgba(0, 0, 0, 0); text-decoration: underline; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; background-position: repeat;"&gt;&lt;EM style="background-position: repeat;"&gt;"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt; type="submit" id="registerNow" class="btn btn-lg btn-primary btn-block"&amp;gt;Register Now&amp;lt;/button&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The only thing you would need to do is come up with a logic that sets the &lt;STRONG&gt;showButton &lt;/STRONG&gt;variable to true/false on the server (or client) - depends how you determine the value.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Assuming you are doing this on the server you would simply have to add :&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14685960209407839 jive_text_macro" data-renderedposition="193_8_1192_16" jivemacro_uid="_14685960209407839"&gt;&lt;P&gt;data.showButton = false;&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;In the HTML you are able to access that value with &lt;STRONG&gt;c.data.&lt;/STRONG&gt;showButton.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2016 15:20:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449113#M106039</guid>
      <dc:creator>fschuster</dc:creator>
      <dc:date>2016-07-15T15:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449114#M106040</link>
      <description>&lt;P&gt;Thanks &lt;A title="fschuster" __default_attr="9624" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="9624" data-objecttype="3" data-orig-content="fschuster" data-renderedposition="10_59_77_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=b93352e5db1c1fc09c9ffb651f9619f6"&gt;fschuster&lt;/A&gt; and Mr. &lt;A title="ctomasi" __default_attr="2218" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2218" data-objecttype="3" data-orig-content="ctomasi" data-renderedposition="10_192.21875_69_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=7ae05a61db981fc09c9ffb651f9619a2"&gt;ctomasi&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I will be in touch with you Guys as I am working for Service Portal and it is really very new and bit difficult to understand...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="92_59_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>Fri, 15 Jul 2016 20:51:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449114#M106040</guid>
      <dc:creator>ashishgupta</dc:creator>
      <dc:date>2016-07-15T20:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449115#M106041</link>
      <description>&lt;P&gt;We're doing a TechNow episode on this next week. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="8_331.046875_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;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community?id=community_question&amp;amp;sys_id=31ee07a1dbdcdbc01dcaf3231f961920" title="http://community.servicenow.com/thread/230003"&gt;Ask the Expert: Share Portal, TechNow 28 | ServiceNow Community&lt;/A&gt; &lt;A _jive_internal="true" href="https://www.servicenow.com/community?id=community_question&amp;amp;sys_id=31ee07a1dbdcdbc01dcaf3231f961920" title="https://community.servicenow.com/external-link.jspa?url=http://community.servicenow.com/thread/230003"&gt;&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2016 21:04:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449115#M106041</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2016-07-15T21:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Widget Visibility... Service Portal</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449116#M106042</link>
      <description>&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Could you please let me know the HTML code which you used to hide the widget? &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I am having a similar issue were I am trying to hide a widget if the current user is member of a particular group. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Ashwin&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:07:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-set-widget-visibility-service-portal/m-p/1449116#M106042</guid>
      <dc:creator>Ash18</dc:creator>
      <dc:date>2017-08-22T16:07:48Z</dc:date>
    </item>
  </channel>
</rss>

