Hi,
I'm trying to get ArcGIS for Office 2021.1 deployed in an Offline Environment. I have an ArcGIS Enterprise 10.8.1 Environment.
So i installed Portal Resources for ArcGIS for Office at the Portal Maschine and ArcGIS for Office 2021.1 (x86) at the Client (with Office 2016 x86).
The Ressource File Link is set to https://[myPortal-fqdn]/arcgis/resources/arcgismapsforoffice/2021.1 (seems to be correct)
The Connect-to Link is set to https://[myPortal-fqdn]/arcgis (seems to be correct)
When i start Excel i click on the ArcGIS Tab then the Add Map Button > A green Popup appears and it says "Map 1" and lists "you are currently signed in as [geo_user]" and lists my connection and Organisation and all this seems to be correct. Now i click the "Continue as [geo_user]" button and Error pops up stating "Cannot read from property 'layers' of undefined"
So i checked the IIS Logs on the Portal Maschine (see the attached Log) and noticed Line 119 and 120.
on Line 119 there is an Request to list the ArcGIS Online Basemap from User esri_en. This Group exists but ist will not work as i'am in an offline Environment and there is an Basemap Group defined in our Portal.
on Line 120 there is an "search" request inside that group (https://developers.arcgis.com/rest/users-groups-and-items/group-content-search.htm) appID is not listed as an Parameter for search. That searches for appID=mapsForOffice. This query results in an "noting found response"
like this: {"query":null,"total":0,"start":1,"num":20,"nextStart":-1,"results":[]}
So i need any suggestions to fix this (maybe how to make at least one of my Basemaps show up in the ArcGIS Online Basemap Group of User esri_en that has this appID = mapsForOffice Attribute)
Solved! Go to Solution.
So some Months have passed and i learned something about MapsForOffice:
* When Installing an newer Version of the Client the Folder C:\user\[Username]\appdata\roaming\ArcGIS Maps\ needs to be deleted manualy. The Userdata includes the Ressource Link and that will point to the older Ressorce Files.
* In the MapsForOffice Installer 2021.1 the Option to insert your Portal URL (to generate an matching Ressource Link) has been removed. You have to figure it out for yourself.
* The Request to the Online Basemaps probably came from the not cleaned User\..\appdata folder and may be the "fallback to Online Ressources" Option
* In my Environment the Excel MapsForOffice will only work if the Default Basemap consists of Layers that reside on an federated Server and are shared with Organisation (standalone Server and Shared with Everyone does not work). I can also only switch to other Basemaps that meet the same Criteria.
We are looking into this and may want to connect via email or phone for additional details. Can you send those to me in a private message?
Thank you,
Andrew
So some Months have passed and i learned something about MapsForOffice:
* When Installing an newer Version of the Client the Folder C:\user\[Username]\appdata\roaming\ArcGIS Maps\ needs to be deleted manualy. The Userdata includes the Ressource Link and that will point to the older Ressorce Files.
* In the MapsForOffice Installer 2021.1 the Option to insert your Portal URL (to generate an matching Ressource Link) has been removed. You have to figure it out for yourself.
* The Request to the Online Basemaps probably came from the not cleaned User\..\appdata folder and may be the "fallback to Online Ressources" Option
* In my Environment the Excel MapsForOffice will only work if the Default Basemap consists of Layers that reside on an federated Server and are shared with Organisation (standalone Server and Shared with Everyone does not work). I can also only switch to other Basemaps that meet the same Criteria.