Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [package]

A package is a container used to distribute something as small as an individual component or as large as a set of related apps.

0
votes
1answer
24 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
1answer
31 views

Missing feature [closed]

Installing this package requires the following feature and its associated permissions: Lightning Community Themes. But I have already added the theme in the package. Please provide a suggestion in ...
2
votes
0answers
35 views

SFDX retrieve source in Manifest from org

I installed the sf extension for vscode and got everything to run with the default package.xml. I exported the whole package from my org with the help of Package builder and inserted it to the package....
0
votes
2answers
28 views

Knowledge And Article Management Tab Visibility Deployment

I have enabled Lightning Knowledge post which I see two entries for Knowledge Tab Visibility in UI as highlighted below While I see only one Entry for knowledge Tab Visibility under the Admin.profile ...
0
votes
0answers
8 views

Firing an application event of package A from package B

I recently came up against a problem related to event communication between two managed packages. In my scenario, I am able to fire an application event from package A and handle it in package B. My ...
0
votes
0answers
15 views

Sandbox Package Manager: Add to Package Problems

I am having a very difficult time adding components to package manager. I am able to create the package, but when I go to add the components the page does not seem to want to load any of the ...
0
votes
0answers
15 views

Installing FSL Mobile Managed Package

I am installing FSL mobile managed package version 1.38 but its giving error while the installing. Does anyone have the package higher the version of 1.38 ? Aslo want to know the need of mobile fsl ...
0
votes
1answer
13 views

Creating a managed package from two managed Package

I have two different managed packages installed in my Dev org and now i have create an connector unmanaged package in it.Now i need to create managed package of all three .Is this possible?
1
vote
1answer
39 views

Einstein Analytics

I'm working on managed package where it is deployed to many users. We are now adding new Einstein Analytics Templates and dashboard in the managed packages. If end user don't have analytics enabled or ...
5
votes
1answer
37 views

Does daily package version limit count failed attempts?

Do failed attempts to create unlocked packages count against an org's daily package version creation limit?
1
vote
1answer
44 views

SFDX package list

