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
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
thank you so much - FIXED
I read to fix the problem http://enterprise.arcgis.com/en/server/latest/administer/linux/restricting-cross-domain-requests-to-...