HOW TO
Instructions provided describe how to change the FIND tool search string to be case-insensitive. When using the FIND tool in the HTML Viewer, the Search string entered is case-sensitive. This is inconvenient for the end user who is not familiar with the data being used. This article describes how to make the search case-insensitive.
Note:
ArcIMSParam.js is a Javascript file located in the Web site directory created.
Code:
var queryCaseInsensitive=false;
Code:
var queryCaseInsensitive=true;
Note:
Follow either option below, but not both.
Code:
msgList[79] = "Search is Case-Sensitive";
Code:
msgList[79] = "Search is NOT Case-Sensitive";
Code:
document.writeln('<FONT FACE="Arial" SIZE="-2"><B>' + t_find.msgList[79] + '</B></FONT>');
Code:
if (parent.MapFrame.queryCaseInsensitive) {
document.writeln('<FONT FACE="Arial" SIZE="-2"><B>' + "Search is NOT Case-Sensitive"+ '</B></FONT>');
} else {
document.writeln('<FONT FACE="Arial" SIZE="-2"><B>' + t_find.msgList[79] + '</B></FONT>');
}
Get help from ArcGIS experts
Download the Esri Support App