My sfdx-project looks like this : { "packageDirectories": [ { "path": "force-app", "default": true, "package": "dreamhouse", "...
1
vote
1answer
52 views

Creating package version of package depending on some other packages

So i created package on two other packages. One is managed package from AppExchange named propel and the other is unmanaged package made on my production holding some of metadata that are there. So ...
1
vote
1answer
53 views

Unlocked package deployment fails to a sandbox org

I have an unlocked package which deploy succesfully to scratch org or empty dev edition org. The command is sfdx force:package:install --wait 10 --publishwait 10 --package ${packageName} -k ${...
1
vote
1answer
104 views

How to access existing custom fields from SFDX-managed unlocked package?

Long ago, I added a field Type__c to Contact on our production org. Now, I'm using SFDX to develop an unlocked package with code that refers to that custom field, like someContact.Type__c = 'Student'. ...
0
votes
1answer
37 views

Can't compile for a package

When trying to create or open a package in Salesforce I get the following error: Bad References Found Please press Recompile All or edit and resave the following items « Back to Package List ...
0
votes
0answers
12 views

Can we restrict the tab access in manage package?

I want to restrict the tab access to all user except who is installing the package. Is it possible to achieve this? Please advise on this.
1
vote
1answer
135 views

Deployment error regarding translations when generating package version

In a scratch org where the translation workbench is enabled, I added English as a supported language (the language for the organization is Japanese) and ran the command sfdx force:source:pull, which ...
0
votes
1answer
25 views

Where are the files from an unlocked Package?

I am doing to refactor on my project, to take advantage of the unlocked package (without namespace) from Salesforce. I was able to create a package, etc. The only thing I have troubles understanding ...
0
votes
0answers
12 views

CustomTabDefinition Error while uploading unmanaged package

We recently finished our Application and now my Task is to create a umanaged package. We got the tests & code coverage and so on. But when I try to upload the package I get the following error: ...
3
votes
3answers
244 views

SFDX - Moving to unlocked packages

We currently plan to make the move to pure SFDX and try to come up with a solid strategy to divide our metadata into unlocked packages. The main problem we encountered so far is that we don't know how ...
0
votes
1answer
77 views

Install Unlocked Package in DevHub

Per my understanding for using Scratch Orgs, you have to have a DevHub registered. When you have to install an Unlocked Package in the Production Org that is registered as DevHub, do you have to ...
2
votes
1answer
29 views

SFDX Listing Packages installed in Sandbox

I wanted to check if it is possible to list all unlocked packages in my salesforce sandbox environment. I can't seem to locate the command (if it does exist)
1
vote
0answers
27 views

Mismatching versions-error when trying to install unlocked package

I created a new version of my unlocked package and tried to install it into a scratch org. Unfortunately I get the error Mismatching versions.. From what I know this error comes up, when one tries to ...
1
vote
2answers
57 views

Managed package version on Sandbox refresh?

Our Sandbox has a newer version of a Managed Package than production. If we refresh our Sandbox from Production, will it revert the Sandbox to the older version? Thanks
2
votes
1answer
37 views

Fetch the missing package.xml in an open source unmanaged package

I found this open source repo, and want to fork from it for own usage. Then I realize that the package.xml is not present in the repo. It is excluded by .gitignore for whatever reason. I perceive ...
0
votes
1answer
38 views

Usage of namespaces for SFDX Projects

In the "Unlocked Packages for Customers"-Trail below "Simple Packaging Use Cases" it is recommended to create two completely new projects for the two different internal business applications (the ...
1
vote
0answers
147 views

Ant release Lightning page with components from managed package

I am trying to release my changes from Sandbox to Production using Ant. I have created a page using the Lightning App Builder containing components from a managed package. When releasing the page, ...
1
vote
1answer
36 views

Can't create package with approval flow

I'm using Salesforce DX and Second-Generation Package. When I add an approval flow, sfdx force:package:version:create will be Error. Which error message says that ProcessDefinition entity is not ...
0
votes
0answers
51 views

“managed installed class cannot be saved” on Unlocked package

I am adopting sfdx. And development was quite easy and straightforward. But the problem take it place when I've started to use packages. A version and package itself are both created successfully as ...
1
vote
0answers
40 views

Trying to deploy HEDA package in a scratch org

I'm trying to add fields to an object (hed__Affiliation__c) in the HEDA package. But when I install the package in my scratch org with the "sfdx force:package:install" command I can't see that object....
1
vote
2answers
436 views

How to get CompactLayout through metadata - Package.xml

I'm trying to get the CompactLayout through package.xml but I don't its retrieving here is my package.xml looks like: <type> <members>my_custom_object__c-my compact layout</...
1
vote
0answers
42 views

Does Unlocked Package support Person Account?

I'm having problem trying to create Unlocked Package with dependencies on Person Account. So, I would like to know if it is officially supported or not?
0
votes
1answer
33 views

How do I specify profile mappings on a PackageInstallRequest?

I have created an unmanaged package containing a Salesforce Platform Profile named "Foo". In the org where I am attempting to install the package, I have also created a Salesforce Platform Profile ...
0
votes
1answer
24 views

Standard custom fields

I have a totally new, untouched org (Partner Developer Edition). I was going to make some customizations but before I did I created a new unmanaged package. I happen to notice though that there are ...
7
votes
1answer
213 views

Second Generation Packaging Confusion

Bear with me but I am completely confused as the documentation is fragmented, not entirely specific, and contradictory in places. Background I am creating an unlocked no namespace package for our ...
0
votes
1answer
14 views

How to update a package in test environment after I changed it in development environment?

How to update a package in test environment after I changed it in development environment? After creating a package I forgot to add a few records of a specific Custom Metadata Type. Now I went to the ...
2
votes
0answers
84 views

Renaming a class results in an error from sfdx packaging 2

I've built a managed package using SFDX and the new packaging features. I recently did some refactoring on a public class in the package (note: public, not global) which included giving it a better ...
-1
votes
1answer
19 views

How to retrieve Version Number and Install Date of a specific Installed Package?

I'm building a VF page which will display information of the following details: Version Number of Installed Package - I got from Publisher Object (merging MajorVersion and MinorVersion gives the ...
0
votes
2answers
88 views

Unlocked Package install fails: Details: “Your requested install failed” (1259856384)

I have a quite complex package that I can not get installed on any org (Sandbox, Production, Scratch Org) ... The install always fails with the following error message: Install failed, Details: Your ...
7
votes
2answers
319 views

Unlocked packages behaving like managed packages

Sorry if this question has been asked before (please point me to the answer if that's the case). I have created and installed an unlocked package successfully in a scratch org. I want to go ahead and ...
0
votes
0answers
9 views

Access to custom fields of manage package in subscriber org's all profiles

Can subscriber org get's field level access of custom field contained in manage package to all the profiles? Or it depdends on what FLS you have selected for custom field on packaging org. If you ...
0
votes
0answers
11 views

Automatically get access to all the fields of custom object in manage package

In the subscriber org, the admin profile user automatically gets access to all the fields of custom object contained in manage package. Please share your thoughts on this as what could be the reason ...
3
votes
1answer
144 views

(SFDX - Package Version Creation) — These entities are not supported: (Site)

I'm currently trying to create a package version, but I'm encountering this error: These entities are not supported: [Site] The commands I used for creating a package and package version are the ...
0
votes
0answers
33 views

Unable to create record of public custom setting of manage package

I have a public list custom setting included in manage package. Salesforce standard User is not able to create the record of that custom setting after installing the package. How can I give custom ...
1
vote
2answers
1k views

SFDX: how to delete a package

In the documentation, there is a command sfdx force:package:create. This works. If I then issue the command sfdx force:package:list, it perfectly shows the package I just created. Now the question is, ...
2
votes
1answer
211 views

force:package:version:create: Cannot read property '0' of undefined

I created a package that contains some account customizings such as record types and custom fields for accounts, flows, custom objects and a couple of rest endpoints to expose functionality. I can ...
0
votes
0answers
36 views

SalesforceDX: How to fetch source code for specific package version from package dev org

I could fetch source code for latest package version from package dev org using the following command: sfdx force:mdapi:retrieve -s -r ./latestPackageVersionCode -p MyCoolPackage -u packageDevOrg -w ...
0
votes
1answer
38 views

Retrieve Package Name & Package Version of the Installed Packages in Org [duplicate]

Is it possible to retrieve Package Name & Package Version of the Installed Packages in your Org programmatically?
0
votes
0answers
29 views

After migrating page to other sandbox got error : View state size exceeded [duplicate]

I have VF page and a controller class working fine in my dev sandbox. The same functionality i am trying to migrate to completely different company's sandbox. I deployed all components through package....
0
votes
1answer
12 views

Can I add permission to new profiles after re-installing a managed package

I have a managed package which I have installed in Salesforce. Now I have some new profiles created. From what I understand, if I un-install the managed package and re-install it from all profiles, ...