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
hisrinuhisrinu 

How to set the URL for Page from Controller?

Hi,

    I want to change the url of the page. On moving from one page to next page I am passing the parameters, once I took those parameters I want to clear the parameters. How to change the url of the page. I am using the following function.      

System.currentPageReference().getParameters().clear();

But still it is not clearing the parameters.
Any help on this will be highly appreciated.

Thanks in advance.



reshmareshma
In the controller write getter and setter for that particular field and set the value as null.
Try this.


Reshma,
Wipro