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
DSLDSL 

Custom buttons don't package on layout upgrade

Maybe this is a known issue?

 

We have some custom buttons that we have included in our managed package for the page layout. When I install the package, the buttons are on the layout for a fresh install, but are not there if the button appeared on an upgrade. This is both the main button as well as a button on a related list.

 

Any plans to fix that one and override the layout when you upgrade a package?

A_SmithA_Smith

This is working as designed.  We currently don't auto upgrade page layouts.  We may offer this in the future, but for now you'll have to ask the customers to add the buttons post install.

 

Thanks,

Andrew

cgosscgoss

Yes, this is a known issue, but in the sence that it's not supported. Layouts (along with reports, field help text and others) are not upgradeable. That is, once a customer installs the item, it won't be changed by subsequent upgrades. These changes will have to be made manually or through the metadata API.