Skip to main content

Questions tagged [2gmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
38 views

Can managed package be installed in production without AppExchange listing and Security Review?

Can managed package be installed in production without AppExchange listing and Security Review?
Nazar's user avatar
  • 45
2 votes
1 answer
48 views

Which actions should be completed before a package can be moved to another devhub?

My client wasn't a Salesforce partner and delayed a decision to become Salesforce partner and push the package we built for them to AppExchange for three years, now they are ready, but Salesforce ...
Patlatus's user avatar
  • 17.2k
0 votes
1 answer
438 views

No version number was found in Dev Hub for package id and branch 'x' and version number 0.0.0.LATEST that resolved to build number 214

Today I have received the following error which seemed quite ambiguous to me No version number was found in Dev Hub for package id 0HoPACKAGEID000AAA and branch 'x' and version number 0.0.0.LATEST ...
Patlatus's user avatar
  • 17.2k
1 vote
1 answer
112 views

Strange error when releasing a new package version: Cannot modify managed object: entity=PackageIntegerValue

I have custom feature parameters in my application. However, I haven't modified them but still I received the following error Message delivering: CustomFeatureParameter: Cannot modify managed object: ...
Patlatus's user avatar
  • 17.2k
2 votes
1 answer
104 views

What is the limit of metadata components in 1GMP or 2GMP?

What is the limit of metadata components in 1GMP or 2GMP? Yesterday I talked to my former colleague about the limitation of number of metadata components available for a single package and that ...
Patlatus's user avatar
  • 17.2k
1 vote
1 answer
147 views

ERROR running force:package:delete: entity type cannot be updated: Package

When I try to execute an sfdx command sfdx force:package:delete -p 0Ho1n000000PAwZCAW I see an error ERROR running force:package:delete: entity type cannot be updated: Package Why do I see this ...
Patlatus's user avatar
  • 17.2k
1 vote
1 answer
71 views

Do I need to open Salesforce Support case to be able to run Push Upgrade for the Minor or Major version of 2GMP?

Do I need to open Salesforce Support case to be able to run Push Upgrade for the Minor or Major version of 2GMP? As far as I can see, to be able to perform Push Upgrade for the Major or Minor version ...
Patlatus's user avatar
  • 17.2k
2 votes
1 answer
251 views

No way to create a scratch org to have access to `PackageSubscriber` object

I would like to build 2GP package to refer PackageSubscriber object. This object is available only in DevHub orgs. I don't want to develop this package on DevHub org, but rather develop it in scratch ...
Patlatus's user avatar
  • 17.2k
0 votes
1 answer
31 views

How to build release process to avoid upgrade flow issues?

My understanding of building 2GMP validated version was that validation already checks if upgrade flow is working fine, but to my great surprize on this weekend, the validation and successful build of ...
Patlatus's user avatar
  • 17.2k
0 votes
1 answer
80 views

Can we add the same remote site settings to two packages with the same namespace?

Is this possible to include the same remote site settings to two packages with the same namespace? I mean, won't this break the installation of these two package into the same org?
Patlatus's user avatar
  • 17.2k
0 votes
1 answer
396 views

Can External Objects be packaged in Managed Packages?

The [Metadata Coverage Report][1] doesn't mention if External Objects can be packaged as part of Managed Packages. So, this is not clear if External Objects can be packaged in Managed Packagesor not? [...
Patlatus's user avatar
  • 17.2k
3 votes
1 answer
471 views

How to check Apex Code coverage for package extension?

I have two 2GMP packages: Baseline package and package Extension which depends on Baseline package. I have released Major version for the Baseline package and now I am trying to release Major version ...
Patlatus's user avatar
  • 17.2k
0 votes
1 answer
69 views

How do I define a dependency in 2GMP for certain Salesforce feature like Quote object?

How do I define a dependency in 2GMP for certain Salesforce feature like Quote object? I need to release a package extension which should depend on Quote object. How should I define such dependency? ...
Patlatus's user avatar
  • 17.2k
0 votes
1 answer
29 views

Dynamic class initialisation doesn't work in 2GMP

I want to use dependency injection to detect if descendant package is installed in addition to inherited package and modify the behaviour of inherited package to depend on class from descendant ...
Patlatus's user avatar
  • 17.2k
2 votes
1 answer
116 views

Is there any way to implement a smooth customer migration from 1GMP to 2GMP?

I build 2GMP for client who has many customers installed their previous 1GMP version of the package. I couldn't figure out how to make this process smooth enough with simple upgrade so they have to ...
Patlatus's user avatar
  • 17.2k
3 votes
1 answer
78 views

Determine if subscribers have my domain enabled?

We are developing 2GMP. We need to know if we can programmatically query some record on devhub to find out if there are subscribers that do not have my domain enabled. Is there a way for this? If we ...
Patlatus's user avatar
  • 17.2k