Refresh of map services already configured in app - ArcGIS REST sees changes, GCX REST does not
We made some changes to some layers in our MXD, and filled in the DESCRIPTION of some of the layers so we could grab this value from the REST endpoint in a workflow.
I created a new app and added two map services, one without DESCRIPTION properties populated, and one with the DESCRIPTION property set, saved app, ran workflow. The DESCRIPTION property was picked up for the map service and layers with a DESCRIPTION prop set.
I went back to the MXD that did not have DESCRIPTION set originally and updated it with descriptions and republished it. The ArcGIS REST endpoint shows the DESCRIPTION now. However, the Geocortex REST endpoint does NOT show this value.
_img_ alt="ESRI REST End Point" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000k9t2&feoid=Body&refid=0EMf2000000fzMF" _/_img_
_img_ alt="No Descrip - GCX REST Endpoint" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000k9t2&feoid=Body&refid=0EMf2000000fzM5"_/_img_
It seems to have cached the service properties and no way to refresh the service in the app without removing the service and adding it back in. I have lots of things configured for this map service, so taking it out and putting it back in would be a royal PITA.
Ok, so who can tell me how can I get my GCX REST endpoint refreshed with changes I make to my MXD? This is not quite as easy as just going in and adding new/missing layers to the Layer List. ANY help is appreciated here.
Tami O.
0
-
Tami,
Try hitting the site refresh icon for each of the sites you want to update, or need updating..
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kAaf&feoid=Body&refid=0EMf2000000fzN3"_/_img_
GCX caches the sites, so you need to refresh these to take in any changes to the map services.
The Site cache location is..
C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\REST\App_Data\SiteCache
and I don't know the implications of just blowing this file away..??
if anyone knows a way to do all this programmatically via the Rest endpoint I'm all ears!
regards
Gareth0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar