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
RajeevlsHydRajeevlsHyd 

Pass record details from One VF page to another

I want to pass standard and custom object's record details from one vf page to another ..how can I acheive this in the controller class.

Any suggestions?

Abhi_TripathiAbhi_Tripathi

Hey Rajeev,

 

You can only do this by using URL's, because whenever a new page load your controller reloads again and initiallize the variable you used so

 

1. Append the values to URL using a method

2. Fetch records from the URL in the constructor, otherwise it will show  null values.

3. And then do whatever you want to do.