+ 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