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
lsatonylsatony 

adding html in custom object

hi,

 

I want to add some instructional text to the top of my custom object.  what's the easiest way to achieve this?

 

thanks!

shillyershillyer

I see two options:

 

1. Create a splash page (step 6) - this will display when the user selects the tab (they have the option to hide going forward)

 

2. Create a Visualforce page with your HTML and add it to the page layout. Be sure the page references the standardcontroller of the custom object, otherwise you will not be able to add it to the page layout.

 

Hope that helps,

Sati

lsatonylsatony
ok, I'll check out these options.  Thanks so much!!!!!!!
lsatonylsatony
ok, I created a VF page and added it to my page layout.  it only shows on the record detail page.  how can I make it show on the record edit page as well?
shillyershillyer

If you want it on the edit page, you will need to override the Edit button with a Visualforce page. This requires a bit more work since you need to recreate the whole page in Visualforce.

 

Best,

Sati