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
coolKarnicoolKarni 

Navigation using custom button in standard page

Hi,

From a standard page of an standard object, how can i redirect to next record of the same object??.

 

To be more clear.... I have a requirement - In a lead page i have many leads records available.When clicked on one of the lead record a lead detail page will open.And in that lead page i need to place a custom button- "NEXT". such that when clicked on the button it should redirect to next lead record.

 

Instead of clicking on cancel and then redirecting it to main page and from there clicking on respective record to open. I just want to place a button to redirect it to next record. Is this possible?? If yes, please let me know...

 

Thanks

 shaan

sforce2009sforce2009

Yes. Can be done. use a simple vf page or s-control to do this.

 

 

WesNolte__cWesNolte__c

Hey

 

It depends how you define 'next record', but you might have to use a VF page as the other dude said. S-Controls are deprecated though so you shouldn't go down that route.

 

Wes