Portal Hosted Layer and AGOL

263
2
04-10-2019 08:04 AM
Luiz_AmadeuCoutinho
Occasional Contributor III

I´m trying to see my hosted feature layers on AGOL and everytime I got the errors. 

We have Portal for ArcGIS on Linux 10.6.1 and of course it´s possible to see my features on my Portal

here my Rest https://smart.campus.ciencias.ulisboa.pt/server/rest/services/Hosted/FCUL_BARCODE_view/FeatureServer 

0 Kudos
2 Replies
JonathanQuinn
Esri Frequent Contributor

Looks like it's a problem with the lack of the Access-Control-Allow-Origin header:

The map viewer is failing to retrieve any responses from requests to your server.

http://docs.motechproject.org/en/latest/deployment/CORS_Headers.html

https://stackoverflow.com/questions/12383109/access-control-allow-origin-in-tomcat

Luiz_AmadeuCoutinho
Occasional Contributor III
0 Kudos