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
VirajViraj 

How can I call create Visualforce page screen from Apex

Hi,

 

I want to programaticaly (using Apex) call the Visualforce page create screen.

 

Can I use the following ?

 

PageReference pageRef = new PageReference('/066/e?retURL=%2Fapexpages%2Fsetup%2FlistApexPage.apexp');

 

Will there be guarantee this will not change for other salesforce organizations?

 

Is there any other way for doing it ?

 

 

Thank you

Viraj