Is This Content Helpful?
We're glad to know this article was helpful.
Instructions provided describe the steps to modify the ServerBrowser.js file to enable the use of a custom web adaptor name.
This is done to change the 'Add Data From Server' dialog in ArcPad 10.2 to use services from a web adapter instance not named 'arcgis'.
The 'Add Data from Server' dialog has the ability to connect to ArcGIS Server, Portal and ArcGIS Online with users being able to input shorthand addresses for all three. This doesn't account for customers using services from a web adapter instance not named 'arcgis'.
1. To fix this issue, edit to the ServerBrowser.js file in the following folder:
C:\Program Files (x86)\ArcGIS\ArcPad10.2\System\Scripts
errorStatus = null;
error404count = 0;
Console.Print('Refreshing Services ...');
var url = '' + cbxURL.Text;
if (url.indexOf('://') == -1)
url = 'http://' + url;
cbxURL.Text = url;
ArcGISServer_Info(cbxURL.Text + '/arcgis');
2. Delete the bold text + '/arcgis' and save the file. This allows ArcPad users to use a custom web adaptor name.
It is necessary to have full control privileges to make edits to this file.