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
MeerMeer 

create detail page?

Hi,

 

I have a custom Object named as 'Journal'. Now I want to create my own detial page for it. When I click the New button it should go to the default screen where New Journal can be created, but after saving, it should redirect to my Custom Detail Page. Is it possible? For this what I have to do and how?

 

Please help me out.

 

Regards,

 

Meer 

Best Answer chosen by Admin (Salesforce Developers) 
aballardaballard

Or you can completely replace the standard detail page by using the button/link overrides feature.

All Answers

Anu Raj.ax1269Anu Raj.ax1269

Use page reference for it and set the URL path to the Custom Detail Page.

MeerMeer

Can i add a visualforce page in the default layout of the custom object??

Devendra@SFDCDevendra@SFDC

 

Yes, you can add visualforce page in default layout of custom object. It is called as "Inline Visual Force".

 

Please refer below blog from Jeff Douglas,

 

http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/

 

Thanks,

Devendra

 

 

aballardaballard

Or you can completely replace the standard detail page by using the button/link overrides feature.

This was selected as the best answer
S91084S91084

I agree with aballard. Once you override the view button with your own visualforce page, you will be redirected to your custom detail page.