Close/open a view in a project by editing the .apr file

Last Published: April 25, 2020


This article shows how to close a view in a project by editing the .apr file with a text editor.


  1. Open the .apr in a text editor such as WordPad or Notepad.

    Always make a backup before making any edits to an .apr file.

  2. Search for the name of the view. You will see something like:

    Name: "View2"
    CreationDate: "Thursday, May 31, 2001 04:21:17"
    GUIName: "View"
    Win: 411
    CSMgr: 412
    DocExts: 414
    DocExts: 415
    Graphics: 416
    Theme: 423
    Theme: 450
    Theme: 720
    LastScale: 4289035647.73108150000000
    Dpy: 417
    TOCWidth: 150
    CoordPrecision: 2

    Owner: 410
    Open: 1
    X: 106
    Y: 42
    W: 478
    H: 281

  3. Locate the line called Open under the view.
  4. Change the value of Open as appropriate. The value of 1 indicates an open view, and 0 indicates a closed view.
  5. Save the file.

Article ID:000004107

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic