Skip to main content
1 of 2
Santanu Boral
  • 36.2k
  • 8
  • 45
  • 72

You can use like this:

PageReference pageRef = ApexPages.currentPage();

pageRef.getParameters().put('test', ApexPages.currentPage().getParameters().get('test'));

pageRef.setRedirect(true);

return pageRef;

Santanu Boral
  • 36.2k
  • 8
  • 45
  • 72