+ 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.