Questions tagged [2gmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
51 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 ...
0
votes
1answer
26 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? ...
0
votes
1answer
20 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 ...
0
votes
1answer
70 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 ...
3
votes
1answer
65 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 ...