Hy,
I'm using search widget 4.12 in app that does not have internet access (offline). I configure sources on services of loccaly ArcGIS Server). Like in this sample.
Problem occurs when search widget is loading, widget request ArcGIS Online. Why? All my sources are local !
As long as the request does not complete the widget is still loading. As it is offline app, it takes time for nothing.
I could not use "portal" property, I have no portal, only standalone ArcGIS Server.
So my question is how to disconnect the widget from ArcGIS Online ?
Regards,
Flavie
Thanks for reporting this. We are investigating now. Will update the thread when we have something relevant to share.
Confirmed that this is a legit issue. We'll have it fixed for 4.13, which is due to release in October.
For information about new bug logged : BUG-000124214: With the ArcGIS API for JavaScript hosted locally, the Search widget sends a request to https://www.arcgis.com/sharing/rest/portals/self?f=json&culture=<culture code>