<?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: FeatureLayer.AddLabelClass ignores passed class name in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847619#M4137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max&lt;/P&gt;&lt;P&gt;I couldn't reproduce this problem. I was able to add a new Label Class using this method. The Label Class has the name passed to the&amp;nbsp;AddLabelClass method.&amp;nbsp; Can you please share a code snippet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2019 14:05:25 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2019-06-06T14:05:25Z</dc:date>
    <item>
      <title>FeatureLayer.AddLabelClass ignores passed class name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847618#M4136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FeatureLayer.AddLabelClass&lt;/SPAN&gt; always adds label class with &lt;STRONG&gt;Class 1&lt;/STRONG&gt; name ignoring the name passed to the method. Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 10:34:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847618#M4136</guid>
      <dc:creator>MaxMax2</dc:creator>
      <dc:date>2019-06-06T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.AddLabelClass ignores passed class name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847619#M4137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max&lt;/P&gt;&lt;P&gt;I couldn't reproduce this problem. I was able to add a new Label Class using this method. The Label Class has the name passed to the&amp;nbsp;AddLabelClass method.&amp;nbsp; Can you please share a code snippet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 14:05:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847619#M4137</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-06-06T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.AddLabelClass ignores passed class name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847620#M4138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've performed more testing and results even more interesting. It seems AddLabelClass method actually just do kind of request to add class, but doesn't add it actually. Here is screenshot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/449888_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to get added class&amp;nbsp;immediately after AddLabelClass, LabelClasses collection will not contain it! But after couple of seconds:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/449889_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now it's OK...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the middle between these two points in time class is added&amp;nbsp;but has &lt;STRONG&gt;Class 1&lt;/STRONG&gt; name. So the entire process in SDK looks like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Make request for adding label class and return control to calling thread&lt;/LI&gt;&lt;LI&gt;Somewhere in the future class will be added with Class 1 name&lt;/LI&gt;&lt;LI&gt;Somewhere in the future name will be changed to passed to AddLabelClass&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's absolutely&amp;nbsp;unobvious that AddLabelClass exits without class actually added. These &lt;EM&gt;"somewhere in the future"&lt;/EM&gt; are not good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 10:33:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847620#M4138</guid>
      <dc:creator>MaxMax2</dc:creator>
      <dc:date>2019-06-07T10:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.AddLabelClass ignores passed class name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847621#M4139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Max,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can duplicate your problem using ArcGIS Pro 2.3 Final.&amp;nbsp; &amp;nbsp;However&amp;nbsp;using the exact same code I am unable to see the same problem in a pre-2.4 build.&amp;nbsp; &amp;nbsp;ArcGIS Pro 2.4 will be released shortly.&amp;nbsp; &amp;nbsp;Please let us know if you continue to see this problem when you upgrade to ArcGIS Pro 2.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 01:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/featurelayer-addlabelclass-ignores-passed-class/m-p/847621#M4139</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2019-06-11T01:16:24Z</dc:date>
    </item>
  </channel>
</rss>

