<?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 Extend an existing widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1103610#M21403</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I create a widget to find an adress with french ign service geocoder.&lt;/P&gt;&lt;P&gt;It help to write a correct adress or, from a click, it give the adress.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_0-1633019268217.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24277i229A3F37DB125165/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_0-1633019268217.png" alt="GuillaumeArnaud_0-1633019268217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to use it to find what is near on different app with some specific information. I hope not cut and paste the simple widget and add specific stuff but i would like to add it in a place and get its result. I try to do it in dojo but it didn't work :&lt;/P&gt;&lt;P&gt;widget.js&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;define([&lt;BR /&gt;'dijit/_WidgetsInTemplateMixin', 'dijit/_AttachMixin','jimu/BaseWidget','../CD82_IGNRechercheAdresse/Widget'&lt;BR /&gt;'../'&lt;BR /&gt;], function (&lt;BR /&gt;_WidgetsInTemplateMixin, _AttachMixin, BaseWidget, CD82_IGNRechercheAdresse&lt;BR /&gt;&lt;BR /&gt;) {&lt;BR /&gt;return declare([BaseWidget, _WidgetsInTemplateMixin, _AttachMixin], {&lt;BR /&gt;//Création&lt;BR /&gt;postCreate: function () {&lt;BR /&gt;//Récupère les paramètres du formulaire&lt;BR /&gt;this.inherited(arguments);&lt;BR /&gt;},&lt;BR /&gt;//Démarrage&lt;BR /&gt;startup: function () {&lt;BR /&gt;let w = new CD82_IGNRechercheAdresse();&lt;BR /&gt;w.placeAt(this.placeRecherche)&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;widget.html&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;lt;div&amp;gt;&lt;BR /&gt;&amp;lt;div data-dojo-attach-point="placeRecherche"&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div data-dojo-attach-point="SpecificZone"&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How can I do this ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2021 16:33:44 GMT</pubDate>
    <dc:creator>GuillaumeArnaud</dc:creator>
    <dc:date>2021-09-30T16:33:44Z</dc:date>
    <item>
      <title>Extend an existing widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1103610#M21403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I create a widget to find an adress with french ign service geocoder.&lt;/P&gt;&lt;P&gt;It help to write a correct adress or, from a click, it give the adress.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_0-1633019268217.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24277i229A3F37DB125165/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_0-1633019268217.png" alt="GuillaumeArnaud_0-1633019268217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to use it to find what is near on different app with some specific information. I hope not cut and paste the simple widget and add specific stuff but i would like to add it in a place and get its result. I try to do it in dojo but it didn't work :&lt;/P&gt;&lt;P&gt;widget.js&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;define([&lt;BR /&gt;'dijit/_WidgetsInTemplateMixin', 'dijit/_AttachMixin','jimu/BaseWidget','../CD82_IGNRechercheAdresse/Widget'&lt;BR /&gt;'../'&lt;BR /&gt;], function (&lt;BR /&gt;_WidgetsInTemplateMixin, _AttachMixin, BaseWidget, CD82_IGNRechercheAdresse&lt;BR /&gt;&lt;BR /&gt;) {&lt;BR /&gt;return declare([BaseWidget, _WidgetsInTemplateMixin, _AttachMixin], {&lt;BR /&gt;//Création&lt;BR /&gt;postCreate: function () {&lt;BR /&gt;//Récupère les paramètres du formulaire&lt;BR /&gt;this.inherited(arguments);&lt;BR /&gt;},&lt;BR /&gt;//Démarrage&lt;BR /&gt;startup: function () {&lt;BR /&gt;let w = new CD82_IGNRechercheAdresse();&lt;BR /&gt;w.placeAt(this.placeRecherche)&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;widget.html&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;lt;div&amp;gt;&lt;BR /&gt;&amp;lt;div data-dojo-attach-point="placeRecherche"&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div data-dojo-attach-point="SpecificZone"&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How can I do this ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 16:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1103610#M21403</guid>
      <dc:creator>GuillaumeArnaud</dc:creator>
      <dc:date>2021-09-30T16:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extend an existing widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118144#M21604</link>
      <description>&lt;P&gt;Hey! Did you manage to complete the task?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 13:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118144#M21604</guid>
      <dc:creator>YauhenZaruba</dc:creator>
      <dc:date>2021-11-18T13:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extend an existing widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118163#M21605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes. I put all basics functions in jimu.js in a personnal folder. I must copy it every time I update wab :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_0-1637244715271.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27766iD931957A343E5780/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_0-1637244715271.png" alt="GuillaumeArnaud_0-1637244715271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I call it in the specifics widget like this :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_1-1637244862017.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27767iAF1A0DF07742DF3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_1-1637244862017.png" alt="GuillaumeArnaud_1-1637244862017.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_2-1637244916426.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27768i297A972A6589034C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_2-1637244916426.png" alt="GuillaumeArnaud_2-1637244916426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For the specific content of the feature, I put a widget in a subfolder to display the information :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_3-1637245235373.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27769i39847F2D4E0B9722/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_3-1637245235373.png" alt="GuillaumeArnaud_3-1637245235373.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I specify it in config and I load it with require in widget :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_4-1637245286499.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27770i0379A7DB05A2B593/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_4-1637245286499.png" alt="GuillaumeArnaud_4-1637245286499.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see the app here : &lt;A href="https://lacarto.ledepartement82.fr/FranceServices/" target="_blank"&gt;https://lacarto.ledepartement82.fr/FranceServices/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuillaumeArnaud_5-1637245490562.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27771iF94793C13BFD28DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuillaumeArnaud_5-1637245490562.png" alt="GuillaumeArnaud_5-1637245490562.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Search (right) is the first widget.&lt;/P&gt;&lt;P&gt;SidePanel is the second widget.&lt;/P&gt;&lt;P&gt;Red is in jimu.js/personnalfolder.&lt;/P&gt;&lt;P&gt;Blue is in the subfolder to display the information.&lt;/P&gt;&lt;P&gt;Yellow is also in another subfolder but works with attributes.&lt;/P&gt;&lt;P&gt;Great.&lt;/P&gt;&lt;P&gt;Guillaume.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 14:28:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118163#M21605</guid>
      <dc:creator>GuillaumeArnaud</dc:creator>
      <dc:date>2021-11-18T14:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extend an existing widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118557#M21611</link>
      <description>&lt;P&gt;I look at the site, it turned out very cool !!! Can I borrow your code through devtools?&lt;/P&gt;&lt;P&gt;I just can't make a request to a third-party geocoder.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 05:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118557#M21611</guid>
      <dc:creator>YauhenZaruba</dc:creator>
      <dc:date>2021-11-19T05:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extend an existing widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118568#M21612</link>
      <description>&lt;P&gt;Yes if you want. I use this geocodeur in the widget : &lt;A href="https://geoservices.ign.fr/" target="_blank"&gt;https://geoservices.ign.fr/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 07:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-an-existing-widget/m-p/1118568#M21612</guid>
      <dc:creator>GuillaumeArnaud</dc:creator>
      <dc:date>2021-11-19T07:58:51Z</dc:date>
    </item>
  </channel>
</rss>

