Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

VisualforceAccessMetrics

Represents summary statistics for Visualforce pages.

Supported Calls

count(), describeSObjects(), query(), retrieve()

Special Access Rules

As of Spring ’20 and later, to access VisualforceAccessMetrics, users must have the Customize Application permission.

Fields

Field Details
ApexPageId
Type
reference
Properties
Aggregate, Filter, Group, Sort
Description
The ID of the Visualforce page.
This is a relationship field.
Relationship Name
ApexPage
Relationship Type
Lookup
Refers To
ApexPage
ProfileId
Type
reference
Properties
Aggregate, Filter, Group, Nillable, Sort
Description
The ID of the use who viewed the Visualforce page.
This is a relationship field.
Relationship Name
Profile
Relationship Type
Lookup
Refers To
Profile
DailyPageViewCount
Type
int
Properties
Aggregate, Filter, Group, Nillable, Sort
Description
The number of views received by the specified Visualforce page.
MetricsDate
Type
date
Properties
Aggregate, Filter, Group, Sort
Description
The date the metrics are queried.
LogDate
Type
date
Properties
Aggregate, Filter, Group, Nillable, Sort
Description
The most recent page access date.

Usage

Use this object to query information on the Visualforce pages in your org.

1SELECT ApexPageId, DailyPageViewCount, Id, ProfileId, MetricsDate, LogDate FROM VisualforceAccessMetrics