You need to sign in to do that
Don't have an account?
Venkata Sumedha singanamala
Usage of Pagereference
Hi,
Can any one explain me when,where and how to use "pagereference"??
Regards,
Venkata
Can any one explain me when,where and how to use "pagereference"??
Regards,
Venkata
This is the link https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_system_pagereference.htm
What : PageReference is class in APEX and have many methods.
Where and How :
1) You can use this class in your Apex class. Suppose you have provide a save button on your UI and want user click on save button then data will save in database and user will redirect to another page.0
eg: 2) When you want to redirect user to next page with parameter or you want to get some value from parmeter than PageReference class has provide some method to get the valiue of parameter from URL in apex class