Questions tagged [packaging-2]

Packaging 2 is reimagining how our Enterprise Customers and Partners can organize, distribute, deploy and manage Apps and Metadata on Salesforce Platform. It is part of Salesforce DX and works in tandem with other DX technologies like CLI and scratch orgs.

Filter by
Sorted by
Tagged with
2
votes
0answers
12 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:...
1
vote
0answers
15 views

Salesforce Package 2nd generation - PlatformCachePartition - AllocatedCapacity has not been assigned

We have a package (second generation) which has a platform cache partition. The current code of this partition is like: <?xml version="1.0" encoding="UTF-8"?> <PlatformCachePartition xmlns="...
0
votes
1answer
33 views

Add Individual Object in unlocked package

Does anyone know if Individual Object is supported in Unlocked Packages? I tried to look in the list of available features, similar to what is necessary for Person Accounts, but I did not find ...
8
votes
1answer
741 views

SFDX Second Generation Packaging - Managed Package questions

Looking at second generation packaging for managed packages and am a bit confused on feature parity with 1st gen with regards to managed packages.. Primary concern is that things are set up correctly ...
5
votes
1answer
558 views

How's the 2nd generation packaging today?

I am thinking of using the 2nd generation packaging for my project for automation. I'm wondering if it's already ready for production use. What are the limitations? When will it go GA?
2
votes
0answers
31 views

Using Packaging 2 can I reference a non namespaced field from a namespaced package

So, we're trying to convert out metadata into packages and namespaces, and it's proving to be difficult. Right now we have 2 different domains and we've created a namespace for each of those domains (...
1
vote
0answers
106 views

Rename a custom object from package using SFDX/Packaging 2

I'm trying to rename a custom object I created as part of a managed package I created with packaging 2/SFDX. I would also be happy with deleting it and creating a new one. The problem I'm running ...
4
votes
1answer
120 views

Remove property from metadata using packaging 2

We're using packaging 2.0 (SFDX) to develop and create our package, but have made a mistake and wound up with <externalSharingModel>ReadWrite</externalSharingModel> in a custom object. ...
9
votes
1answer
601 views

How to specify a managed package key in a sfdx-project.json dependencies entry?

It seems like it should be simple, but I have googled this and failed. I'm writing a project using Packaging 2 in sfdx, and it depends on an old managed package. I've installed that package into my ...