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
Anu Raj.ax1269Anu Raj.ax1269 

Creating custom button while installing package

I have created a app and have it as package and have install to an another env i have a custom button in may package. I need to get this button auto generated on the object when the package get installed. Now the button has get generated but the admin need to customize the page layout then need to add button.

My need is to create a auto generate button on the object when package is installed so that admin is not need to customize page layout.

sfdcfoxsfdcfox
Unfortunately, you can't do this. You have two choices:

1) Have the admin add the button.
2) Write a custom Java/Flash page that the administrator can use to do this automatically.