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
nello_THnello_TH 

Suppressing Custom Object in Add New Component...

Is it possible to prevent a custom object from appearing in the SF "Add New" home page component?

Best Answer chosen by Admin (Salesforce Developers) 
TejTej

The "Create" new picklist for creating new records from the sidebar directly relates to the tabs that are visible at the top of your screen. Therefore, if you hide the "Leads" tab from a user's profile they will not see the "Lead" in the "Create New" picklist on the left hand side.

All Answers

TejTej

The "Create" new picklist for creating new records from the sidebar directly relates to the tabs that are visible at the top of your screen. Therefore, if you hide the "Leads" tab from a user's profile they will not see the "Lead" in the "Create New" picklist on the left hand side.

This was selected as the best answer
nello_THnello_TH

Thanks for that Tej. That's useful to know. In fact the situations is this: we have a custom object that has records added to it automatically as part of the app functionality and we have written a visualforce page to list these records but we don't want to allow users to manually add records to this custom object. The visualforce page contains a tabstyle attribute which relates the page to the custom object tab and I guess that's why this object is appearing in the Add New component.

 

Maybe if we create a visualforce tab, instead of using the custom object tab this might resolve our issue.... I'll try it!

nello_THnello_TH

Yep, that has worked. This custom object is no longer listed in the Add New component...

 

Thanks Tej!