<?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 Re: Web Application Builder custom code in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25660#M656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert, that has totally worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 12:02:44 GMT</pubDate>
    <dc:creator>BenedekSimó</dc:creator>
    <dc:date>2015-11-12T12:02:44Z</dc:date>
    <item>
      <title>Web Application Builder custom code</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25658#M654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Where should one put some custom javascript code in the application that the WAB generates?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I would like to change the tooltip text during drawing. It would be something like this: &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;esri.bundle.toolbars.draw.resume = &lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;"New text here"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 12:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25658#M654</guid>
      <dc:creator>BenedekSimó</dc:creator>
      <dc:date>2015-11-10T12:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Web Application Builder custom code</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25659#M655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benedek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can put his in the MapManager.js constructor function. First you would have to add the esriBundle require to the require list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'dojo/i18n!esri/nls/jsapi', and the associated var of esriBundle (hopefully you are familiar with AMD programming and the need for requires and their vars to line up).&lt;/P&gt;&lt;P&gt;Then put this line in the constructor function:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14471660206726120" data-renderedposition="155_8_912_16" jivemacro_uid="_14471660206726120"&gt;&lt;P&gt;esriBundle.toolbars.draw.resume = "New text here";&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 14:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25659#M655</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-10T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Web Application Builder custom code</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25660#M656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert, that has totally worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 12:02:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25660#M656</guid>
      <dc:creator>BenedekSimó</dc:creator>
      <dc:date>2015-11-12T12:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Web Application Builder custom code</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25661#M657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And one more quick question: If I would like my app to be bilingual, is there a way to update these strings according to the language? I guess a quick and dirty solution would be an if else statement, based on the navigator.language...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 13:22:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25661#M657</guid>
      <dc:creator>BenedekSimó</dc:creator>
      <dc:date>2015-11-12T13:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Web Application Builder custom code</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25662#M658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benedek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have never been able to get WAB to display in a different language. There is a gentleman in esri France that helped me add the "fr" locale to the widget and he has the widget working in french. It must be more of an OS thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 14:30:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-application-builder-custom-code/m-p/25662#M658</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-12T14:30:56Z</dc:date>
    </item>
  </channel>
</rss>

