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
Aman Gupta 30Aman Gupta 30 

How can we Add custom button of Standard Object directly to list view after installing managed package ?

i need to deploy a package contating Listview button of a Standrad Object, How can i assigen/add a Listview button automatically after installing a managed package ?
Jayanth ThathapudiJayanth Thathapudi
Hi Aman,

I believe it can be done by including the standard page layout(with list button) in the package BUT  it's better to do it manually because when you install via package(which contains the standard page layout with the list button) may override the existing page layout.

Thanks,
Jay
Aman Gupta 30Aman Gupta 30
Hi Jayanth,

thank you for replying, as you suggested to include standard page layout(with list button) in the package that I already tired and I had to assign both layout and button manually, I don't care if the existing page layout gets overridden I need to achieve this somehow! can't we make a post-installation script or something for this?