Added layer doesn't show up in rest manager
I've added a layer to my MXD and republished my map service. The geocortex essentials rest manager is not recognizing the new layer. The new layer is visible in the AGS rest endpoint and if I add the service again to the rest manager i can see the new layer, but i don't want to do this because I'll lose all of my service settings (fields, global search, data tables, etc). How can i get the geocortex rest manager to refresh and "see" the added layer?
-
If you click the 'Edit Mapservice' button beside the mapservice in the 'Map' configuration screen of REST Manager, then you will be able to navigate to the 'Add/Remove Layers' tab and add your new layer to your site.
New layers are not automatically added to your Essentials Site, unless they are within already added group layers, in which case they are.
0 -
ok, so when a new layer is added to a map service, the default response is for the rest manager to exclude it. I didn't know that and I expected it to include it by default. thanks.
0 -
OK. But I just got the following message:
The configured layer [LAYER NAME] does not exist in map service [XXXXXXX]. It may have been removed, renamed or moved into or out of a group layer.
There are no unassigned layers available in the map service. Click OK to remove this layer's configuration permanently.
But I can see in the Rest endpoint AND if I add the map service to another site I can see it just fine, no errors. I've tried refreshing the site, clearing the cache, starting and stopping IIS. Nothing works!!! Very frustrating.
0 -
This seems to be a bug associated with Annotation feature classes. I just added a point feature class and I can add the new layer to the site without any error.
0 -
Yes, this is a known issue with annotation layers that have been added to mapservices that have already been configured. Until it gets fixed you will have to add the annotation layer manually, or remove and then re-add the mapservice to your site.
The easiest way to add the layer manually would probably be to first add the mapservice in question to a temporary test site. Then open the site.xml that has been created by Manager in that site's folder in a text editor. Look at how the annotation layer has been configured in this document, and then copy this configuration into your main site's site.xml document. This will ensure that you have added a valid configuration for this layer to the site.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare