Select to view content in your preferred language

Repeatedly getting "The layer <layer> cannot be added to the map."

1973
1
11-22-2012 01:42 AM
firstlast3
Deactivated User
Hi there,

I am currently using the 30 day trial subscription to test some of the ArcGIS Online capabilities. I have been using ArcGIS for Dektop 10.1 to create my map and then publishing it via a Feature Service. I then did some further adjustments to the look of the map directly within ArcGIS Online, and saved it as a Web Map. I can view the map just fine from my account, but when another user tries to view it, it always throws an error about not being able to add one of the layers to the map, and eventually none of the layers do actually load.

I've been getting the same issue with multiple Web Maps created from published Feature Services, and, also for both users that have been added to the organsiation subscription, or external users in the case where the map has been made publicly available. Again, when I try to access it myself, everything seems to load fine (although I remember the very first time I opened the first map I created, it threw the same error).

Consequently, when I try to build a simple web application based solely on the ArcGIS Online map (via the web map id), the layers won't load. I only get the basemap and multiple messages in the Firebug Console saying "You do not have permissions to access this resource or perform this operation".
Tags (2)
0 Kudos
1 Reply
firstlast3
Deactivated User
Edit: SORTED! The problems were caused by sharing options. Although the map was shared (to organisation or public), the same had to happen to the Feature Service from which the map was created. I am assuming it somehow tried to retrieve the layers from the Feature Service (which was not shared). This also solved the restrictions when using the Web Map in an application.

It is a bit annoying though. If you create a map from a Feature Service, you should be able to set sharing options for the map only!
0 Kudos