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
Kai TribbleKai Tribble 

unlocked packages with enhanced notes

Is anyone having trouble with the enhanced notes related list showing up on a standard page layout after an Unlocked Packaging deployment? I just tried doing this, and even after manually adding the related list to the layout post-deployment, a subsequent deployment REMOVES the related list from the page layout. Is this happening to anyone else using Unlocked Packaging for deployments? 

This code exists inside of my account page layout markup:

<relatedLists>
     <relatedList>RelatedContentNoteList</relatedList>
</relatedLists>
  • There are no errors creating a package version.
  • There are no errors installing the package.
  • Enhanced Notes are enabled in every org.
Has anyone experienced the same problem? Does anyone have any suggestions?