<?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 How to retrieve Drawing info data and renderer values of a layer in a map service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-drawing-info-data-and-renderer/m-p/325073#M29953</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;I need to build a table of content from POI layer resides in a map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The categories for drawing the layer are defined in the 'drawing info' section in the layer properties of the rest service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I didn't find any way to retrieve that data through the java script API&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I am using java script API version 2.5, ArcGIS server version 10.1, ArcSDE 10.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will appreciate any assistance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yarden&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 10:17:17 GMT</pubDate>
    <dc:creator>YardenCochav</dc:creator>
    <dc:date>2013-04-09T10:17:17Z</dc:date>
    <item>
      <title>How to retrieve Drawing info data and renderer values of a layer in a map service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-drawing-info-data-and-renderer/m-p/325073#M29953</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;I need to build a table of content from POI layer resides in a map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The categories for drawing the layer are defined in the 'drawing info' section in the layer properties of the rest service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I didn't find any way to retrieve that data through the java script API&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I am using java script API version 2.5, ArcGIS server version 10.1, ArcSDE 10.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will appreciate any assistance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yarden&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 10:17:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-drawing-info-data-and-renderer/m-p/325073#M29953</guid>
      <dc:creator>YardenCochav</dc:creator>
      <dc:date>2013-04-09T10:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Drawing info data and renderer values of a layer in a map service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-drawing-info-data-and-renderer/m-p/325074#M29954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you taken a look at nliu's &lt;/SPAN&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109"&gt;Table of Contents&lt;/A&gt;&lt;SPAN&gt; widget?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 13:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-drawing-info-data-and-renderer/m-p/325074#M29954</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-04-09T13:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Drawing info data and renderer values of a layer in a map service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-drawing-info-data-and-renderer/m-p/325075#M29955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would certainly be ideal if ESRI provided a method of retrieving this information. If Ken's TOC widget suggestion doesn't work for you, there's always the option of scraping the REST service description page using &lt;/SPAN&gt;&lt;A href="http://www.stemkoski.com/how-to-make-a-cross-domain-ajax-request-with-jquery/"&gt;AJAX and YQL.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the code in the link above as a base in order to extract file names from an HTML version of a FTP file directory listing. I suppose you could pass the URL to the REST Service directory of the layer you're interested in (what you previously described such as &lt;/SPAN&gt;&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/0"&gt;this&lt;/A&gt;&lt;SPAN&gt;) and the process the results to extract the info you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not pretty- but doable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 14:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-drawing-info-data-and-renderer/m-p/325075#M29955</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-04-09T14:15:52Z</dc:date>
    </item>
  </channel>
</rss>

