AnsweredAssumed Answered

Connection with ArcGIS Portal using Javascript API

Question asked by taxalian2ket02 on Aug 7, 2017
Latest reply on Oct 16, 2017 by taxalian2ket02

Hello all,

 

I am trying to integrate my web map in application, using ArcGIS javascript API (4.4) using the code : 

 

esriConfig.portalUrl = "http://<PORTAL_URL>/portal"
var webmap = new WebMap({
portalItem: {
id: "XXXXXXXXXXXXXXXXXXXX"
}
});

 

I have a problem of slower performance, the first connexion between my browser and Portal Server is taking systematically 15-30 seconds to respond.

 

Normally the first HTTP request is 

 

https://<PORTAL_URL>/accessportal/sharing/rest/portals/self?f=json&culture=fr-fr

 

This creates application performance issue. Do you have any idea why this is behaving in this way. 

 

Thanks for your reply

 

Regards

 

Malik Ayaz

Outcomes