PropertyType cannot be specified for flexipages of type UTILITY_BAR Salesforce Exception

PropertyType cannot be specified for flexipages of type UTILITY_BAR Salesforce Exception

Exception:

There was an error saving the page: PropertyType cannot be specified for flexipages of type UTILITY_BAR

Resolution:

1. If you are using a Salesforce Lightning Web Component, make sure lightning__UtilityBar is added as the target.

<targets>
    <target>lightning__UtilityBar</target>
</targets>

2. If you are using a Salesforce Visualforce Page, then make sure “Available for Lightning Experience, Lightning Communities, and the mobile app” is enabled on the VF page.

3. Update the Component API version and check whether that resolves the issue.

Leave a Reply