<?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 documentInfo Title? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455294#M42076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can see the server's JSON response when an esri.layers.ArcGISDynamicMapServiceLayer is instantiated contains the documentInfo.Title stored with the service. Is this information available from the ArcGISDynamicMapServiceLayer object?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked and haven't found anything that looks remotely useful for this except the getResourceInfo method which doesn't seem to be documented in that class or any of the classes it inherits from. Besides that though, I assume, since this information was already retrieved from the server when the ArcGISDynamicMapServiceLayer object was created that it must already be in there somewhere...I'm just looking in the wrong places.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone point me in the right direction, please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 14:24:39 GMT</pubDate>
    <dc:creator>JoanneMcGraw</dc:creator>
    <dc:date>2012-10-10T14:24:39Z</dc:date>
    <item>
      <title>documentInfo Title?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455294#M42076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can see the server's JSON response when an esri.layers.ArcGISDynamicMapServiceLayer is instantiated contains the documentInfo.Title stored with the service. Is this information available from the ArcGISDynamicMapServiceLayer object?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked and haven't found anything that looks remotely useful for this except the getResourceInfo method which doesn't seem to be documented in that class or any of the classes it inherits from. Besides that though, I assume, since this information was already retrieved from the server when the ArcGISDynamicMapServiceLayer object was created that it must already be in there somewhere...I'm just looking in the wrong places.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone point me in the right direction, please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 14:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455294#M42076</guid>
      <dc:creator>JoanneMcGraw</dc:creator>
      <dc:date>2012-10-10T14:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: documentInfo Title?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455295#M42077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think you'll find this property from as part of the ArcGISDynamicMapServiceLayer object.&amp;nbsp; If you want to access this in your application, you could always do a call to you rest services directory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;//function call for fetching a rest Services Page. This will return a dojo.deferred var fetchRestServicesPage = function (path){ &amp;nbsp; return dojo.io.script.get({ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: url, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; callbackParamName: "callback" &amp;nbsp; }); };&amp;nbsp;&amp;nbsp; //sample usage var serviceInfoCall = fetchPage("http://services.arcgisonline.com/ArcGIS/rest/services/Specialty/Soil_Survey_Map/MapServer");&amp;nbsp; //wait for a response before proceeding&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; serviceInfoCall.then(function(serviceInfo){ &amp;nbsp; var documentTitle = serviceInfo.documentInfo.Title; &amp;nbsp;&amp;nbsp; &amp;nbsp; //do what you want with the title here&amp;nbsp;&amp;nbsp;&amp;nbsp; )}; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 18:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455295#M42077</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2012-10-10T18:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: documentInfo Title?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455296#M42078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bdaigle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your response. Given what I was seeing, I figured I'd have to make a separate request myself but was hoping I wouldn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 19:44:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455296#M42078</guid>
      <dc:creator>JoanneMcGraw</dc:creator>
      <dc:date>2012-10-10T19:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: documentInfo Title?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455297#M42079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to build this into PrintPlus custom widget without any succes. I have a webapp where you can reach several map services, what are seeded from different MXD-s with appropriate metadata (title, author ect.). Right now, i can only set the config file to fill the titleblock. Do you have any solution for this? It would be a really good feature.&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 08:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/documentinfo-title/m-p/455297#M42079</guid>
      <dc:creator>DávidGregor</dc:creator>
      <dc:date>2020-03-04T08:09:06Z</dc:date>
    </item>
  </channel>
</rss>

