<?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 4.x Sketch widget in a side panel? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-x-sketch-widget-in-a-side-panel/m-p/128903#M11929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3.x to 4.x migration pains- Can you place the sketch widget in a div located outside of the map? I'm developing an app which uses an AccordionPane to define a workflow and one step is to draw a graphic and I'd like to place the widget in one of the AccordionPanes. The Sketch widget sample uses "view.ui.add()" to place the sketch widget into the map but I don't see another way to specify where the widget is placed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2019 23:27:09 GMT</pubDate>
    <dc:creator>SteveCole</dc:creator>
    <dc:date>2019-07-18T23:27:09Z</dc:date>
    <item>
      <title>4.x Sketch widget in a side panel?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-x-sketch-widget-in-a-side-panel/m-p/128903#M11929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3.x to 4.x migration pains- Can you place the sketch widget in a div located outside of the map? I'm developing an app which uses an AccordionPane to define a workflow and one step is to draw a graphic and I'd like to place the widget in one of the AccordionPanes. The Sketch widget sample uses "view.ui.add()" to place the sketch widget into the map but I don't see another way to specify where the widget is placed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 23:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-x-sketch-widget-in-a-side-panel/m-p/128903#M11929</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2019-07-18T23:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: 4.x Sketch widget in a side panel?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-x-sketch-widget-in-a-side-panel/m-p/128904#M11930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the container property to put it into a div&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;const sketch = new Sketch({
  layer: layer,
  view: view,
  container: document.getElementById("myDiv")
});‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-x-sketch-widget-in-a-side-panel/m-p/128904#M11930</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T07:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: 4.x Sketch widget in a side panel?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-x-sketch-widget-in-a-side-panel/m-p/128905#M11931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thanks Ken.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 14:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-x-sketch-widget-in-a-side-panel/m-p/128905#M11931</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2019-07-19T14:55:45Z</dc:date>
    </item>
  </channel>
</rss>

