<?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 Initiate a behavior on application launch in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717000#M229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to realize how can I highlight a polygon or a point on a specific layer (just like the search widget does) as the application loads. I'm getting tangled with how it's best to do this.&lt;/P&gt;&lt;P&gt;My first thought was to inject the code somewhere in the js files after the map was loaded.&lt;/P&gt;&lt;P&gt;After a second thought I came up with the idea of adding a custom behavour inside a custom widget and just execute that widget on load.. So far I couldn't find the best spot where I know for certain the map and all of its content were fully loaded. Anyone ever done such thing before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 11:30:08 GMT</pubDate>
    <dc:creator>SvivaManager</dc:creator>
    <dc:date>2016-05-16T11:30:08Z</dc:date>
    <item>
      <title>Initiate a behavior on application launch</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717000#M229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to realize how can I highlight a polygon or a point on a specific layer (just like the search widget does) as the application loads. I'm getting tangled with how it's best to do this.&lt;/P&gt;&lt;P&gt;My first thought was to inject the code somewhere in the js files after the map was loaded.&lt;/P&gt;&lt;P&gt;After a second thought I came up with the idea of adding a custom behavour inside a custom widget and just execute that widget on load.. So far I couldn't find the best spot where I know for certain the map and all of its content were fully loaded. Anyone ever done such thing before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 11:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717000#M229</guid>
      <dc:creator>SvivaManager</dc:creator>
      <dc:date>2016-05-16T11:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Initiate a behavior on application launch</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717001#M230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is already built into WAB 2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm" title="http://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm"&gt;Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7" title="http://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7"&gt;Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS | Query Features&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 12:55:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717001#M230</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-16T12:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Initiate a behavior on application launch</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717002#M231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ugh! Thank you for pointing that out.. I'll read it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 13:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717002#M231</guid>
      <dc:creator>SvivaManager</dc:creator>
      <dc:date>2016-05-16T13:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Initiate a behavior on application launch</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717003#M232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that the built-in query in parameters works only for feature layers but most if not all of my layers are published as dynamic map services. Any thoughts on that issue? As I see it, I need to develope my own query ability&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 15:19:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717003#M232</guid>
      <dc:creator>SvivaManager</dc:creator>
      <dc:date>2016-05-16T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Initiate a behavior on application launch</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717004#M233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sviva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; background-color: #fefefe;"&gt;For a sublayer in a group of map services, use &lt;/SPAN&gt;&lt;SPAN class="usertext" style="font-family: 'Lucida Console', Monaco, monospace; color: #4d4d4d; font-size: 14px; background: none #fefefe;"&gt;&amp;lt;layer id_sublayer id&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px; background-color: #fefefe;"&gt; as the layer ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In the documentation it states querying a sub layer is supported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 15:57:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717004#M233</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-16T15:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Initiate a behavior on application launch</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717005#M234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK YOU! It took me quite a while to understand what you mean but I finally did &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Apparently my problem was using a map service with a complex name that contains too many special characters.&lt;/P&gt;&lt;P&gt;Those characters flunks the query. Solved by changing the name or using its special id name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 16:38:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/initiate-a-behavior-on-application-launch/m-p/717005#M234</guid>
      <dc:creator>SvivaManager</dc:creator>
      <dc:date>2016-05-16T16:38:29Z</dc:date>
    </item>
  </channel>
</rss>

