ArcGIS web app template, basic viewer breaks

4726
1
12-08-2014 09:21 AM
PaulHoeffler
New Contributor II

I'm using the Basic Viewer (http://www.arcgis.com/apps/Viewer/index.html) with data I have loaded into an organizational portal. Many of the layers are web services from other organizations, and if one of those becomes unreachable that section times out and the entire viewer breaks.

Is there a way to make it so the viewer will function if a layer cannot load?

This is the error I'm seeing in the browser:

Failed to load resource: the server responded with a status of 404 (Not Found)  http://www.geocommunicator.gov/ARCGIS/REST/services/ROW/MapServer/2?f=json&callback=dojo.io.script.j...

Even when all layers do load properly and the web map functions fine I do get a lot of these errors, it looks like perhaps one for each layer:

Error: Item does not exist or is inaccessible. {code: 400, messageCode: "CONT_0001", message: "Item does not exist or is inaccessible.", details: Array[0], log: undefined…} "Error: Item does not exist or is inaccessible.

    at Error (native)

    at Object.g.load (http://js.arcgis.com/3.11/init.js:871:426)

    at http://js.arcgis.com/3.11/init.js:191:69

    at c (http://js.arcgis.com/3.11/init.js:76:221)

    at d (http://js.arcgis.com/3.11/init.js:76:10)

    at resolve.callback (http://js.arcgis.com/3.11/init.js:77:350)

    at c (http://js.arcgis.com/3.11/init.js:76:436)

    at d (http://js.arcgis.com/3.11/init.js:76:10)

    at resolve.callback (http://js.arcgis.com/3.11/init.js:77:350)

    at http://js.arcgis.com/3.11/init.js:195:300"

I had two additional questions which I can pose individually if it's more appropriate, but both are also related to the Basic Viewer:

Is there any documentation or recommended place to look to modifying the templates for the Print function?

Is it possible to have the credits listed in the visible layers appear at the bottom of the web viewer with the other credits from the basemap?

As before thanks for any assistance on any of those points!

Paul

0 Kudos
1 Reply
PaulHoeffler
New Contributor II

Actually that broken service just came back online, but the question is still worth asking, as well as the others

0 Kudos