4

I recently made a web mapping application using the ArcGIS for JavaScript API, but I am having a difficult time making it accessible to users of my organizations AGOL account.

I naïvely thought I could easily host HTML files on my organizations ArcGIS Server through either ArcGIS Server Manager or ArcGIS for Developers, but this was unsuccessful.

I am currently hosting the files on GitHub and I am capable of setting up a web server with either Python or PHP, but I am confused as to how to eventually make everything available in AGOL.

I am starting to get the impression that this may not be possible and I should be hosting the HTML files/app on a non Arc web server and just send people the URL for the app instead of having them access the app via AGOL? Any guidance would be helpful here.

3
  • I just realized AGOL has the ability to ADD an application. Go figure after hours of searching for an answer I figured it out right after asking for help. Please let me know if this is not correct. Thanks.
    – Travis
    Sep 12, 2018 at 20:40
  • 2
    Could you write down the steps you did in an answer? I am wondering about that too.
    – Demon
    Sep 12, 2018 at 20:45
  • Sounds like a case of Rubber Duck Debugging. ;-) If you have a solution, post it as an answer, please. Sep 12, 2018 at 20:45

2 Answers 2

2

thank you for the replies. I have been using online GIS applications for less than a year so I am not sure how accurate my understanding of the ESRI online platforms is, but I will try to explain things as best as I can.

One of the things that threw me off at first was the ArcGIS Sever. I assumed this was a web or file server service like AWS that would allow me to host custom apps. It turns out this is not the case and it is more of an internal server for your portal content. This means that in order to share a custom app/map with HTML/JS you first need to set up a file/web server or use a file hosting service. If you set up your own server, you will need to know a software stack like XAMPP or WIMP or at the least Python or Node.js. You can also go with a web service like AWS or if it is a basic project, you can just use GitHub (that is my temporary solution while I work on setting up a server). Once you have hosted your files you can choose the 'an application' option in the 'Add Contents' tab and simply input the URL. The app/map will be added to your content and accessible to your organization. I hope that helps and its accurate information. Cheers Add Content/ Application Panel

0

ArcGIS Server is not quite an internal server for Portal. ArcGIS Server hosts web services that can be consumed by other web apps, e.g. Portal for ArcGIS, Esri JS API apps, etc. It is a software application that is basically a platform for serving web services. Portal is a content management system that came after ArcGIS Server. The above approach is the right way to host the web app, however, securing the app via Portal for ArcGIS or via ArcGIS Online won't secure the app as the app can still be accessed directly via the URL, i.e. by bypassing Portal/AGO, so this is a good way to do it if you don't mind the app being public.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.