<?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 GUID for layers in Map Services in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342840#M8843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So in ArcMap, there's a way to uniquely identify a layer using a GUID. My problem is trying to uniquely id a layer once it's in a Map Service using the Silverlight API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I get a unique handle to a layer in a Map Service?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2011 12:36:54 GMT</pubDate>
    <dc:creator>SteveBratt</dc:creator>
    <dc:date>2011-10-17T12:36:54Z</dc:date>
    <item>
      <title>GUID for layers in Map Services</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342840#M8843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So in ArcMap, there's a way to uniquely identify a layer using a GUID. My problem is trying to uniquely id a layer once it's in a Map Service using the Silverlight API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I get a unique handle to a layer in a Map Service?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:36:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342840#M8843</guid>
      <dc:creator>SteveBratt</dc:creator>
      <dc:date>2011-10-17T12:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: GUID for layers in Map Services</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342841#M8844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can probably create an AttachProperty on the Layer and use this to generate a new GUID&lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/system.guid.newguid%28v=vs.95%29.aspx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/system.guid.newguid%28v=vs.95%29.aspx&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
public static readonly DependencyProperty GuidProperty =
 DependencyProperty.RegisterAttached("Guid", typeof(Guid), typeof(MainPage), null);

public static Guid GetGuid(DependencyObject layer)
{
 return (Guid)layer.GetValue(GuidProperty);
}

public static void Guid(DependencyObject layer, Guid guid)
{
 layer.SetValue(GuidProperty, guid);
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342841#M8844</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T16:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: GUID for layers in Map Services</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342842#M8845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you recreate the map service, does it keep the previous layer guids?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 13:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342842#M8845</guid>
      <dc:creator>SteveBratt</dc:creator>
      <dc:date>2011-10-17T13:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: GUID for layers in Map Services</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342843#M8846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is only client-side. If you want the GUID information saved on the service, I'm not sure that is supported. REST API does not expose it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 16:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/guid-for-layers-in-map-services/m-p/342843#M8846</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-10-19T16:20:35Z</dc:date>
    </item>
  </channel>
</rss>

