<?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 popupInfo: Concatenate a value to the fieldName? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popupinfo-concatenate-a-value-to-the-fieldname/m-p/248253#M22988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When configuring popupInfo, you provide "fieldName" and "label."&amp;nbsp; I'd like to be able to concatenate a string to the value returned by "fieldName" and have that displayed in the popup rather than just the "fieldName" value.&amp;nbsp; Is there any way to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 22:03:51 GMT</pubDate>
    <dc:creator>NewUser</dc:creator>
    <dc:date>2013-04-17T22:03:51Z</dc:date>
    <item>
      <title>popupInfo: Concatenate a value to the fieldName?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popupinfo-concatenate-a-value-to-the-fieldname/m-p/248253#M22988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When configuring popupInfo, you provide "fieldName" and "label."&amp;nbsp; I'd like to be able to concatenate a string to the value returned by "fieldName" and have that displayed in the popup rather than just the "fieldName" value.&amp;nbsp; Is there any way to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 22:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popupinfo-concatenate-a-value-to-the-fieldname/m-p/248253#M22988</guid>
      <dc:creator>NewUser</dc:creator>
      <dc:date>2013-04-17T22:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: popupInfo: Concatenate a value to the fieldName?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popupinfo-concatenate-a-value-to-the-fieldname/m-p/248254#M22989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, use a label in fieldInfos as shown here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jssamples/widget_popupfl.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://developers.arcgis.com/en/javascript/jssamples/widget_popupfl.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var popupTemplate = new esri.dijit.PopupTemplate({
&amp;nbsp; title: "{address}",
&amp;nbsp; fieldInfos: [
&amp;nbsp;&amp;nbsp;&amp;nbsp; {fieldName: "req_type", visible: true, label:"req_type and extra text"},
&amp;nbsp;&amp;nbsp;&amp;nbsp; {fieldName: "req_date", visible:true, label:"Date" ,format:{dateFormat:'shortDateShortTime'}}
&amp;nbsp; ]
});
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popupinfo-concatenate-a-value-to-the-fieldname/m-p/248254#M22989</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2021-12-11T12:21:31Z</dc:date>
    </item>
  </channel>
</rss>

