ApexPageInfo

Represents metadata about a Visualforce page.

To edit, save, or compile Apex pages, use ApexPageMember. To load markup for a page or other fields, use ApexPage.

Version 

Introduced in API version 37.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

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 

ApexPageId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: ID for the Visualforce page.

ApiVersion 

  • Type: double

  • Required: No

  • 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

  • Required: No

  • Properties: Filter, Nillable, Sort

  • Description: Description of the Visualforce page.

DurableId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: For internal use only.

IsAvailableInTouch 

  • Type: boolean

  • Required: No

  • 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.

  • Default value: false

IsShowHeader 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 40.0

  • 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

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 38.0

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

Name 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: Developer name of the Visualforce page.

NameSpacePrefix 

  • Type: string

  • Required: No

  • 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.

  • 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.

    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.

    Note

Usage 

To retrieve labels and names for Visualforce pages, query the object that references it. For sample code, see SOAP Calls.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!