Questions tagged [packaging]
The packaging tag has no usage guidance.
18
questions
0
votes
1
answer
25
views
What's the best way to move a field out of a Salesforce org-dependent unlocked package?
A few scenarios I would like to test :
I have a package with a custom field : how can I remove it from the package and restore it as a non-packaged component in the target org, without deleting it ?
...
0
votes
1
answer
45
views
Deploy a new LWC to a namespaced scratch org which references Apex methods belonging to a package which shares the same namespace
Context
We have an unlocked package with a namespace (call it XYZ) that contains public @AuraEnabled methods in a number of our Apex classes. When developers need to work on new features for the ...
0
votes
0
answers
45
views
Duplicate Custom Object Definition The custom object is already assigned to a tab
I am not able to create a Custom Tab for a Custom SObject in my packaging org.
Name of the SObject: namespace__Section__c
When I try to create a new Custom Tab through Setup I see this message:
...
1
vote
1
answer
282
views
Adding Object Settings into a Package.XML
I would like to enable Field History Tracking for the Account, Opportunity, Contact and Lead objects.
I understand that I need to include the Setting's type in the Package.XML and I did so for the ...
0
votes
1
answer
236
views
Are "Modify Metadata Through Metadata API Functions" and "Customize Application" permissions packageable?
I created a beta package with the "Admin" permission set. In the packaging org the Permission Set has permissions Modify Metadata Through Metadata API Functions and Customize Application.
...
1
vote
0
answers
31
views
Select components to include in second-generation package
I am creating a package that shows an externally hosted web app in an Aura component. This component includes a canvas application. The Canvas App URL for the signed request is stored in a connected ...
5
votes
1
answer
952
views
Is it possible to deprecate and subsequently remove a public attribute of a Lightning Web Component in a managed package?
For example, with this following snippet, if I wanted to remove the property from the package, what would be possible to do?
<targetConfigs>
<targetConfig targets=“lightning__RecordPage”&...
6
votes
2
answers
122
views
How to list one package on both the English and Japanese AppExchange marketplaces?
We are attempting to list our App on the Japanese App exchange. We have successfully listed on the English App exchange; the App has passed its security review recently. (The term "marketplace&...
0
votes
1
answer
136
views
Prevent push upgrade from packaging org
Consider orgId: abc
Is there a way to block a push upgrade for 'abc' from the packaging org even if the org 'abc' is selected from the 'Schedule Push Upgrade' page?
I realise that not selecting the ...
0
votes
1
answer
225
views
Connected app - packaging vs subscriber org and access token validity
I had a brief question about how certificates work in a ConnectedApp within a packaging org.
To give context, we have a packaging org that contains a single ConnectedApp. This ConnectedApp uses the ...
3
votes
1
answer
109
views
Problem with object layouts and custom global actions in package (2GP)
So I'm trying to install a new 2GP package that has an object with a custom global action as part of it's page layout. I'm running into problems and I'm wondering whether I've missed something or if ...
6
votes
1
answer
610
views
Gen2 Package, ancestor version creation failing without any code changes for 2GP Managed package
I have the following issue with the Second Generation Package, I have this Apex class:
global with sharing class TestClass {
global virtual class B {
}
global class C1 extends B {
}
...
2
votes
2
answers
665
views
Trigger can created on UserServicePresence while Salesforce doc says it is not supported. Can we package the trigger as well?
Trigger on UserServicePresence object can be created after we enable omnichannel. Can we package this trigger? As target org can be having omnichannel settings disabled.
Salesforce doc says trigger ...
0
votes
1
answer
94
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 ...
1
vote
1
answer
698
views
Error deploying mdapi to packaging org with a namespace
I had a SFDX project which I converted to follow the "sfdx-falcon-template" structure. I also created a packaging org that would be used as a base for my managed package.
Next I created a namespace ...
2
votes
0
answers
55
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 (...
6
votes
2
answers
1k
views
Error deploying mdapi flows to packaging org
I have 4 flows as part of my mdapi deployment from sfdx to my packaging org. I get an error on all 4 flows when trying to deploy.
I've tried deactivating them first, no go.
I've tried saving them ...
6
votes
1
answer
612
views
Can a managed package safely access custom objects that are not part of the package using dynamic Apex?
There seems to be a documentation inconsistency.
The Apex developer guide, in the section on "Understanding Describe Information Permissions" https://developer.salesforce.com/docs/atlas.en-us....