Questions tagged [second-generation-packaging]

Filter by
Sorted by
Tagged with
6
votes
1answer
97 views

Type.forName(..) returns null for Unlocked Package with Spring 20' release

It seems that Salesforce Spring 20' release made public classes part of Unlocked 2GP not accessible when @namespaceaccessible is not mentionned. That has a huge impact. I thought this annotation was ...
2
votes
0answers
14 views

Getting “Not available for deploy for this organization” when creating a package version with translations. Is there a particular reason? [duplicate]

I'm getting the following error running the command to create a new version of my package. In this version I just added the translations for Brazilian Portuguese. ERROR running force:package:...
3
votes
1answer
146 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 ...
6
votes
1answer
51 views

Nested Unlocked Packages requires Installation of Base Packages?

We're trying to create a nested package structure to keep our code organized. So far, we have a design that looks like this: core ^-- utils | ^---- marketing | ^---- support | ^---...
2
votes
0answers
31 views

Adding a post-install script to a second generation managed package

I'm creating a second gen managed package using sfdx and I'm not sure how to add a post-install script. Most information I've come across involves updating the package from within an org. Is this ...
0
votes
1answer
76 views

Second Generation Package metadata deployment to packaging org

I'm having issues deploying my mdapi output directory to my packaging org. I'm using SFDX and second generation packages. I'm almost considering trying to create a 1GP from my source. Do the following ...
4
votes
3answers
129 views

Second-Generation Managed Package Security Review

Generally, the question stands as what steps need to be done in order to send 2-nd generation managed package for security review. Current conditions: I have developed 2-nd generation managed ...
4
votes
0answers
36 views

Extending metadata xml without overwriting in org

I'm creating a 2GP managed packaged that adds a custom tab to the Service Console. While developing in a scratch org, the metadata pulled into my project includes a customised version of the Service ...