Is it possible to turn off the ESRI World Geocoder, or at least not return or mask the results, when a users uses the search and a layer is defined. I have an app in which I need to limit the search returns, the US Gov does not allow any non-approved place names to be in their web map applications.
As Jeffward mentioned:
You can go to My Organization -> Edit Settings > Utitlity Services. In the Geocoding section delete the ESRI World Geocoder. It won't let you do this unless you have another geocoding service from ArcGIS Server present.
You can add a new geocoder, "use my organization's geocoder"
I created a fake geocoder so our team wont leave our AOI for WILEY California.
Create your own Locator View of the World Geocoding Service. When creating it, turn off Enable Geosearch. Share the Locator View with your Org or Public. Go to your Organization Settings, Utility Services. Add the Locator View that you just created, and then delete the Esri World Geocoder Service.
In your web map settings, you can enable search by layer and the search widget will only show your layer, not the Locator View.