Questions tagged [2gp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
53 views

Difference between Unlocked vs Second Generation Managed Package

Bear with me, I'm not sure I fully understand what's given in the documentation. I understand the difference between 1GP vs 2GP. From what I read Unlocked Packages are different than Second-Generation ...
1
vote
1answer
38 views

Second Generation Packages - Mismatching Versions

Is it possible to avoid mismatching version during Salesforce transition periods? Salesforce message Mismatching Versions. The AppExchange Application or component you have selected is not yet ...
2
votes
1answer
44 views

Second gen package error about a component being a scratch org ancestor? What does this mean?

My sfdx-project.json looks like this: { "packageDirectories": [ { "path": "force-app", "package": "my package", ...
1
vote
1answer
46 views

SFDX 2GP: cannot create new managed package version

I need to add a new class to an existing 2GP managed package. I get the following error when I attempt to create the package using the SF CLI. How do I resolve this issue when I attempt to build it? ...
4
votes
0answers
43 views

Managed 2GP Package CI/CD

We're looking to adopt a CI/CD flow similar to this Salesforce diagram. The CI part is pretty much there but with 2GP all packages are created as beta packages which can't be upgraded in our Test/UAT ...
5
votes
1answer
70 views

Solving error about NavigationLinkSet when packaging a community using 2GP

In a Community that I am trying to package using 2GP with: sfdx force:package:version:create after eliminating several errors I am now getting this one: These entities are not supported: [...
3
votes
1answer
66 views

How to use second generation packaging (2GP) for a community?

We've been running Jenkins builds for a while containing: sfdx force:package:version:create --skipvalidation ... with no problem, but now we are preparing to promote to a release, removing the --...
2
votes
0answers
18 views

Problem with object layouts and custom global actions in package (2GP)

So I'm trying to install a new 2GP package that has an object with a custom global action as part of it's page layout. I'm running into problems and I'm wondering whether I've missed something or if ...
3
votes
1answer
43 views

Enforce default version order in Managed 2GP

One great feature of Managed Second-Generation Packages (M2GP) is dynamic and flexible versioning. In First-Generation packages we had a strict linear version where each uploaded version dependent on ...
4
votes
2answers
91 views

How to speed up scratch org creation when it includes installed packages

We are just setting out on our journey with 2GP. Our first 2GP is a new "extension package" that integrates our core product (an existing 1GP) with a third-party product (another existing 1GP). As ...
1
vote
0answers
20 views

Can a 2GP managed package depend on a BETA release 1GP managed package?

We are creating a new "extension package" for our AppExchange 1GP that integrates it with a third-party managed package and want to use 2GP for this "extension package". The third-party is willing to ...
3
votes
2answers
96 views

Change version number scheme in sfdx-project.json

For the sake of simplicity, I want to change the default version number scheme of SFDX projects from Major.Minor.Patch.Build to Major.Minor like "versionNumber": "0.1.0.NEXT" to something like "...
3
votes
1answer
265 views

'ParentId' field missing when deploying ExperienceBundle - 2GP

We are attempting to deploy a community (ExperienceBundle) through an Unlocked Second-Generation Package. The package will create fine but once we install it in an org, we get the following error ...
0
votes
0answers
54 views

Unable to deploy unlocked packages created with SFDX/CLI

I am unable to deploy unlocked packages created with SFDX/CLI . I am receiving the "The package version is not fully available. If this is a recently created package version, try again in a few ...
5
votes
1answer
669 views

Converting First Generation Managed Package to Second Generation (2GP) Packages

In light of the new Winter '20 release and that 2GP will be Generally Available, it means we'll be able to develop and release managed packages on the AppExchange through the new 2GP processes. In ...
0
votes
0answers
27 views

Can no longer push 2gp managed package to scratch org (EnableLicensing)

I have a released 2nd generation managed package (2gp). Mainly developed with API v44. Now (summer '19). Now I can no longer push the source to fresh scratch orgs. When I try, all my custom objects ...