<?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: Display Field Expression in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505625#M2428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/people/billfox"&gt;billfox&lt;/A&gt;‌. Do you know if this update made it into 10.5?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 16:29:29 GMT</pubDate>
    <dc:creator>PascualBenito</dc:creator>
    <dc:date>2017-06-28T16:29:29Z</dc:date>
    <item>
      <title>Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505617#M2420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have added a expression "Some String: " &amp;amp; [COUNTYNAME] to a layer in mxd. I have published this mxd as a service and when I see the REST end point for this service, the "Display Field" shows "COUNTYNAME" and not the expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can make the REST to display the expression?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI: I have restarted the services and cleared the REST cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sandeep&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 15:52:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505617#M2420</guid>
      <dc:creator>SandeepKapadia</dc:creator>
      <dc:date>2011-11-16T15:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505618#M2421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;REST API does not support Display Expression.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 16:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505618#M2421</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2011-11-16T16:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505619#M2422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Then where does it get the field name "COUNTYNAME" from?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 16:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505619#M2422</guid>
      <dc:creator>SandeepKapadia</dc:creator>
      <dc:date>2011-11-16T16:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505620#M2423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sandeep,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see this help topic on how a display field name is chosen. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Setting_field_properties,_aliases,_and_table_display_options"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Setting_field_properties,_aliases,_and_table_display_options&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The primary display field defaults to the first field of string type that contains the text "name" (case insensitive) in the field name. If no "name" field exists, the primary display field defaults to the first field of string type, then the first field of integer type, then the first field of any type. You can change the primary display field from the Fields tab of the Layer or Table Properties dialog box&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a similar help topic for a recent version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s00000042000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s00000042000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 14:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505620#M2423</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-11-17T14:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505621#M2424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Even without an expression, just setting the field name in the 'display expression' isn't picked up either. I did find that the 'value' was based upon the selected field. Seems strange&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hadn't cleared my REST cache &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://denverdemo.esri.com/ArcGIS/SDK/REST/admin.html"&gt;http://denverdemo.esri.com/ArcGIS/SDK/REST/admin.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 12:38:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505621#M2424</guid>
      <dc:creator>DavidWilton</dc:creator>
      <dc:date>2011-11-22T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505622#M2425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&amp;nbsp; Glad you were able to identify the cause. In the upcoming 10.1 version, the REST cache will be automatically managed each time a service is updated, so this will not be an issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 13:15:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505622#M2425</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-11-22T13:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505623#M2426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to clarify: when MapService sees a DisplayExpression, it uses the first field name used in that DisplayExpression. In your cases, your display expression ("Some String: " &amp;amp; [COUNTYNAME]) contains [COUNTYNAME] that's where [COUNTYNAME] is coming from...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry about the late response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 16:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505623#M2426</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2011-11-28T16:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505624#M2427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: 'times new roman', times;"&gt;As of v10.4 this issue is "In Product Plan" &lt;SPAN style="color: #676767;"&gt;The Esri Development team has plans to address this issue or request in a future release of the software.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: 'times new roman', times;"&gt;[NIM072888: Published map service does not respect the display expression applied to the layer]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 23:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505624#M2427</guid>
      <dc:creator>BillFox</dc:creator>
      <dc:date>2016-05-23T23:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505625#M2428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/people/billfox"&gt;billfox&lt;/A&gt;‌. Do you know if this update made it into 10.5?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 16:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505625#M2428</guid>
      <dc:creator>PascualBenito</dc:creator>
      <dc:date>2017-06-28T16:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display Field Expression</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505626#M2429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any link for this enhancement&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;NIM072888 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I can't find it anywhere so I can't follow its status.&lt;/P&gt;&lt;P&gt;Is there any update (10.5, 10.6 ...) ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 12:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/display-field-expression/m-p/505626#M2429</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2017-10-31T12:52:21Z</dc:date>
    </item>
  </channel>
</rss>

