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
bharath kumar 52bharath kumar 52 

Removal of "recent items" panel

Hi All,

I am working on a requirement where the child item is created based on the id of the parent and we are using a combination of sfdc standard and vf pages to accomplish it. But, there are places where we have this recent items panel that contains a new button which will take us to the record creation vf page which is wrong as the parent record id will be null.
User-added image
That's why i want the recent items panel to be gone or the new button to be removed.
Please let me know how to achieve this?
Also, if it isn't possible to remove from my end , Is it possible for salesforce tech support to disable certain things only for my org?

Best Answer chosen by bharath kumar 52
or simple solution could be just override the new button with VF page. When user click on vf page. In vf page just check the parentId is null or not if null then redirect anywhere you want (home or case tab ) and if parentId is not null then redirect to your record creation page