---
schema_version: "1"
id: e1bb9af60b159b20e4e7d6e996cdf3a74f24427342bd1bfd0005c603eccf25d5
title: ApexPageInfo
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_apexpageinfo.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_apexpageinfo.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4af75049fcd2f8430fdb977f74b7ff0f20457bd85dde157f232c613c023a5203
description: Represents metadata about a Visualforce page. This object is available in API version 37.0 and later.
---
# ApexPageInfo

Represents metadata about a Visualforce page. This object is available in API version 37.0 and later.

To edit, save, or compile Apex pages, use [ApexPageMember](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_tooling.meta/api_tooling/tooling_api_objects_apexpagemember.htm "HTML (New Window)"). To load markup for a page or other fields, use [ApexPage](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_tooling.meta/api_tooling/tooling_api_objects_apexpage.htm "HTML (New Window)").

## Supported SOAP API Calls

describeSObjects(), query()

## Supported REST API HTTP Methods

Query, GET

## Special Access Rules

As of Summer '20 and later, this object can only be accessed by users who can view a particular Visualforce page, and users with the View Setup and Configuration permission.

## Fields

| Field | Details |
| --- | --- |
| ApexPageId | 
Type

reference

Properties

Filter, Group, Sort

Description

ID for the Visualforce page.



 |
| ApiVersion | 

Type

double

Properties

Filter, Sort

Description

The API version for the page. Every page has an API version specified at creation. If the API version is less than 15.0 and ApiVersion is not specified, ApiVersion defaults to 15.0.



 |
| Description | 

Type

textarea

Properties

Filter, Nillable, Sort

Description

Description of the Visualforce page.



 |
| DurableId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

For internal use only.



 |
| IsAvailableInTouch | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

This field indicates whether Visualforce tabs associated with the Visualforce page can be used in the Salesforce app (true) or not (false). The default value is false.



 |
| IsShowHeader | 

Type

boolean

Properties

Filter, Group, Nillable, Sort

Description

The showHeader value for the Visualforce page. This will be “unknown” if the Visualforce page uses an expression to compute showHeader. The default setting is true.



 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The text used to identify the Visualforce page in the Setup area of Salesforce.



 |
| Name | 

Type

string

Properties

Filter, Group, Sort

Description

Developer name of the Visualforce page.



 |
| NameSpacePrefix | 

Type

string

Properties

Filter, Nillable, Sort

Description

The namespace prefix associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix\_\_componentName notation.

The namespace prefix can have one of the following values.

- In Developer Edition orgs, the namespace prefix is set to the namespace prefix of the org for all objects that support it.
    
    ![Note](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/images/icon_note.png)
    
    #### Note
    
    If an object is in an installed managed package, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition org of the package developer.
- In non-Developer Edition orgs, NameSpacePrefix is set only for objects that are part of an installed managed package. Objects outside of an installed managed package don't have a namespace prefix.





 |

ApexPageInfo

## Usage

To retrieve labels and names for Visualforce pages, query the object that references it. For sample code, see [SOAP Calls](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_tooling.meta/api_tooling/intro_soap_overview.htm "HTML (New Window)").