<?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: WAB - Measure Widget - Line selected on load in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858888#M11657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not seeing this behavior.&amp;nbsp; What theme are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 16:49:33 GMT</pubDate>
    <dc:creator>TomSellsted</dc:creator>
    <dc:date>2016-05-25T16:49:33Z</dc:date>
    <item>
      <title>WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858882#M11651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the Measure Widget. I want the line tool selected when the widget is started. That way a user can start measuring directly without extra clicks. &lt;A href="https://community.esri.com/migrated-users/5472"&gt;Tom Sellsted&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any code that I can change to do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-3209"&gt;Measure Widget 1.3.1 for Web App Builder&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/201844_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 22:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858882#M11651</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-05-23T22:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858883#M11652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure I have an easy answer for this.&amp;nbsp; I will investigate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 15:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858883#M11652</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-24T15:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858884#M11653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&amp;nbsp; In the measure/widget.js you just need to add a single line of code in the postCreate function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.drawBox.activate("LINE");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 15:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858884#M11653</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-24T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858885#M11654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom, &lt;/P&gt;&lt;P&gt;This is perfect!!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one more request. For some reason, it does not include the text now. Is there another line I can add or change? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/202025_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/202026_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 15:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858885#M11654</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-05-25T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858886#M11655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this in WAB 2.0?&amp;nbsp; Which browser are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:25:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858886#M11655</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-25T16:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858887#M11656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes this is WAB 2.0. This happens in both chrome and Firefox. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858887#M11656</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-05-25T16:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858888#M11657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not seeing this behavior.&amp;nbsp; What theme are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:49:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858888#M11657</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-25T16:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858889#M11658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Launchpad theme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its only the first line I draw that does not have the length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have now tried it with Billboard theme and I am still getting the same issue. &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858889#M11658</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-05-25T16:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858890#M11659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please try moving the line of code that I provided to the last line in the postCreate function?&amp;nbsp; I was able to replicate the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 17:33:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858890#M11659</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-25T17:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858891#M11660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it! Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 17:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858891#M11660</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-05-25T17:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: WAB - Measure Widget - Line selected on load</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858892#M11661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!&amp;nbsp; Glad it is working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 18:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-measure-widget-line-selected-on-load/m-p/858892#M11661</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-25T18:10:23Z</dc:date>
    </item>
  </channel>
</rss>

