<?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: View all ArcGIS Server services layers in a treeview control(WPF)? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76870#M1856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For raster layers you don't add a sublayer. Instead you add the entire mapservice to an ArcGISDynamicMapServiceLayer and set the VisibleLayers property to the ID of that sublayer (this actually goes for featurelayers as well if you want them rendered on the server).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 14:56:11 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2010-06-21T14:56:11Z</dc:date>
    <item>
      <title>View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76858#M1844</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;My application requires to view all my server's services layers, preferably in a treeview control, and the user will then have the ability to choose which layers he wants to add onto the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My department has a number of categories in different subfolders. However, ArcGIS server does not allow subfolders creation to organize my department's mxd files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i've briefly looked at the Table of Content sample. but realize it only show the TOC in mxd files when it is already added onto the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how can i best implement this feature for my WPF ArcGIS app? Any examples or samples or guides would be very much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 02:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76858#M1844</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-08T02:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76859#M1845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sample of a server explorer showing in a treeview a dynamic catalog of the ArcGIS Server map services : &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16243"&gt;http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16243&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also test it live : &lt;/SPAN&gt;&lt;A href="http://maps.esri.com/serverexplorer/default.htm"&gt;http://maps.esri.com/serverexplorer/default.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 08:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76859#M1845</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-06-08T08:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76860#M1846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however, when i tried putting my server's url, it doesn't work... it shows a exclamation icon....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and will the code work for wpf?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i opened the sln file and there the reference to ESRI.ArcGIS is missing.. where can i find this reference?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 02:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76860#M1846</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-09T02:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76861#M1847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;when i tried putting my server's url, it doesn't work... it shows a exclamation icon....&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should work if your server is visible from the server hosting the Silverlight application. This is probably not the case if you are using the live link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;will the code work for wpf?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample is only Silverlight, but I guess it's possible to adapt it for WPF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the reference to ESRI.ArcGIS is missing.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This sample is a little bit old. Some namespaces have changed : ESRI.ArcGIS is now ESRI.ArcGIS.Client and it's now no more useful to use the System.Windows.Controls.Toolkit to get a TreeView.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, you have :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]- in the references :[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT][INDENT]. to replace ESRI.ArcGIS by ESRI.ArcGIS.Client[/INDENT][/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT][INDENT]. to remove System.Windows.Controls.Toolkit[/INDENT][/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]- in MapServiceInfo.cs :[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT][INDENT]. to replace using ESRI.ArcGIS.Geometry by using ESRI.ArcGIS.Client.Geometry[/INDENT][/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]- to add using ESRI.ArcGIS.Client in TileInfoInfo.cs, LayerEventArgs.cs and ServerTreeView.xaml.cs[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]- to replace Controls.Toolkit by Controls in ServerTreeView.xaml[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 10:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76861#M1847</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-06-09T10:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76862#M1848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi thanks.. managed to run it in WPF...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how can i display the sublayers(feature layer type) in the explorer as well?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 07:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76862#M1848</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-10T07:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76863#M1849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Concerning the sublayers, MapServiceInfo.Layers is an array of LayerInfo giving the basic information about the sublayers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you could display the layers by replacing in Page.xaml, the textbox giving the info about the map cache by a listbox binded to 'MapServiceInfo.Layers' (it's just an example).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&amp;lt;TextBox Grid.Column="1" Grid.Row="3" Foreground="White" FontWeight="Normal" FontStyle="Italic" TextWrapping="Wrap" BorderBrush="Transparent" Background="Transparent" Text="{Binding Path=MapServiceInfo.SingleFusedMapCache, Mode=OneWay}"/&amp;gt;--&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBox Grid.Column="0" Grid.Row="3" Foreground="White" FontWeight="Bold" FontStyle="Normal" TextWrapping="Wrap" BorderBrush="Transparent" Background="Transparent" Text="Layers"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ListBox Grid.Column="1" Grid.Row="3" FontWeight="Bold" FontStyle="Normal" BorderBrush="Transparent" Background="Transparent"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemsSource="{Binding MapServiceInfo.Layers}" DisplayMemberPath="Name"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76863#M1849</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-10T22:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76864#M1850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to retrieve the type of the sublayer? as i need to differentiate between raster and feature layer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 05:01:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76864#M1850</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-17T05:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76865#M1851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure what you mean by the type of the sublayer (raster and feature layer?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sublayers are mainly depending on the service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With a DynamicMapServiceLayer, the rendering is done on the server, and the client is just displaying the image coming from the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With a feature layer service, there is no sublayers and the rendering is done on client.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 09:23:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76865#M1851</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-06-17T09:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76866#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i would like to add the appropriate layer(raster or feature) on to the map via the server explorer... if the user chooses a raster sublayer to add onto the map, my code should do the appropriate instantiation then add to the map? currently i instantiate a new FeatureLayer(). however when i add a raster layer, it gives me an error... therefore i need to know what type of layer the user choses to add so i can instantiate the appropriate layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;not sure if that makes sense.... &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 02:29:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76866#M1852</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-18T02:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76867#M1853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My understanding is that you need to make the difference between a map server and a feature server in order to know if you need to instantiate an ArcGISMapServiceLayer or FeatureLayers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the REST API is giving this info. For example looks at : &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes?f=pjson" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes?f=pjson&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The serverExplorer sample is deserializing this info in the class Service (Property 'Type'), but it's only taking care of MapServer service (when the sample has been done, FeatureServer was not existing yet).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you have to extent the sample to take care of feature services. Look at the server.cs code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;foreach (Service service in catalog.Services) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (service.Type) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case MapService.TYPE:
