Hi,I would like to retrieve the â??documentInfoâ?? properties of a map service. In its JSON I can see these values, i.e. author, keywords, credits etc (see below for example). How can I get these properties through the Flex API ? Iâ??ve looked through the packages below but couldn't find it. I am expecting something like "(_layer as ArcGISDynamicMapServiceLayer).copyright" for the "service" level instead of "serviceLayer" level. Or I need to use the URL to get the JSON and then parse it anyway ? - com.esri.ags.layers - com.esri.ags.layers.supportClassesMany thanks, AG {
"currentVersion" : 10.03,
"serviceDescription" : null,
"mapName" : "Layers",
"description" : "",
"copyrightText" : "",
"layers" : [
{
"id" : 0,
"name" : "Borehole",
"parentLayerId" : -1,
"defaultVisibility" : true,
"subLayerIds" : null,
"minScale" : 25000,
"maxScale" : 15000
},
{
"id" : 1,
"name" : "Borehole",
"parentLayerId" : -1,
"defaultVisibility" : true,
"subLayerIds" : null,
"minScale" : 15000,
"maxScale" : 6000
},
],
"tables" : [
],
"spatialReference" : {
"wkid" : 102100
},
"singleFusedMapCache" : false,
"initialExtent" : {
"xmin" : 12708816.0155975,
"ymin" : 2548059.09125177,
"xmax" : 12712094.2096539,
"ymax" : 2550095.06407371,
"spatialReference" : {
"wkid" : 102100
}
},
"fullExtent" : {
"xmin" : 12703415.4431405,
"ymin" : 2540388.24401408,
"xmax" : 12714214.9151815,
"ymax" : 2556966.94286627,
"spatialReference" : {
"wkid" : 102100
}
},
"units" : "esriMeters",
"supportedImageFormatTypes" : "PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP",
"documentInfo" : {
"Title" : "title",
"Author" : "author",
"Comments" : "description",
"Subject" : "summary",
"Category" : "",
"Keywords" : "tag",
"Credits" : "credit",
"AntialiasingMode" : "None",
"TextAntialiasingMode" : "Force"
},
"capabilities" : "Map,Query,Data"
}