Select to view content in your preferred language

A warning message appears to the user when opening the map

203
3
11-05-2024 10:51 PM
Labels (3)
FahadAlenezi
New Contributor

Hi

I desgin map that One of the users would not have access to a specific layer on a map

Every time this user opens the map, a warning message appears to him (I attached it)

I want this message not to appear to him? How can I do that?

Thanks

0 Kudos
3 Replies
ChristopherCounsell
MVP Regular Contributor

Share the layer so that he has access or create an additional map without the layer.

Best practice is to ensure that all layers required for a map, and all layers/maps for an app, are accessible to the end user. Otherwise you will encounter messages like you are seeing that cannot be disabled, or the map/app may fail altogether.

0 Kudos
FahadAlenezi
New Contributor

I do not want to share this layer with the user, but rather I want him to see other layers
While another user he can see this layer
in same One Map

Can I do that?


0 Kudos
ChristopherCounsell
MVP Regular Contributor

No, it is not how this is designed.

https://support.esri.com/en-us/knowledge-base/error-the-layer-layer-name-cannot-be-added-to-the-map-...

The simplest thing you can do is save the map as a copy and remove the layer. Two maps, one with, and one without the layers.

0 Kudos