Questions tagged [unmanaged-package]
Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application
149 questions
0
votes
1
answer
29
views
I want to add components from my org to an installed unmanaged package in my org. Is it possible? [closed]
I have installed an unmanaged package in my org. Now I want to add an LWC Component in this org to the unmanaged package. Is it possible? If possible how to do that?
1
vote
1
answer
45
views
Converted VS-Code package to Unmanaged package
I just retrieved few components from an org via VS code for a fully functioning standalone CRM Analytics project. I was wondering if there are any tools or ways to convert this retrieved package () ...
-1
votes
1
answer
60
views
uninstall unmanaged package considerations
My understanding is that when uninstalling a managed package, that will basically remove everything, but this is not the case with unmanaged packages.
Salesforce does not seem to have documentation ...
0
votes
1
answer
126
views
Errors "Not available for deploy for this organization" and "Invalid type: AgentWork" when try to create a unlocked package
I've recently started working with Salesforce. I've made an omni-channel application and would like to create an Unlocked package that would deploy my classes, lwc components, and omni configuration. ...
1
vote
1
answer
59
views
Modify/Alter Namespaced Unlocked Package data and metadata
What I am facing is that, I have an Unlocked Package without a namespace and I am able to alter/modify in that package, but in another package which is namespaced I am not being able to make any ...
1
vote
0
answers
667
views
Package install error "We couldn't validate Custom Action"
I have this unmanaged package with a custom quick action (in a custom object) calling a flow. All details are part of the package (uploads correctly), but when installing in a fresh org, I got this ...
0
votes
0
answers
31
views
Install unmanaged package avoiding B2C capabilities
I have built an unmanaged package and I need to install it onto another Salesforce org.
We made a terrible mistake by enabling person accounts, and now I can't install the package because the ...
0
votes
1
answer
91
views
Insufficient privileges when adding fields in package (changeset)
I am getting an "insufficient privileges" error when adding fields (yes, just fields) to a package I'm building, despite the fact I'm system administrator using a DE (I am creating a brand ...
0
votes
0
answers
123
views
Deploying an Org Dependent Unlocked Package from Consultancy
We have a consultancy that may or may not update an org dependent unlocked managed package as well as a managed package. They made customizations on top of the package and we are trying to get all of ...
1
vote
0
answers
206
views
Type cannot be serialized - Working in unmanaged code, failing in managed package
I'm working with the following JSON:
{
"compositeRequest" : [ {
"url" : "/services/data/v58.0/sobjects/Case",
"referenceId" : "Parent",
&...
0
votes
2
answers
306
views
Salesforce packaging Error with no proper explanation
I am trying to create a package version and I started getting a error, which gives me no hints to what the problem is.
packageVersionCreateResult = {
"code": 1,
"context":...
0
votes
1
answer
249
views
Is it possible to create a managed package containing Integration procedures, flex cards, dataRaptors?
We have development that contains flex cards, omniscripts, integration procedures and some dataRaptos. When I want to create a 1GP package I can't find these components and I don't know if it is ...
2
votes
0
answers
475
views
Problem installing package upgrade "QuickAction - no QuickAction named SendEmail found"
The failing version of the package added a Global-Xyz Layout.layout-meta.xml file that starts with:
<?xml version="1.0" encoding="UTF-8"?>
<Layout xmlns="http://soap....
0
votes
1
answer
185
views
Salesforce CLI Command to delete Unmanaged Package
We are doing some early spring cleanup and need to uninstall some managed and unmanaged packages. I can use the CLI command below to delete the Managed packages using the Namespace prefix.
sfdx force:...
1
vote
0
answers
511
views
Set Home Flexipage as Org Default via the API
I have a new Lightning Home Page that I would like to push out to my customers and set it automatically as the Org Default via the metadata API. Salesforce documentation here makes it sound like its a ...
1
vote
1
answer
142
views
How do you organize your org metadata? - unmanaged packages, custom folder structure in SFDX....?
I've been considering ways to organize my company's SF metadata, with the goal of grouping together metadata that are specific to particular processes, while leaving out shared metadata.
SF has made ...
4
votes
2
answers
523
views
Any way to list the contents of a 2GP (second generation package)?
I have an obscure error when installing a 2GP beta package about a component I don't expect to be the in the package.
Is there a way to list the contents of a package given just a package version Id ...
0
votes
1
answer
771
views
Navigation Link Set deployment issue from Dev to Sandbox Account
I'm trying install an unmanaged Package from my dev org to a Sandbox org using the Package installation Link. The Package contains the Digital Experience Sites (communities) and a related dependency ...
1
vote
2
answers
538
views
Create Unmanaged package with dependencies
I have a commonly used object let's say object A it is being referenced in lookup's and formula fields. I have to create an unmanaged package without including "object A" how should I go ...
0
votes
1
answer
747
views
field names and namespace for unmanaged and managed package
Basically on my scratch org when I create a new field, this one comes prefixed with the namespace.
When I do the same in a packaged environment, the new field is not prefixed.
Why and how can I know ...
0
votes
0
answers
1k
views
"apexClass" is invalid. Provide the API name of an Apex class that includes an Apex data type supported in flows
We have created a unmanaged package to migrate to a new org. It builds the package successfully and it runs fine in the old org but when we go to install in the new org we get the following error:
(...
0
votes
1
answer
575
views
Deleting classes from an unlocked package
Is it possible to delete an Apex class from an unlocked package?
I have deleted a class from the sfdx project for an locked package. Then I've successfully created the new package version.
However, ...
2
votes
1
answer
2k
views
Single Org : Org vs Packaged Development Model for Greenfield Project [closed]
We are going to start a new greenfield project and we have identified that we will have single org model deployed with multiple apps built on it for different business units in organisation. One of ...
0
votes
1
answer
210
views
How to write test class for metadata which is dependent on post deployment steps?
We have a functionality in our managed package which is dependent on Knowledge__kav.
So we have an object Test which has a lookup on Knowledge object. And a custom permission CS1 which is given to ...
0
votes
1
answer
146
views
Load data into object after Unlocked package
I want to load some data into an object after a package gets installed. I tried using a post-install script but seems these only work for Second-Generation Managed packages and not for Unlocked ...
2
votes
1
answer
328
views
How to deliver a managed package with custom development?
A customer wants to install our managed package on its org and needs custom development that will impacts our package core components: Somes Classes + Custom metadata types.
Custom metadata types are ...
0
votes
3
answers
349
views
Can't upload unmanaged package
I created unmanaged package and when upload it I receive the following error: "Dependent class is invalid and needs recompilation: Class PageMessageComponentController Method does not exist or ...
2
votes
0
answers
107
views
Error creating a package version with Opportunity Teams
I'm trying to package an unmanaged package using opportunity teams, but each time I get the following error:
ERROR running force:package:version:create: Invalid type: OpportunityTeamMember
I tried ...
3
votes
2
answers
4k
views
Error: Reached maximum number of custom fields - When versioning DX package
We have included [AddCustomRelationships:10] to the scratch org definition file, however, the package versioning still fails with the following error:
"reached maximum number of custom fields: ...
2
votes
1
answer
189
views
Clarifications on salesforce 2g packages [closed]
I am working on 2g package generation and these are few questions troubling me :
Is it mandatory to keep metadata in namespace org to create 2g package version. What if namespace org is empty and all ...
0
votes
1
answer
987
views
Lightning Open CTI Demo Adapter - Partner Developer Edition
I have installed in a partner dev. edition the Open CTI (This org has namespace) the Open CTI package. I have made the configuration and added in the CTI Adapter URL the link:
https://MYDOMAIN-dev-ed....
0
votes
0
answers
317
views
Add new custom object to existing profile by metadata api
I have a few new custom objects in my unmanaged package and i want to give permissions to existing profiles in the target org. How can i do that? What i tried is the following xml file in my package:
&...
0
votes
1
answer
29
views
Where can I find a named report?
I have the following XML from a layout file:
<layoutItems>
<reportChartComponent>
<cacheData>true</cacheData>
<contextFilterableField>ACCOUNT_ID</...
0
votes
1
answer
240
views
Unmanaged package missing standard field picklist while packaging
While creating a unmanaged package from sandbox, some custom stuffs are not deployed.
a) Its missing order status custom picklist values.
b) Custom Action link and buttons are not set by default to ...
1
vote
1
answer
305
views
Optionally create new items in unmanaged package
I'm trying to create an unmanaged package that makes some modifications to Lead Layout, but it still includes "LogACall" and other actions that are standard in many orgs.
I would like ...
1
vote
1
answer
1k
views
While using sfdx force:package:version:create -codecoverage get erro: No such column 'SourceOrg' on sobject of type Package2VersionCreateRequest
so for background. We are working for client with SFDX and packaged. We have build 3 packages trough last 2 years. Everything worked fine until today. We have huge development for last 4 months and ...
2
votes
1
answer
502
views
When is it correct to use a <fullName> tag in a package.xml? What is the benefit of 'naming' an unmanaged package?
I am working on a project that involves deploying a sequence of Managed Packages and unmanaged packages (using an ant deployment).
As I was onboarded to the project, I noticed the unmanaged package....
0
votes
1
answer
162
views
How do I see number of downloads of my unmanaged package?
We supply an unmanaged package of reports and dashboards to our customers, is there somewhere I can see total number of downloads?
0
votes
1
answer
1k
views
Copy all Metadata from Sandbox to Production [duplicate]
How do you transfer all setting & metadata (not data) from a sandbox to production?
I have just joined a project which has been tested and approved by the client. My first job is to move ...
1
vote
1
answer
673
views
Possible to unlink source from an unmanaged package?
TLDR; Essentially I want to uninstall the unmanaged package but keep all the contents.
Here is the interesting scenario.
ORG_B was created as a spinoff of ORG_A. This was done with an unmanaged ...
2
votes
1
answer
927
views
Unmanaged package: publishing a new package version vs a new package
At my company we have published an unmanaged Salesforce package consisting of a number of Apex classes, Apex triggers, custom objects, and additional custom fields added to the Contact object. This ...
1
vote
1
answer
97
views
Cannot see Lightning Web Component in custom section of Page Edit
After following Trailhead instructions, I have been able to install an unmanaged package into Trailhead Playground and confirm that I can add a Lightning Web Component to a page (namely the ...
1
vote
3
answers
427
views
Can't add Campaign Influence Apex Trigger to packages?
I'm trying to create an unlocked package that uses an Apex trigger to create campaign influence records for a custom campaign influence model. I keep running into errors that seem to be caused by the ...
1
vote
1
answer
1k
views
SFDX Test Cases Failing only on Package Version Create
EDIT: If you are using a CI flow, ensure that it isn't creating profiles for you when running test cases. That was the main issue for me when using cumulusci.
I am trying to deploy a package version ...
0
votes
0
answers
164
views
How to scan the unmanaged package in salesforce using OWASP ZAP Tool?
How to scan the unmanaged package in salesforce using OWASP ZAP Tool. I am new to use Zap tool. I created a unmanaged package with Lightning web components and i am having installed package url. I ...
2
votes
1
answer
74
views
SF DX: create data when creating a package
While creating package version, I have a process that is causing the package build to fail because it references a message template record that is missing in the scratch org that is being built as ...
1
vote
1
answer
1k
views
Unmanaged Packages
I have an assignment to check pros & cons of managed and unmanaged packages. It's the first time i get into this part. I investigated pros & cons and in my dev org i created an unmanaged ...
2
votes
1
answer
541
views
Salesforce package upload failure "A change was made to the package after the upload was initiated. Upload the package again."
I created a package with a couple of flows and process builders. But when I try to upload it is failed.
The email alert states: A change was made to the package after the upload was initiated. ...
2
votes
0
answers
538
views
Unlocked Package - Modify Custom Metadata Type in Subscriber Org
I created an Unlocked Package that contains a Custom Metadata Type (CMT). When I install this package inside an org, I would like to give access to admins to edit this deployed CMT (e.g. - create a ...
0
votes
2
answers
308
views
Cascade Delete on Lookup in Unmanaged Package
Salesforce has the option to enable cascade deletion for lookup relationships. Thus, if you delete the parent in the lookup, the child will also be deleted. However, this option must be enabled on a ...