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
t.deepthi05t.deepthi05 

Back button which redirects to previous page without loosing the filter criteria

Hi,

 

I want to implement back button functionality using command link I am able to redirect to my desired page but  i want pervious page  filter data selected along with redirecting.

 

PremanathPremanath

Hi,

 

  Why Don't you use retUrl ..

  Get the retURL from Current page and use Page Reference class to redirect that retURL page,

 

 Or Use like this

 

{!URLFOR($Action.npe03__Recurring_Donation__c.New, null, [Name = Contact.FirstName & " "& Contact.LastName&" Donation - "& TEXT( TODAY()),CF00N80000002bOmR=Contact.FirstName & " "& Contact.LastName, CF00N80000002bOmR_lkid=Contact.Id,retURL="/"&Contact.Id])}

 

 

Prem