Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
8 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
23 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
0
votes
0answers
26 views

I Keep Getting The Same Error When Trying To Uninstall A Package - (Insufficient access rights on cross-reference id)

I'm trying to uninstall a package from an org, but keep getting the same error. This is the error I keep getting:- "Lead could not be removed during uninstall. insufficient access rights on cross-...
2
votes
1answer
33 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 ...
-1
votes
0answers
18 views

package version create stack to “InProgress”

I'm trying to create a new version of package with 2nd generation unlocked package, and facing a problem. Which status is "InProgress" for already a few hours. I can start a new version create ...
0
votes
1answer
23 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
41 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
30 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
29 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 ...
0
votes
0answers
27 views

how to resolve batch class on checkmarx FLS updateable createable

To pass checkmarx i had already revised this line of code but it continuously returns an error. Ex) Object: listF_SEEupdate in file: classes/ssss.cls L 305: if(F_SEE__c.sObjectType.getDescribe()....
1
vote
0answers
25 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
71 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
24 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
159 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
12 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
34 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
11 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
45 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
128 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
6 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
54 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
21 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
537 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
93 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
22 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
20 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
27 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
295 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
283 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
28 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
31 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
45 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
29 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
141 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
201 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 ...
0
votes
1answer
140 views

I created a Unmanaged package and uploaded…but while installing got this error

I have created a Unmanaged package with objects and other components. There is 1 page, 1 class and 1 test class in that package. When i try to install that package in Professional edition...i get ...
0
votes
0answers
99 views

how to use 2GP unlocked packaged for existing project

If I have got some existing code in my org which is not in a package yet. I might create one package in order to retrieve the data into the DX project. After that I can create an unlocked package ...
1
vote
1answer
795 views

how to retrieve specific Queues using package.xml [duplicate]

I have some Queues which needs to move to other sandbox. Please suggest the package.xml structure
0
votes
1answer
19 views

Unable to find the installed package

I created my first Lightning component and created a package , then upload that package and had a link available for installation. Then I tried to install that with a different organization and ...
2
votes
2answers
70 views

Can we find dependent components using apex?

When we create unmanaged packages, if we add a Lightning app in the component list, Salesforce automatically adds all the related components - Apex classes, Objects, Fields, Custom settings, etc. in ...
0
votes
1answer
17 views

Impact of deleting the custom fields with upgraded ManagedPackage

The ManagedPackage (Ex: MPV1) with few custom fields(Ex: C1,C2,C3,C4) in Account Object is created and installed in an instance(I1). I wanted to remove few customfields(Ex: C3 and C4) and recreate ...
0
votes
0answers
71 views

unknown error when deploying managed/unmanaged packages

Edition: Developer I have created a unmanaged package and then upgrade it to managed package(using salesforce builtin package manager), and deploy it to another developer edition successfully. But ...
1
vote
0answers
15 views

PostInstall script disappearing when building package

After specifying a PostInstallScript on a package, then building it, the field disappears while it's processing: It seems that it's not functionally an issue, as when the package is built it's still ...
2
votes
0answers
28 views

PostInstallScript with second generation package

Is it possible to specify a PostInstallScript, or UninstallScript, using the second generation packaging API? I haven't yet found any reference to it in the DX documentation, the SFDX project file ...
1
vote
0answers
19 views

Cannot install AWS Toolkit in sandbox

I want to install Force.com for AWS through the AppExchange in sandbox. I went through the below link for https://developer.salesforce.com/page/Installing_Force_for_Amazon_Web_Services for step by ...