+ Reply to Thread
Results 1 to 10 of 10

Thread: accessing private ArcGIS online maps

  1. #1
    dan becker
    Join Date
    Apr 2010
    Posts
    182
    Points
    21
    Answers Provided
    3


    0

    Default accessing private ArcGIS online maps

    Have a map saved on arcgis online that has a few shapefiles added to it. This map is only viewable to a private group, not the public.

    Is there any way to reference this map 'service' from a template on our webserver? I'm able to successfully view a public map service from ArcGIS online by copying the public mapid and inserting it into the template index.html.

    I also tried to generate a token as explained in this guide, and was able to get the username/password login when accessing the template, but all username/password entries fail?

    http://help.arcgis.com/en/arcgismobi...Guide/Maps.pdf

    is this even possible?

    thanks!

    ps. sorry for double-posting the issue, but the other thread was referring to https (SSL) secure ArcGIS Server resources.

  2. #2
    Mike Minami

    Join Date
    Nov 2009
    Posts
    2,579
    Points
    688
    Answers Provided
    131


    0

    Default Re: accessing private ArcGIS online maps

    Did you see the 8th post here?

    http://forums.arcgis.com/threads/279...l=1#post148818

    Hopefully this works for you.

    Thanks,

    Mike

  3. #3
    dan becker
    Join Date
    Apr 2010
    Posts
    182
    Points
    21
    Answers Provided
    3


    0

    Default Re: accessing private ArcGIS online maps

    hi mike-

    As far as I could tell, the 8th post in that thread just refers to access secure (https) arcgis-server services, not private services on ArcGIS online.

  4. #4
    Mike Minami

    Join Date
    Nov 2009
    Posts
    2,579
    Points
    688
    Answers Provided
    131


    0

    Default Re: accessing private ArcGIS online maps

    Maybe I'm not understanding what you need. This is what I think you are trying to do...
    • You have created a web map and shared with a group in ArcGIS Online.
    • You have downloaded a template application (from the Share button on the map viewer).
    • You have installed the template application on your web server and pointed it to the ID of your web map. The problem is that your web map is not shared with everyone, so it doesn't draw.

    Here's my answer to the above, which still may not be the answer you're looking for...
    When did you download the template application? You may need to download it again. They have been updated within the last month to handle authentication of a user. Basically, when you run the application, the application will prompt you to sign in using your login to arcgis.com. As long as the user logged in is a member of the private group, they should be able to see the map.

    The underlying new feature that handles this in the API is the Identity Manager. Documentation on that can be found here.

    http://help.arcgis.com/en/webapi/jav...tymanager.html

    If the above is not the case, perhaps you can post more information.

    Thanks,

    Mike

  5. #5
    dan becker
    Join Date
    Apr 2010
    Posts
    182
    Points
    21
    Answers Provided
    3


    0

    Default Re: accessing private ArcGIS online maps

    i think i found out why I wasn't able to access my arcgis.com webmap from a template on our local webserver....yesterday at the esri SWUG I found out that only silverlight viewers have the ability to login to esri global acct, to access private web maps.

    how...i'm going to a tech. workshop today on silverlight to find out!

    thanks again Mike!

  6. #6
    Mike Minami

    Join Date
    Nov 2009
    Posts
    2,579
    Points
    688
    Answers Provided
    131


    0

    Default Re: accessing private ArcGIS online maps

    I think we may be talking about different "templates" here...

    Here's what you can do from arcgis.com.
    1. You can author a web map and share it with a group.
    2. You can download a web application template from the Share button on the Map Viewer.
    3. You can 'Publish' that application to arcgis online if you don't have a web server, or you can 'Download' it to deploy to your own server. The advantage of downloading is that you have the source code and can modify the application. However, some of these template are configurable without programming.
    4. Because your map is not shared with everyone, any user who is a member of the group it is shared with can sign in with their Esri Global ID and access the application.

    The attached image shows where in the Map Viewer you'll find these template applications.

    Thanks,

    Mike
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	webapp.png‎
Views:	80
Size:	244.7 KB
ID:	10213  

  7. #7
    dan becker
    Join Date
    Apr 2010
    Posts
    182
    Points
    21
    Answers Provided
    3


    0

    Default Re: accessing private ArcGIS online maps

    hey mike-

    thanks again for your help!

    For a webapp newbie, it can get quite confusing, but the SW user conf. really summed things up:

    1. Flex/Silverlight web viewer apps are free to download, they enable you to configure a custom website viewer in the language of your choosing.
    -the viewer connects to SERVICES only, so, you either have to use freely provided data/imagery services from ArcGIS online, OR have an installation of ArcGIS for Server

    2. You can also create a basic map using the ArcGIS explorer or web viewer via ArcGIS Online. There is one slight advantage to using ArcGIS Online; you can upload .zipped shapefiles to your map. Otherwise, ArcGIS for Server is required.

    3. If your not liking the ArcGIS Explorer or web view maps from ArcGIS online, you can create the share button while on the map, and use a template. This template can be downloaded to your local server and hosted, OR can remain on ArcGIS Online.

  8. #8
    Sargent McDonald
    Join Date
    Jul 2010
    Posts
    15
    Points
    0
    Answers Provided
    0


    0

    Default Re: accessing private ArcGIS online maps

    Quote Originally Posted by mikem View Post
    I think we may be talking about different "templates" here...

    Here's what you can do from arcgis.com.
    1. You can author a web map and share it with a group.
    2. You can download a web application template from the Share button on the Map Viewer.
    3. You can 'Publish' that application to arcgis online if you don't have a web server, or you can 'Download' it to deploy to your own server. The advantage of downloading is that you have the source code and can modify the application. However, some of these template are configurable without programming.
    4. Because your map is not shared with everyone, any user who is a member of the group it is shared with can sign in with their Esri Global ID and access the application.

    The attached image shows where in the Map Viewer you'll find these template applications.

    Thanks,

    Mike

    Mike,
    I can not login to a map shared with a group as described above using a user_name/pass that I know is part of the proper group, no logins for that group work. It just keeps saying Invalid username/password. Please try again. I have tried FF, IE, Chrome and no luck. I am using the basic viewer downloaded to our server with the proper webmap id. The AG Online hosted method works with these logins. The map services in the webmap are not secure from our AGS.
    Thanks.
    Last edited by samcdonald; 04-26-2012 at 04:29 PM.

  9. #9
    Charles Hofmann
    Join Date
    Dec 2011
    Posts
    10
    Points
    0
    Answers Provided
    0


    0

    Default Re: accessing private ArcGIS online maps

    I'm having the same issue. Even with a webmap hosted on my personal account (no SSL or security involved) my username and password is rejected when I attempt to view the application hosted on my site.

    The webmap is shared only to a group, and I'm a member of that group. Here's a link to the application: http://www.802dataviz.com/app_test/basic2/basicviewer/. It contains a single shapefile, uploaded as a .zip to my personal account. Not sure what my issue is here, but it would be great to get this working-- much easier to demo a client's web app with the correct data visible.

    Thanks!

    Charlie

  10. #10
    Mike Minami

    Join Date
    Nov 2009
    Posts
    2,579
    Points
    688
    Answers Provided
    131


    0

    Default Re: accessing private ArcGIS online maps

    When I've seen problems like this in the past, it's typically a proxy issue. Here's some info from a recent exchange one of our developers had with another person having similar problems...
    I think this is a proxy issue. The proxy would need to be on the applications web server. The proxy url is set in index.html, look for the proxyurl option. The proxy isn't always used - but there are some situations when its needed. Another issue you might run into is that the identity manager expects the app to be running using https since you are working with secure items. If its not run over https then you might see the log-in dialog appear but it won't successfully log you in.
    If you are working with only public web maps and services then the templates should work - its only going to be an issue when you are working with non-public maps.
    A simple short term solution would be to make your web map public.

    hope this helps,

    Mike

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts