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
alfo72alfo72 

Creating Unlocked package with reference to Managed Packages

Made some great advances in using SFDX, GIT and VS, mostly admin related stuff right now but we have a developer coming onboard soon.

One question (for now) how do we deal with custom development against an installed AppExchange app?

i.e. We have Linked In Sales Navigator in Production that requies page layout changes, FlexiPage Components, field permissions etc.  I have installed into a Scratch, built everything and pulled the meta into VS (note I am not trying to amend the Managed Package.)

When I come to create an unlocked package I get errors nearly all related to the managed package.  It will be errors like can't add that field because it already exists BUT that field is being included because I have permissions, layouts and maybe flexipages (with components.).  I don't want to add the base data from the managed package because it is installed in Production aleady.

Does it not work?