<?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>topic Re: Disable a widget when site is accessed by phone or tablet? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853001#M11058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Depending on if this widget is inside a controller widget (i.e Header controller widget) or an onscreen widget determines how difficult this will be. I have helped another poster in the past hide&amp;nbsp;widgets based on the user logged in (their authorization to access the widget).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/174605"&gt;How can I toggle the visibility of a widget? &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 15:23:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-12-07T15:23:26Z</dc:date>
    <item>
      <title>Disable a widget when site is accessed by phone or tablet?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853000#M11057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Looking for a way or suggestions on how to disable a widget if viewed on a mobile device or tablet. Thought I'd check with the community if a) anyone has done this and/or b) if this would be useful to anyone else? Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/group/1294"&gt;Web AppBuilder Custom Widgets&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/space/2150"&gt;Web AppBuilder for ArcGIS&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;web appbuilder2.2‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 21:52:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853000#M11057</guid>
      <dc:creator>RyanNosek</dc:creator>
      <dc:date>2016-12-06T21:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable a widget when site is accessed by phone or tablet?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853001#M11058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Depending on if this widget is inside a controller widget (i.e Header controller widget) or an onscreen widget determines how difficult this will be. I have helped another poster in the past hide&amp;nbsp;widgets based on the user logged in (their authorization to access the widget).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/174605"&gt;How can I toggle the visibility of a widget? &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 15:23:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853001#M11058</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-12-07T15:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disable a widget when site is accessed by phone or tablet?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853002#M11059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - Thanks for including that link, that could definitely come in handy later on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this very preliminary point, I'd say the widget needing hidden on layout change could be either in the controller header or an onscreen - which ever is the path of least resistance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My handle on Dojo/JavaScript is not as good as I'd like it to be, and as far as solutions go for hiding a widget in a mobile/tablet layout all I can really think of are CSS media queries. Any guidance is very much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 15:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853002#M11059</guid>
      <dc:creator>RyanNosek</dc:creator>
      <dc:date>2016-12-07T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Disable a widget when site is accessed by phone or tablet?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853003#M11060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I totally forgot that this is way easier than it use to be in the main config.json there is a&amp;nbsp;mobileLayout property and in that object it lists all the widget you want to use from mobile. So all you have to do is remove that widget from that section of the config and you are good to go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 19:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/disable-a-widget-when-site-is-accessed-by-phone-or/m-p/853003#M11060</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-12-07T19:46:12Z</dc:date>
    </item>
  </channel>
</rss>

