+ Start a Discussion
MeerMeer 

Creating Detail View & Edit Page

Hi..

 

I have a custom object name Fin_Journal__c, I want to have my own VFP for Deatail View and Edit so, is it necessary to have first Recent Journal Page similar to which I have in Default. Actually I am a bit confused here that if I create my own VFP for Edit or View than how come I will get the record for which the details should be shown in that page?

 

Please help me :( 

 

Sorry for poor english. 

 

Regards,

Meer

bob_buzzardbob_buzzard

If you override the edit/view page for an sobject, everywhere that allows you to navigate to your page will have an id parameter - this is the id of the record that will be edited/viewed.  The standard controller will retrieve this record and any required fields for your.