Omit #SHAPE# and #ID# fields from the HTML Viewer's table display

Last Published: April 25, 2020


You can customize your Web site to omit the #SHAPE# and #ID# fields from the table returned to the client.

For information on how to achieve the same results using ArcIMS 3.1, 4.0, or 4.0.1, see the Customizing HTML Viewer documentation that is installed with ArcIMS. To install this PDF you must do a custom install.


  1. Open the Web site's aimsIdentify.js file in a text editor such as WordPad.
  2. Find the following string:

    for (var f=0;f<fName1.length;f++

    The first occurence of this string is about half way into the file. The second occurrence is 20 lines after.

  3. Modify both occurrences of this string to match the following:

    for (var f=0;(f<fName1.length - 2);f++)

    This modification excludes the last two fields, #SHAPE# and #ID#, of the attribute data when displaying in the client.

    Do not delete these fields from the original table. The information in these fields is crucial to the XML Request sent to the Spatial Server.

  4. Save the file.
  5. Close and reopen your browser. The changes should have taken effect.

Article ID:000002430

  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options