Questions tagged [unlocked-package]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

Ability to enable Dev Hub / Unlocked Packages for Partner Developer Edition Org

I'm using a Partner Developer Edition org to develop features for a managed package (which resides in a different org). According to the Winter '19 Release Notes, Developer orgs should have the Dev ...
8
votes
0answers
38 views

Can we move metadata between Unlocked Packages?

We're starting to figure out Unlocked Packages in Salesforce DX, and finally have a working base version. However, we do plan on breaking out fields, classes, etc to dependent packages as we continue ...
1
vote
1answer
17 views

sfdx force:package:version:create The provided package ID '0Hoxxxxx' is invalid

I've just recently started getting an error: The provided package ID '0Ho1C0000004C9wSAE' is invalid. when trying to run sfdx force:package:version:create. This was previously working exactly as ...
6
votes
1answer
188 views

Can/should DX Unlocked packages be used for app distribution to customers

Unlocked Packages are just the perfect compromise for everybody working with Salesforce code that he is delivering (for money) to a customer (or two). Managed packages are too much overhead (become a ...
3
votes
1answer
39 views

Create Package Version Error: Entity Quote not found

I'm trying to create a new unlocked package that adds some custom fields to the Quote object. If I deploy the source to a scratch org everything works as expected. I created the package running: ...
0
votes
1answer
32 views

Each Unlocked Package in Separate Repo

I read that people suggest to separate the packages each into their own version control repository. What would be the downside of using one repository and just separating the packages into folders? We ...
2
votes
0answers
16 views

Permission set error while installing unlocked package

I have created an unlocked package version and while trying to install it in production, I am getting an error: Permission Create Invoice_Approver__c depends on permission(s): Read Order__c ...
0
votes
0answers
16 views

Password lost from named credential in unlocked package

I have created an unlocked package. The unlocked package contains named credential. The unlock package process creation when failed when there was no in the file. So, I had to add actualPassword in ...
1
vote
0answers
11 views

Using Protected Component for “Secret Protection” with Unlocked Packages

How do "Protected Components" (Custom Settings or Custom Metadata) function when installed from an Unlocked Package. I was hoping that I would be able to use as "Protected (Managed)" to store "...
1
vote
1answer
20 views

Purpose of VERSIONNAME in sfdx force:package:version:create

In the SFDX CLI Docs, the commands force:package:version:create takes both a VERSIONNUMBER & VERSIONNAME. The description for VERSIONNAME is: -a | --versionname VERSIONNAME Optional The name ...
0
votes
1answer
74 views

Cannot add component to another package because it is an installed component

I have two unlocked packages. One package defines a number of custom fields on the Opportunity object and the other defines page layouts and other configurations the Opportunity. I receive the ...
2
votes
0answers
34 views

Include HEDA/EDA as dependency for package using SFDX

I am trying to include HEDA as a dependency for a package that I am trying to create, but when I attempt to create a package version, I get the following error: ERROR running force:package:version:...
0
votes
0answers
13 views

Dynamically get instance URL in a (packaged) Flow

I have checked the list of Global variables on Flows but couldn't find any that is giving me the current instance URL. My flow is opening a Visualforce PDF and I a hardcoded URL just won't work in ...
4
votes
1answer
38 views

Flow from Unlocked DX package can not be changed in subscriber org. Why?

I just installed an unlocked package containing flows in a customer sandbox and was a bit shocked to see that the flow cannot be opened and adjusted by the customer/subscriber. I thought that's the ...
4
votes
1answer
87 views

User can create DX Unlocked package but not a version

When creating a DX Unlocked Package version from a DevHub org and user with Second Generation Packages Enabled (1h ago) sfdx force:package:version:create -p "myapp" -x -json I get the following ...
1
vote
1answer
34 views

Converting unlocked package to managed package [closed]

Is it possible to convert an unlocked package to a managed package? If so, how?
0
votes
0answers
12 views

Uploading SSL Certs

Is it possible to upload an SSL certificate and/or custom branding media via self created DX package? I saw that there are database entries for those things in the SOQL workbench but not sure if they ...
0
votes
0answers
42 views

Unlocked packages with namespace - visualforce page isn't loaded

I've two managed packages (classic managed package - not packaging 2.0). One is extension pack to the other. It uses classes, fields, objects and so on from core package. I'd like to create some ...
8
votes
1answer
168 views

SFDX: Create unlocked package version - What is happening behind the scene?

When we are creating unlocked package version in 2GP, we don't need to have packaging org at all to deploy code there, upload package etc. (as it was with first generation packaging). So we just ...
8
votes
1answer
119 views

Can Unlocked Packages only modularize a single project / repo / org?

The longer I read and watch everything related to Org modularization using Salesforce DX Unlocked packages there more I get the feeling that this is only about local dependencies meaning: You take ...
5
votes
1answer
75 views

How do I view a list of packages installed in a DevHub org using the SFDX CLI?

When I run: sfdx force:package:installed:list -u DevHub (where DevHub is the alias of my production org, which IS enabled as Dev Hub and also has 2GP enabled) I receive this error: ERROR ...
0
votes
0answers
14 views

How to use metadata type KnowledgeSettings in SFDX project format?

I have created a unlocked package which requires KnowledgeSettings as well. As per the Metadata Coverage Report, KnowledgeSettings is not supported by second generation packaging (unlocked packaging) ...
0
votes
0answers
32 views

Unlocked Packages and Enhanced Notes

Is anyone having trouble with the enhanced notes related list showing up on a standard page layout after an Unlocked Packaging deployment? I just tried doing this, and even after manually adding the ...
3
votes
1answer
92 views

Unlocked package as an extension to classic package with the same namespace

We have our huge managed package (1st generation) with extremely large number of components in it. Package upload and test executions takes up to 3 hours as of now. And we need to continue adding more ...
0
votes
0answers
31 views

Unlocked Package installed on a sandbox - cannot edit its components at all

We've installed successfully our unlocked package to sandbox org via sfdx command. But when we try to edit apex class from unlocked package right on a sandbox org, the behaviour is really weird. Edit ...