function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ross FieldRoss Field 

Determining All Visualforce Pages in an Org

Hi Everyone

How can I determine (in Apex code) all the visualforce pages on a given Org. I want present a list of them for selection to a user in a VF Page.

Many thanks for any assistance.
khillan bhardwajkhillan bhardwaj
Hi Rose,

You can make query soql in apex code like 

"Select id,name,body...other fields from apexpage"

This Soql retrieved all the VF page of your login organization.
if you want to determine other organization page detail . then you need to make auth based integration.

Khillan Singh