Customer is unable to deploy page layout changes through post install script when run as part of a package deployment
Last updated 2019-09-07 ·Reference W-5354175 ·Reported By 14 users
Summary
The customer is unable to deploy page layout changes through post install script when the script is run as part of package deployment.
- Actual Result
Throwing a NoAccessException in the background.
- Expected Result
The install script should run fine and update the layout.
Repro
1. Construct a package following the trailhead https://trailhead.salesforce.com/modules/apex_metadata_api/units/apex_metadata_api_updates.
2. Install the package in the developer org.
3. The page layout is not modified in the developer org as coded in the PostInstall script.
Workaround
N/A
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.