+ 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.
Ross
 
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.

thanks
Khillan Singh