HOW TO
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'.
1. To fix this issue, edit to the ServerBrowser.js file in the following folder:
C:\Program Files (x86)\ArcGIS\ArcPad10.2\System\Scripts
Code:
function OnRefresh()
{
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');
Portal_Version(cbxURL.Text);
}
2. Delete the bold text + '/arcgis' and save the file. This allows ArcPad users to use a custom web adaptor name.
Note:
It is necessary to have full control privileges to make edits to this file.
Get help from ArcGIS experts
Download the Esri Support App