5

For example, with this following snippet, if I wanted to remove the property from the package, what would be possible to do?

<targetConfigs>
    <targetConfig targets=“lightning__RecordPage”>
        <property name=“theOldProperty” type=“String” label=“Property Name (deprecated)”/>
    </targetConfig>
</targetConfigs>
5

You can remove those public properties (enabled with @api decorator) provided you have released a Managed package with isExposed = false

Once you have isExposed=true and the component is in the package, you cannot modify a public attribute. This is by design as documented here.

Quotes from docs

If isExposed is false, the package developer can remove configuration targets and a public (@api) property from a component.

You can vote for the idea here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.