AnsweredAssumed Answered

Did Esri change their Print Service Specifications in 10.6 / the ArcGIS Online Update?

Question asked by 96213@charlottenc.gov_charlotte on Apr 18, 2018
Latest reply on May 9, 2018 by 96213@charlottenc.gov_charlotte

This is more rhetorical than anything else I suppose, but it looks like something changed in the Export Web Map task within Print Services. After April 11th, when AGOL was updated, my jobs that called the utility print service that AGOL uses stopped working.

 

While the specifications between one of the older releases (10.1 (ArcGIS Help 10.1) and the recent most (10.6 (ExportWebMap specification—Documentation (10.5) | ArcGIS Enterprise) look identical, I've noticed some of my custom Export Web Map tasks that construct the JSON are now failing against AGOL's print service. I also tried this against 10.6 (Task: Export Web Map Task (and AGOL's URL, for anyone interested is here: Execute Task (Export Web Map Task)).

 

I've attached my constructed JSON that's being passed.

 

This JSON continues to function against older releases: Execute Task (Export Web Map Task) -10.3.

 

Anyone else seeing this? Or potentially I'm missing something.

{
  "mapOptions": {
    "showAttribution": false,
    "extent": {
      "xmin": -8996499.567087685,
      "ymin": 4168376.3988337093,
      "xmax": -8994399.937466921,
      "ymax": 4170069.9567416976,
      "spatialReference": { "wkid": 102100 }
    },
    "spatialReference": { "wkid": 102100 },
    "scale": 9027.977411002823
  },
  "operationalLayers": [
    {
      "id": "defaultBasemap",
      "title": "defaultBasemap",
      "opacity": 1,
      "minScale": 1155581.108577,
      "maxScale": 282.124294,
      "url": "http://maps.ci.charlotte.nc.us/arcgis/rest/services/WEB/BaseMap/MapServer"
    },
    {
      "id": "StreetClosuresNianweiTest_4411",
      "title": "StreetClosuresNianweiTest_4411",
      "opacity": 1,
      "minScale": 0,
      "maxScale": 0,
      "layerDefinition": {
        "drawingInfo": {
          "renderer": {
            "type": "uniqueValue",
            "field1": "FULLCLOSE",
            "field2": null,
            "field3": null,
            "fieldDelimiter": ", ",
            "defaultSymbol": null,
            "defaultLabel": null,
            "uniqueValueInfos": [
              {
                "symbol": {
                  "color": [ 255, 0, 0, 255 ],
                  "width": 3,
                  "type": "esriSLS",
                  "style": "esriSLSSolid"
                },
                "value": "Yes",
                "label": "Full Closure",
                "description": ""
              },
              {
                "symbol": {
                  "color": [ 169, 0, 230, 255 ],
                  "width": 2,
                  "type": "esriSLS",
                  "style": "esriSLSSolid"
                },
                "value": "No",
                "label": "Lane Closure",
                "description": ""
              }
            ]
          }
        }
      },
      "url": "http://services.arcgis.com/9Nl857LBlQVyzq54/ArcGIS/rest/services/StreetClosuresAndDetours/FeatureServer/0"
    },
    {
      "id": "map_graphics",
      "opacity": 1,
      "minScale": 0,
      "maxScale": 0,
      "featureCollection": { "layers": [ ] }
    }
  ],
  "exportOptions": {
    "outputSize": [ 670, 500 ],
    "dpi": 96
  }
}

Outcomes