+ Start a Discussion

How to fetch existed profiles and vfpage in the salesforce org with out Soql queries?

Hi Friends,

I would like to display existed profiles and vf pages on the vf page.

I have idea about using sobject.getdescribe() methods to fetch the metadata values with out using soql queries. I used these to fetch the recordtype id details.

Now, the same i would like to fetch all the existed profiles(standard and custom profiles both) and all the developed VFPages in the salesforce org.

Please help me in this how to fetch these details without using SOQL queries.

Describe gives you information about the schema, but profiles and VF pages are data - i.e. they are records that have been created matching a particular schema sobject.  There's no way to do this without SOQL queries I'm afraid.