Select to view content in your preferred language

Define first basemap webmap in disconnect environment

257
3
2 weeks ago
Labels (2)
OfraAi
by
Occasional Contributor

I've installed ArcGIS Enterprise 11.3 in disconnected environment.

I've created a vector tile and published it as hosted service.

Now I want to create a webmap with that VT, to be my default basemap.

When I try open a default webmap, I get an error that esri's basemaps are not available (no internet...) and cannot continue to choose my basemap. I've tried map viewer, and map viewer classic with no success.

How can I resolve this?

Thanks in advance

Ofra A

 

0 Kudos
3 Replies
CodyPatterson
MVP Regular Contributor

Hey @OfraAi 

In this here https://enterprise.arcgis.com/en/portal/11.3/administer/windows/configure-a-disconnected-deployment.... Do you have the external content disabled as this outlines?

If this does not work, another post I saw mentioned that Esri Support may need contacted as they have a fix for 11.2, which more than likely would translate over to 11.3.

Cody

0 Kudos
PaulJohns
Occasional Contributor

Hi Ofra. It was my pain too 🙂

  1. First of all, you should disconnect your portal from online resources. Go to https://yourportal.yourdomain/portal/admin as System > Content > External Content > Update and set it to false (screen "admin").
  2. Set up your default basemap gallery for your basemap group (you need to define it by yourself) - look at screen "map".
  3. Your published services (vector tile) should be shared with everyone; in this case, you can use the service URL - look at screen "URL".
  4. Open the standard example (after installation) - "SampleWorldCities", next add services from the internet and get your tile URL (screen "basemap"), check as "Use as basemap".
  5. Finally, you will get a 'template'; you can delete "SampleWorldCities" from it and save your first basemap in your basemap gallery.
0 Kudos
OfraAi
by
Occasional Contributor

Thank you @PaulJohns  and @CodyPatterson 

I'm a PS and this installation is at one of my clients. 

I did define "External Content : false" but did not help.

In the "basemap.png" images above, @PaulJohns used the classic web viewer, and I can see that the osm basemap exists. 

I finally found a very difficult  and long way to define the VT as a basemap, so now I cannot check your way.

Just for the record, this is my way:

1. define valid links to show a service in a classic map viewer in arcgis/rest end point: 

go to  portaladmin/system/handlers/rest/servicesdirectory and define:

Javascript maps API URL = https://[domain]/portal/jsapi/jsapi4/

JavaScript Mpas SDK CSS URL: https://[domain]/portal/jsapi/jsapi4/jihit/themse/tundra/tundra.css

Arcgis.com Map Text = Portal for arcgis map viewer

Arcgis.com URL: https://[domain]/portal/home/webmap/viewer.htm/

2. create fictive cache basemap based on fictive polygon. Publish as map image layer.

3. Open arcgis/rest, navigate to the cache service and click the link "portal for arcgis map viewer". The cache service will be opened in classic map viewer, as a basemap. 

4. In that web map, add layer from url, and enter the VT url. Define as basemap and save the web map.

5. Create basemap group and add that web map. share the web map to everyone.

6. Define in the organization settings, the default basemap group as that group, and the VT web map as the default basemap.

7. change the default web map in arcgis/rest as the new map viewer (4th definition in step 1: 

https://[domain]/porta/apps/mapviewer/index.html)

Good luck

Ofra