<?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: Dynamically add text to Header in WAB in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748901#M19619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; That should be it as long as you are adding a var for the require as well (line 10):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function(
&amp;nbsp;&amp;nbsp;&amp;nbsp; declare,
&amp;nbsp;&amp;nbsp;&amp;nbsp; lang,
&amp;nbsp;&amp;nbsp;&amp;nbsp; on,
&amp;nbsp;&amp;nbsp;&amp;nbsp; BaseWidget,
&amp;nbsp;&amp;nbsp;&amp;nbsp; busyUtil,
&amp;nbsp;&amp;nbsp;&amp;nbsp; utils,
&amp;nbsp;&amp;nbsp;&amp;nbsp; registry,
&amp;nbsp;&amp;nbsp;&amp;nbsp; domStyle,
&amp;nbsp;&amp;nbsp;&amp;nbsp; query) {&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:49:53 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-12T07:49:53Z</dc:date>
    <item>
      <title>Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748895#M19613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may not be using the correct term but what I would like to do is to add some text to the title bar or header are in WAB application based on the selection made in another widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I add some text dynamically to the title bar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 00:32:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748895#M19613</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2015-12-20T00:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748896#M19614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Are you talking about the Header controller widget in the foldable theme?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/158442_example.jpg" style="width: 620px; height: 90px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 04:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748896#M19614</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-20T04:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748897#M19615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Robert,&amp;nbsp; that is what I was looking to do.&amp;nbsp;&amp;nbsp;&amp;nbsp; Add some text dynamically to the Header Controller Widget below.&amp;nbsp;&amp;nbsp;&amp;nbsp; I would like to add something at the end of 'Hydrant Maintenance Program'.&amp;nbsp;&amp;nbsp;&amp;nbsp; It looks like this is the Title which is set in the config.json file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/160418_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 16:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748897#M19615</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2015-12-24T16:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748898#M19616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The simplest way would be to manipulate the dom element directly:&lt;/P&gt;&lt;P&gt;Require: 'dojo/query'&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var appTitleNode = query('.jimu-title.jimu-float-leading')[0];
var appTitle = appTitleNode.innerHTML;
appTitleNode.innerHTML = appTitle + " my added string";&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748898#M19616</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T07:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748899#M19617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&amp;nbsp; this is perfect!&amp;nbsp;&amp;nbsp; Thanks for all your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 20:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748899#M19617</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2015-12-24T20:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748900#M19618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, I added 'dojo/query' to the end of this list which is at the beginning of a widgets Widget.js file (In your map progress widget). Is that all I need to do to "require" dojo/query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;define([
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/_base/declare',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/_base/lang',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/on',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'jimu/BaseWidget',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'esri/dijit/util/busyIndicator',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'jimu/utils',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dijit/registry',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/dom-style',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/query'
&amp;nbsp; ],&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748900#M19618</guid>
      <dc:creator>DanNorman</dc:creator>
      <dc:date>2021-12-12T07:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748901#M19619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; That should be it as long as you are adding a var for the require as well (line 10):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function(
&amp;nbsp;&amp;nbsp;&amp;nbsp; declare,
&amp;nbsp;&amp;nbsp;&amp;nbsp; lang,
&amp;nbsp;&amp;nbsp;&amp;nbsp; on,
&amp;nbsp;&amp;nbsp;&amp;nbsp; BaseWidget,
&amp;nbsp;&amp;nbsp;&amp;nbsp; busyUtil,
&amp;nbsp;&amp;nbsp;&amp;nbsp; utils,
&amp;nbsp;&amp;nbsp;&amp;nbsp; registry,
&amp;nbsp;&amp;nbsp;&amp;nbsp; domStyle,
&amp;nbsp;&amp;nbsp;&amp;nbsp; query) {&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:49:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748901#M19619</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T07:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add text to Header in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748902#M19620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Robert that's what I missed and now it works thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 17:44:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamically-add-text-to-header-in-wab/m-p/748902#M19620</guid>
      <dc:creator>DanNorman</dc:creator>
      <dc:date>2016-01-19T17:44:48Z</dc:date>
    </item>
  </channel>
</rss>

