<?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 JSAPI Search Widget in Custom ExBuilder Widget in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1005580#M1302</link>
    <description>&lt;P&gt;I used the Esri sample widgets 'editor' and 'js-api-widget' as starting points to create a simple custom Search widget. It simply embeds the JSAPI Search widget in the ExB widget (the code is attached for v 1.1). I got a reasonable result except for one thing. The dropdown list of search candidates does not overflow the parent div (class="widget-content"). This is demonstrated in the picture below where the ExBuilder widget has a red outline - the 3rd address candidate in the dropdown list is cut off.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 332px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1187iC6E6CAE48391B143/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This is a problem when this custom widget is placed above a map. Either it has to be placed way above the map to leave room for the dropdown, or it has to be placed partly in front of the map. The problem with having part of the widget in front of the map is that it prevents that part of the map from being clicked on.&lt;/P&gt;&lt;P&gt;The code is attached. Can anyone tell me if there is a solution for this?&lt;/P&gt;&lt;P&gt;Another thing I ran into was a problem migrating it to ExB 1.2. The arrow keys work to navigate the dropdown list of search candidates in 1.1 but not in 1.2. With 1.2 I get an error on InputKeyup:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 529px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1188iE838E502E0D5DAA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And here is a link to the ArcGIS Idea for a Search widget in ExBuilder in case you want to vote it up:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-ideas/search-widget-for-experience-builder/idi-p/931318" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-experience-builder-ideas/search-widget-for-experience-builder/idi-p/931318&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2020 17:41:10 GMT</pubDate>
    <dc:creator>DaveFullerton</dc:creator>
    <dc:date>2020-11-30T17:41:10Z</dc:date>
    <item>
      <title>JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1005580#M1302</link>
      <description>&lt;P&gt;I used the Esri sample widgets 'editor' and 'js-api-widget' as starting points to create a simple custom Search widget. It simply embeds the JSAPI Search widget in the ExB widget (the code is attached for v 1.1). I got a reasonable result except for one thing. The dropdown list of search candidates does not overflow the parent div (class="widget-content"). This is demonstrated in the picture below where the ExBuilder widget has a red outline - the 3rd address candidate in the dropdown list is cut off.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 332px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1187iC6E6CAE48391B143/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This is a problem when this custom widget is placed above a map. Either it has to be placed way above the map to leave room for the dropdown, or it has to be placed partly in front of the map. The problem with having part of the widget in front of the map is that it prevents that part of the map from being clicked on.&lt;/P&gt;&lt;P&gt;The code is attached. Can anyone tell me if there is a solution for this?&lt;/P&gt;&lt;P&gt;Another thing I ran into was a problem migrating it to ExB 1.2. The arrow keys work to navigate the dropdown list of search candidates in 1.1 but not in 1.2. With 1.2 I get an error on InputKeyup:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 529px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1188iE838E502E0D5DAA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And here is a link to the ArcGIS Idea for a Search widget in ExBuilder in case you want to vote it up:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-ideas/search-widget-for-experience-builder/idi-p/931318" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-experience-builder-ideas/search-widget-for-experience-builder/idi-p/931318&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 17:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1005580#M1302</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2020-11-30T17:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1007906#M1312</link>
      <description>&lt;P&gt;Kudos&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 22:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1007906#M1312</guid>
      <dc:creator>MarkSteger</dc:creator>
      <dc:date>2020-12-08T22:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1007907#M1313</link>
      <description>&lt;P&gt;Kudos Brah!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 22:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1007907#M1313</guid>
      <dc:creator>MarkSteger</dc:creator>
      <dc:date>2020-12-08T22:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1007941#M1314</link>
      <description>&lt;P&gt;Hi Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I experienced the same issue, I have put in some listeners to change the size of the widget to allow the dropdowns and and the suggestions to display properly. Its seems to work ok, i have also pushed my search source out in to a seperate file. See the attached and what it looks like in a map below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Grant-S-Carroll_0-1607476271310.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1733iD6337B088D76FD9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Grant-S-Carroll_0-1607476271310.png" alt="Grant-S-Carroll_0-1607476271310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 01:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1007941#M1314</guid>
      <dc:creator>Grant-S-Carroll</dc:creator>
      <dc:date>2020-12-09T01:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1008191#M1315</link>
      <description>&lt;P&gt;Thanks, Grant.&amp;nbsp; I tried unzipping the folder in my "your-extensions" folder.&amp;nbsp; In VS Code I am seeing a few error warnings.&amp;nbsp; I encountered 1 less in ExB 1.2, but manifest.json says exbVersion 1.1.&amp;nbsp; Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 312px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1799i568EB29C86F657A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Line 477&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 982px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1800i34D17A9BEB3357F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Line 519&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1803i02BCF9B507F98132/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Line 536&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 983px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1804i1AB8F673CE9E742D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 18:56:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1008191#M1315</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2020-12-09T18:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1008213#M1316</link>
      <description>&lt;P&gt;Hi Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok a couple of things, in your folder structure, it looks like the search has been nested under YourExtensions\search\localmaps-search it will need to be YoruExtensions\localmaps-search.&lt;/P&gt;&lt;P&gt;I was also using a custom search source in that example, so hence why there are is the extra search source I am creating. The important parts for what you are trying to achieve are the highlighted lines below. There are the listeners which will get triggered to grow the size of the widget to show all the suggestions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Grant-S-Carroll_1-1607541979146.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1812iE397606CC1AED855/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Grant-S-Carroll_1-1607541979146.png" alt="Grant-S-Carroll_1-1607541979146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which refers to these methods.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Grant-S-Carroll_2-1607542005578.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1813i21970D675A2E0491/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Grant-S-Carroll_2-1607542005578.png" alt="Grant-S-Carroll_2-1607542005578.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have update the code I gave you to remove some of the extra bits that I was doing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 19:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1008213#M1316</guid>
      <dc:creator>Grant-S-Carroll</dc:creator>
      <dc:date>2020-12-09T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1008299#M1317</link>
      <description>&lt;P&gt;Thanks, Grant.&amp;nbsp; I had tried the folder structure both ways before with the same result.&amp;nbsp; This version is better, but I still get one error in ExB v1.2 (two errors in v.1.1).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 339px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1837i7FAF0A5B41B2A363/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 975px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1836i8A9144E0C8AE257D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Everything is green in the console, so all is good there.&amp;nbsp; I just can't find anything on&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;_sourceMenuButtonNode.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Are you using VS Code?&amp;nbsp; Which version of ExB?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 03:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1008299#M1317</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2020-12-11T03:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1009153#M1319</link>
      <description>&lt;P&gt;Hi Dave, the _sourceMenuButtonNode is a private property on the Search Widget, when you are debugging, you can inspect the properties of the SearchWidget and find it. This is the dropdown button which lets you select which search source you want to use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the error preventing webpack from packing the .tsx files? I'm using Visual Studio 2019, I get the same warning, but it does not prevent the files from compiling. I am also using ExB 1.2, however, i built this widget in 1.1.&lt;/P&gt;&lt;P&gt;If you are not concerned with letting people chose a search source, then you can remove the code related to the search source drop down.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 17:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1009153#M1319</guid>
      <dc:creator>Grant-S-Carroll</dc:creator>
      <dc:date>2020-12-13T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1009652#M1324</link>
      <description>&lt;P&gt;Thanks, Grant.&amp;nbsp; I have seen no errors from webpack.&amp;nbsp; There was an error in Chrome's developer tools, and I was looking for the _sourceMenuButtonNode but couldn't find it.&amp;nbsp; It turns out that when there is only one source, there is no dropdown button for selecting which source you want to use.&amp;nbsp; I added a second source and it now works without errors.&lt;/P&gt;&lt;P&gt;Could you confirm that your local-search&amp;nbsp;widget only works when it is on (or actually in) a map widget?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 05:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1009652#M1324</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2020-12-15T05:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1010684#M1333</link>
      <description>&lt;P&gt;HI Dave,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've not had time to test if it works outside a map, my use case was to mimic the kind of thing we see in Web AppBuilder with the search widget. So the purpose for it was to exist within a map only. If it was operating outside of a map, then what ever it was put in to, would have to have a space for the suggestions dropdown to expand in to, it may get hidden otherwise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 17:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1010684#M1333</guid>
      <dc:creator>Grant-S-Carroll</dc:creator>
      <dc:date>2020-12-17T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Search Widget in Custom ExBuilder Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1010716#M1334</link>
      <description>&lt;P&gt;Good to know.&amp;nbsp; I didn't want to try to make that work if you had already found it couldn't be done.&amp;nbsp; It may be some time before I can look into it.&amp;nbsp; Thanks for answering all of my questions.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 18:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/jsapi-search-widget-in-custom-exbuilder-widget/m-p/1010716#M1334</guid>
      <dc:creator>DaveFullerton1</dc:creator>
      <dc:date>2020-12-17T18:23:32Z</dc:date>
    </item>
  </channel>
</rss>

