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.

4
votes
1answer
24 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
22 views

SFDX package list

My sfdx-project looks like this : { "packageDirectories": [ { "path": "force-app", "default": true, "package": "dreamhouse", "...
1
vote
1answer
26 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
29 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
41 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
31 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
71 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
22 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
8 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
109 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
50 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
27 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
22 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
39 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
35 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
27 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
88 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
33 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
36 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
32 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
183 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
35 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
32 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
188 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
58 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
13 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
1answer
72 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 ...
5
votes
2answers
212 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
8 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
97 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
25 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
856 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
150 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
28 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
32 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, ...
1
vote
1answer
381 views

SFDX dependencies are not installed

I have a problem installing dependencies from sfdx-project.json. I created a Second Generation Package and generated a new version. I specified dependency as follows: "dependencies": [ { "...
8
votes
1answer
358 views

How to remove a Package from my DevHub org?

I have created an Unlocked Package in my DevHub using force:package:create and installed it in a scratch org for testing. Now I can't seem to find a way to remove it. I really don't want it showing up ...
0
votes
1answer
29 views

Replace existing managed package vf page by extension package vf page

I have a managed package that is deployed in an org. In the managed package there is a vf page called ShowInformation.vfp that shows some records. Now, I have added new feature in ShowInformation....
2
votes
1answer
34 views

Managed package : can I create a patch for previous version major package

Let's say I have created a major package 1.2.0 and have added some new functionality with new components. I also have a package with version 1.1.6 without the new components and functionality. For ...
0
votes
1answer
61 views

Managed package namespace issue

I have doubts with name-space appending with few scenarios scenarios are: Dynamic SOQL Schema.getGlobalDescribe() : using SOBJECT Storing field in custom setting Field Values. Do I need to merge ...
0
votes
2answers
29 views

Remove and redeploy package

We have some problems with a custom (unmanaged) package (setup>build>create>packages) installed in our prod org (not downloaded from App Exchange) It references another package that has to be ...
0
votes
1answer
34 views

WSC Metadata File Creation and Clean Formatting

We are using Force WSC library in Java to create Metadata xml files. Functionality it is working as expected but the files it generates when serialized to file is not clean formatted (with lots of ...
4
votes
1answer
171 views

Are custom labels referenced only in Lightning Components automatically packaged?

This (not marked as delivered) idea Custom Label Auto Packaging in Lightning Components has a "Latest Comment from Salesforce" of: Farhan Tahir - 5 months ago This is coming in Spring'18!! ...
1
vote
0answers
240 views

Managed Package: Differences between quick actions and “Error: Cannot modify managed object: entity=QuickActionDefinition”

I have got a managed package, which I install on developer org to test it. After installation I can surely see the differences between the quick actions, which I've on my testing org and on the org ...