Internal ONLY Web Map Sharing Issues

26611
91
Jump to solution
09-25-2015 08:36 AM
BrianO_keefe
Honored Contributor

So we have a webmap that is INTERNAL ONLY. We have to build the 'ArcGIS' map side online, then using WAB build the web map, prop it up on our internal server, and now it's asking for AGOL sign on. This is supposed to be used by Field Crews?! They will 'never' have AGOL accounts... what is the proper workflow for a situation like this?

91 Replies
RobertScheitlin__GISP
MVP Emeritus

Alba,

   Sorry I missed that you did not have the proxy rule for route in your config.json

and my app config.json proxy:

"httpProxy": {
  "useProxy": true,
  "alwaysUseProxy": false,
  "url": "/DotNet/proxy.ashx",
  "rules": [
    { "urlPrefix": "http://albavoli.maps.arcgis.com/", "proxyUrl": "/DotNet/proxy.ashx" },
    { "urlPrefix": "http://route.arcgis.com/", "proxyUrl": "/DotNet/proxy.ashx" },
    { "urlPrefix": "http://traffic.arcgis.com/", "proxyUrl": "/DotNet/proxy.ashx" }
  ]
}
0 Kudos
albavoli
Deactivated User

Robert thanks but it needed also logistics.arcgis.com so i added also that in the proxy and app config but i get this now

Untitled.png

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Alba,

   So did you add logistics url to the proxy.config?

0 Kudos
albavoli
Deactivated User

Yes

<serverUrl url="http://logistics.arcgis.com"

                   clientId="xxx"

                   clientSecret="xxxxx"

                   rateLimit="600"

                   rateLimitPeriod="60"

                   matchAll="true"/>

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Alba,

   Notice that your error states that the URL is https:// for the logistics dot arcgis dot com. So you need to change your proxy config to be https.

albavoli
Deactivated User

Thanks Robert it works

0 Kudos
albavoli
Deactivated User

Robert i have another question how can i access a private map using proxy without the login appearing can u help me?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Alba,

   That was the original posters question and it has been answered in this thread already.

0 Kudos
albavoli
Deactivated User

But i am accessing a private feature layer from another organization and used it in my web map

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Alba,

   That means that you have to add the serverURL to your proxy.config and also add that url to your proxy rules in your config.json

0 Kudos