<?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: Template Picker: labels of the templates in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468159#M43405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on Esri's feature service here: &lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0"&gt;Layer: Wildfire Response Points (ID: 0)&lt;/A&gt;&amp;nbsp; It looks like you may need to set the labels for the unique values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2015 20:09:01 GMT</pubDate>
    <dc:creator>ChrisSergent</dc:creator>
    <dc:date>2015-06-22T20:09:01Z</dc:date>
    <item>
      <title>Template Picker: labels of the templates</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468158#M43404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have questions about the label of the templates of the Template Picker. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, this is the templates and the labels after the Template Picker widget is started up. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/112428_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the cartography design of the corresponding layer in the MXD is like the following. In the MXD, the label of the symbol is different from the label of the template picker. See the red-boxed items.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/112427_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt; Actually, the symbology of the MXD is based on the field of "Status", which include five different value: Retired, Temporary, Pending, Other, and Current.&lt;/P&gt;&lt;P&gt;Actually, the symbology of the MXD is based on the field of "Status", which include five different value: Retired, Temporary, Pending, Other, and Current.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one guess: since the template picker is based on the feature layer, &lt;STRONG&gt;the label of the template is not based on the symbol label of the MXD file but based on the actual value of the designed field&lt;/STRONG&gt;. Is this guess right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My template picker is based on feature layer. How can I customize the template label instead of using the actual field values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 14:03:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468158#M43404</guid>
      <dc:creator>xiannianchen</dc:creator>
      <dc:date>2015-06-22T14:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Template Picker: labels of the templates</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468159#M43405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on Esri's feature service here: &lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0"&gt;Layer: Wildfire Response Points (ID: 0)&lt;/A&gt;&amp;nbsp; It looks like you may need to set the labels for the unique values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 20:09:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468159#M43405</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-06-22T20:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Template Picker: labels of the templates</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468160#M43406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever figure this out?&amp;nbsp; Having the same problem.&amp;nbsp; Initially my template picker was picking up the label instead of the value as seen in the mxd Symbology tab.&amp;nbsp; Unfortunately after trying to publish one time the service publication process crashed.&amp;nbsp; I had to delete the service, rename the mxd, and republish and now the app is using the Value instead of the Label even though I have not changed the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 16:40:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468160#M43406</guid>
      <dc:creator>ShaunFontanella2</dc:creator>
      <dc:date>2017-12-20T16:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Template Picker: labels of the templates</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468161#M43407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured this out for my case.&amp;nbsp; The feature service builds the new feature templates in the template picker based on the editing templates (In and editing session) in the map document.&amp;nbsp; If you create a map document and publish a service without starting an editing session then there are no defined feature templates.&amp;nbsp; The publishing service will create these templates for you when you publish.&amp;nbsp; If the publishing process crashes, the templates do not get created but the services thinks that they are there.&amp;nbsp; It will use the default symbology and labels in the template picker.&amp;nbsp; No matter what you put in your JS code it will not work.&amp;nbsp; Trying to publish over the top of it does not work.&amp;nbsp; If you have problems consistently publishing without crashing, start an editing session before you publish to the server to explicitly define the feature templates and all will be good even if the publishing crashes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:47:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/template-picker-labels-of-the-templates/m-p/468161#M43407</guid>
      <dc:creator>ShaunFontanella2</dc:creator>
      <dc:date>2018-02-13T19:47:53Z</dc:date>
    </item>
  </channel>
</rss>

