<?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 WAB 2.17 - Add 2nd programmable search widget in Launchpad Theme Header in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-2-17-add-2nd-programmable-search-widget-in/m-p/1018637#M14358</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I'm developing custom widgets for WAB&amp;nbsp;(Develper Edtion) 2.17, Launchpad Theme, on&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;3D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Scenes (ArcGIS API for javascript&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;4.17&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;), on our compamy portal (version 10.7.1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I still consider myself a newbie...&lt;/P&gt;&lt;P&gt;In my work I need to add an additional independent search functionality, which will use the API of some official map searching API service, and goto in the scene, to the returned x,y coorinastes.&lt;/P&gt;&lt;P&gt;So I need to create a custom "Search2" widget. I need it to look similar to WAB's "Search" widget, but I need to throw most of its logic and css, since I won't use esri's Search widget blackbox logic. I need to have an access to the textbox and to the search button (and the textbox ReturnKEY event callback) since I need to do "my" independent search logic which addresses a specific service API).&lt;/P&gt;&lt;P&gt;We use Launchpad scheme.&lt;/P&gt;&lt;P&gt;File&amp;nbsp;themes\LaunchpadTheme\widgets\Header\Widget.js is WAB's oval "Header" widget which wraps within it the esri's Search widget "blackbox" (oval, white background) . screenshot attached.&lt;/P&gt;&lt;P&gt;I want the "Header" widget to include also "my" Search2 widget at its rightside.&lt;/P&gt;&lt;P&gt;I will appreciate help in the areas of: css code, Header widget logic.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Header Widget containing Search widget" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4232i6E1A685DB70A5165/image-size/large?v=v2&amp;amp;px=999" role="button" title="Header Widget.PNG" alt="Header Widget containing Search widget" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Header Widget containing Search widget&lt;/span&gt;&lt;/span&gt;button.&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 11:32:55 GMT</pubDate>
    <dc:creator>MichaelLev</dc:creator>
    <dc:date>2021-01-21T11:32:55Z</dc:date>
    <item>
      <title>WAB 2.17 - Add 2nd programmable search widget in Launchpad Theme Header</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-2-17-add-2nd-programmable-search-widget-in/m-p/1018637#M14358</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm developing custom widgets for WAB&amp;nbsp;(Develper Edtion) 2.17, Launchpad Theme, on&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;3D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Scenes (ArcGIS API for javascript&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;4.17&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;), on our compamy portal (version 10.7.1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I still consider myself a newbie...&lt;/P&gt;&lt;P&gt;In my work I need to add an additional independent search functionality, which will use the API of some official map searching API service, and goto in the scene, to the returned x,y coorinastes.&lt;/P&gt;&lt;P&gt;So I need to create a custom "Search2" widget. I need it to look similar to WAB's "Search" widget, but I need to throw most of its logic and css, since I won't use esri's Search widget blackbox logic. I need to have an access to the textbox and to the search button (and the textbox ReturnKEY event callback) since I need to do "my" independent search logic which addresses a specific service API).&lt;/P&gt;&lt;P&gt;We use Launchpad scheme.&lt;/P&gt;&lt;P&gt;File&amp;nbsp;themes\LaunchpadTheme\widgets\Header\Widget.js is WAB's oval "Header" widget which wraps within it the esri's Search widget "blackbox" (oval, white background) . screenshot attached.&lt;/P&gt;&lt;P&gt;I want the "Header" widget to include also "my" Search2 widget at its rightside.&lt;/P&gt;&lt;P&gt;I will appreciate help in the areas of: css code, Header widget logic.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Header Widget containing Search widget" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4232i6E1A685DB70A5165/image-size/large?v=v2&amp;amp;px=999" role="button" title="Header Widget.PNG" alt="Header Widget containing Search widget" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Header Widget containing Search widget&lt;/span&gt;&lt;/span&gt;button.&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 11:32:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-2-17-add-2nd-programmable-search-widget-in/m-p/1018637#M14358</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2021-01-21T11:32:55Z</dc:date>
    </item>
  </channel>
</rss>

