<?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 Custom Identify Widget DrawBox onActivate throws drawToolBar null in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1024302#M20288</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new to Web AppBuilder custom widget programming and I try to modify the advanced identify widget by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;&amp;nbsp;as a learning project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the DrawBox tool inside my widget to show up in the widget panel and I want to make the DrawBox point draw function active on panelOpen. But when I click on the point draw icon&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardReinicke1_0-1612782943945.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5462i1648C4B9E5811DA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardReinicke1_0-1612782943945.png" alt="RichardReinicke1_0-1612782943945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it fails in DrawBox.js on this.drawToolBar.activate(tool); with drawToolBar being null.&lt;/P&gt;&lt;P&gt;I'm attaching my current state. What am I doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2021 11:19:41 GMT</pubDate>
    <dc:creator>RichardReinicke</dc:creator>
    <dc:date>2021-02-08T11:19:41Z</dc:date>
    <item>
      <title>Custom Identify Widget DrawBox onActivate throws drawToolBar null</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1024302#M20288</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new to Web AppBuilder custom widget programming and I try to modify the advanced identify widget by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;&amp;nbsp;as a learning project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the DrawBox tool inside my widget to show up in the widget panel and I want to make the DrawBox point draw function active on panelOpen. But when I click on the point draw icon&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardReinicke1_0-1612782943945.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5462i1648C4B9E5811DA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardReinicke1_0-1612782943945.png" alt="RichardReinicke1_0-1612782943945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it fails in DrawBox.js on this.drawToolBar.activate(tool); with drawToolBar being null.&lt;/P&gt;&lt;P&gt;I'm attaching my current state. What am I doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 11:19:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1024302#M20288</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2021-02-08T11:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Identify Widget DrawBox onActivate throws drawToolBar null</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1025904#M20317</link>
      <description>&lt;P&gt;Please can someone have a look at my test widget &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; ? The whole widget is attached.&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 15:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1025904#M20317</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2021-02-11T15:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Identify Widget DrawBox onActivate throws drawToolBar null</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1025948#M20318</link>
      <description>&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your mistake is that you are decalring this.drawBox = new Drawbox. You can remove that line all together, since you have already declared that div to be a DrawBox in the html template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;      initDrawBox: function () {
	    //this.drawBox = new Drawbox;
        this.drawBox.setMap(this.map);
        this.drawBox.geoTypes = ['POINT'];
        this.drawBox._initTypes();
        this.drawBox.setPointSymbol(new SimpleMarkerSymbol(this.config.symbols.simplemarkersymbol));
        this.drawBox.deactivateAfterDrawing = false;
      },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 17:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1025948#M20318</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-02-11T17:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Identify Widget DrawBox onActivate throws drawToolBar null</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1026320#M20326</link>
      <description>&lt;P&gt;Thank you very much Robert. It's working as expected now.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 15:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-identify-widget-drawbox-onactivate-throws/m-p/1026320#M20326</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2021-02-12T15:54:52Z</dc:date>
    </item>
  </channel>
</rss>

