Created
August 12, 2016 18:34
-
-
Save eddywebs/ba9faa6a7db3262bbcf8d7d7aea798a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//redirect a page to visualforce page | |
ApexPages.PageReference pg = new ApexPages.PageReference('/apex/<VisualForcePage>?id='+Contact.Id); | |
pg.setRedirect(true); | |
return pg; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment