Skip to main content

Questions tagged [second-generation-packaging]

Filter by
Sorted by
Tagged with
3 votes
1 answer
2k views

2GP Source Push Error: The consumer key is already taken

I am trying to migrate metadata from a Partner Developer org to a Partner Developer scratch org for use with second-gen packaging. I have downloaded the 1GP package, converted the metadata, and now I ...
Robs's user avatar
  • 9,346
13 votes
2 answers
759 views

System.requestVersion() does not work in Second Generation Packaging

Environment sfdx-cli/7.58.2 win32-x64 node-v12.16.3 API 48 What's going on? When trying to create a managed packaged version with Second Generation Packaging (2GP) -with code check- that contains ...
Louis Bompart's user avatar
4 votes
0 answers
38 views

2gp Patching is Failing Even When the Only Change is a Comment [duplicate]

I'm currently trying to get patching working for our 2gp managed package but it's consistently hitting the same set of errors around report folders and report filters (see screenshot). Now I know what ...
Shane Bird's user avatar
2 votes
1 answer
72 views

2GP Patching Fails Due to Missing SalesProcess Value Even Though Same Code Packages Fine

We've been trying to patch with 2GP for a few months now but we're constantly hitting errors even when the only change is a comment in an apex class. Many errors were around reports so to try to get ...
Shane Bird's user avatar
2 votes
2 answers
450 views

2GP Managed Package: Admin Profile changes

Is it possible to package and ship permission modifications to the System Administrator profile in a Managed Package or not? If not, am I right in assuming permissions should be shipped as a ...
Robs's user avatar
  • 9,346
1 vote
0 answers
108 views

How does Permission Sets works against Licenses of Managed Package

We have built a Second Generation Managed Package and want it to be available as paid version in AppExchange Portal. So If a user buys it from AppExchange, he/she gets the licenses to use the solution....
S1th's user avatar
  • 133
1 vote
2 answers
207 views

Second Generation Packaging Parter Business Org Question For CI CD

I have a quick question on the best practices for managing the Parter Business Org when developing Second Generation Packages. As Parter Business Org act as the Dev Hub for the second generation ...
Bikram Bhuyan's user avatar
0 votes
0 answers
178 views

Unable to Create Second Generation Managed Package with Multi-Currency Enabled

We want to create a Second Generation Managed Package which works only on Multi-Currency Enabled orgs and all the Supported Salesforce Editions, so while running the package creation command, we are ...
S1th's user avatar
  • 133
0 votes
1 answer
95 views

Unable to create the Patch Version for the Second Generation Managed Package

Unable to create Patch Version: This is the error: UNKNOWN_EXCEPTION : UNKNOWN_EXCEPTION: Managed Package Patch Modification Exception: A change was made to the patch release that will change the ...
S1th's user avatar
  • 133