Installing managed package through metadata api fails
Last updated 2020-10-05 ·Reference W-3954500 ·Reported By 6 users
Installing managed package through metadata api fails with the following error message:
Error: Protected components can only be referenced within their own package.
This happens if the Package has custom resource link.
- Create a Managed package and choose a custom link from the Configure Custom Link field to display configuration information to installers.
- Install managed package using metadata API as discussed in the metadata api documentation
Install the package via UI feature.
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.