You need to sign in to do that
Don't have an account?
Nikvm257
What is PageReference ??
Hello Guys ,
I am very new to cloud devlopment.
I am working on some vforce code devlopment.
I need to understand what is pagereference
I have read the documentation but still couldn't clear myself.
So can someone help me eunderstand in a layman terms what is the meaning of
}
public PageReference test() { return something;
Thanks in advance !
By writing this:
you define the return type of the is function which is page reference.
Pagereference is used if you want to redirect the current page to another page.
Refer this documentation or more details : Pagereference Class
In below example you will find we have defined a new Pagereference variable newPage with url of google, and we use that variable for redirecting with returning it.
All Answers
By writing this:
you define the return type of the is function which is page reference.
Pagereference is used if you want to redirect the current page to another page.
Refer this documentation or more details : Pagereference Class
In below example you will find we have defined a new Pagereference variable newPage with url of google, and we use that variable for redirecting with returning it.