+ Start a Discussion
wesnoltewesnolte 

VisualForce page URL

Hello

 

Is there a way to programmatically get the URL for a VisualForce page? Will it always be '/apex/MyPage'?

 

Wes

JeremyKraybillJeremyKraybill

The ApexPages class provides programmatic access to PageReferences for your VF pages. Search for "ApexPages" in the VF documentation.

 

Jeremy Kraybill

Austin, TX

wesnoltewesnolte

Thanks very much.

 

Wes