........&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76867#M1853</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-10T22:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76868#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a completely unsupported workaround, and might VERY well break in the future, but if you go into the \Design\ folder below the assemblies, there is a .dll called ESRI.ArcGIS.Client.Design.Editors.dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This actually contains a service browser control for WPF (this is the one Blend and VS2010 is using when you browse for services in the URL property editor). However, given its nature and unsupportedness, don't expect any help on getting this to work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jun 2010 00:51:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76868#M1854</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-19T00:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76869#M1855</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;pardon me as i might misunderstood some concepts or your reply here....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what i want to achieve is if the mxd file that was published has a raster sub layer, is there a way i could add this raster layer on to the map? i could add a feature sub layer.. but how can i only add the raster sub layer? i need a conditional statement to know whether the sub layer is a feature layer before adding it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have uploaded the screenshot that actually provides the type if I click on the sublayer link in the REST pages... however, LayerInfo doesn't provide an attribute that describes the type...&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://i157.photobucket.com/albums/t41/linusang/sublayer-feature.gif" /&gt;&lt;BR /&gt;&lt;IMG src="http://i157.photobucket.com/albums/t41/linusang/sublayer.gif" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 02:55:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76869#M1855</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-21T02:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76870#M1856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For raster layers you don't add a sublayer. Instead you add the entire mapservice to an ArcGISDynamicMapServiceLayer and set the VisibleLayers property to the ID of that sublayer (this actually goes for featurelayers as well if you want them rendered on the server).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 14:56:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76870#M1856</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-21T14:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76871#M1857</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;thanks for clearing up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however, i would like to create a FeatureLayer class for Feature type sublayer... how do i check if it is a feature sublayer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 01:45:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76871#M1857</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-22T01:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76872#M1858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This info is available with the REST API as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example : &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0?f=pjson" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0?f=pjson&lt;/A&gt;&lt;SPAN&gt; returns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{
&amp;nbsp; "id" : 0, 
&amp;nbsp; "name" : "Earthquakes from last 7 days", 
&lt;STRONG&gt;&amp;nbsp; "type" : "Feature Layer", 
&lt;/STRONG&gt;&amp;nbsp; "description" : "Latest Earthquakes from the USGS CSV repository.\n\nhttp://earthquake.usgs.gov/earthquakes/catalogs/eqs7day-M1.txt&amp;nbsp; \n\nThe source network, ID, version, date, location, magnitude, depth (km) and number of reporting stations are in this layer.&amp;nbsp; This layer is updated every 5 minutes.", 
&amp;nbsp; "definitionExpression" : "", 
......&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But we have to request by yourself the rest endpoint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76872#M1858</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-10T22:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76873#M1859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;o... thanks.. i didn't know we could do that...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;learnt something today... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 01:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76873#M1859</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2010-06-23T01:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76874#M1860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi i encountered a problem...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm trying to deserialize the parent layer attribute.. i created a ParentLayerInfo contract class... but can't seems to do it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example the json shows this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;"parentLayer" : {"id" : 2, "name" : "Water"}, 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i created a simple "ParentLayerInfo" class with 2 properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[DataContract]
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class ParentLayerInfo
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DataMember(Name="id")]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public int ID { get; set; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DataMember(Name = "name")]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public string Name { get; set; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in my SubLayerInfo contract class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[DataContract]
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class SubLayerInfo
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Properties
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DataMember(Name = "parentLayer")]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public ParentLayerInfo ParentLayer { get; set; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what might be wrong? if i omit the "parentLayer" DataMember completely... it deserializes fine... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76874#M1860</guid>
      <dc:creator>linusang</dc:creator>
      <dc:date>2021-12-10T22:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76875#M1861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sample of a server explorer showing in a treeview a dynamic catalog of the ArcGIS Server map services : &lt;A href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16243"&gt;http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16243&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can also test it live : &lt;A href="http://maps.esri.com/serverexplorer/default.htm"&gt;http://maps.esri.com/serverexplorer/default.htm&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dominique,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize it's been a while since your post, but I'm trying to do what you describe there; infortunately, the sample doesn't seem to be available anymore. Anyway I can find it or something similar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio G&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 20:58:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76875#M1861</guid>
      <dc:creator>SergioGalindo</dc:creator>
      <dc:date>2012-05-14T20:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: View all ArcGIS Server services layers in a treeview control(WPF)?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76876#M1862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sergio,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I gave the old code in this thread : &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/52951-Server-explorer"&gt;http://forums.arcgis.com/threads/52951-Server-explorer&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 16:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/view-all-arcgis-server-services-layers-in-a/m-p/76876#M1862</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-05-15T16:45:38Z</dc:date>
    </item>
  </channel>
</rss>

