<?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: How to programatically update the dynamic layer name in TOC in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755412#M20039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please mark Mr. Clemmons' response as the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 13:08:22 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2014-03-05T13:08:22Z</dc:date>
    <item>
      <title>How to programatically update the dynamic layer name in TOC</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755409#M20036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is probably been asked before, but using the search criteria of TOC update label (and others), did not &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reveal the answer for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When creating a dynamic layer, and adding it to the map, the initial name is "Dynamic Layer".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After initialization or loading of data, I get the real name so I rename that layer programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the name is not updated in the TOC. It is not a repainting issue since I can force a repaint and the new &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;name does not appear. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I look at the layer properties, the Layer Name is correct, but not the label on the TOC. When apply is clicked, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the TOC label is updated correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31937[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I programmatically update the layer name in the TOC&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755409#M20036</guid>
      <dc:creator>RickeyTom</dc:creator>
      <dc:date>2014-03-04T20:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically update the dynamic layer name in TOC</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755410#M20037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you calling IMxDocument.UpdateContents after changing the layer name?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 12:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755410#M20037</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2014-03-05T12:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically update the dynamic layer name in TOC</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755411#M20038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 13:00:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755411#M20038</guid>
      <dc:creator>RickeyTom</dc:creator>
      <dc:date>2014-03-05T13:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically update the dynamic layer name in TOC</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755412#M20039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please mark Mr. Clemmons' response as the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 13:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-programatically-update-the-dynamic-layer/m-p/755412#M20039</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-03-05T13:08:22Z</dc:date>
    </item>
  </channel>
</rss>

