Skip to main content

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.

125 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
1 answer
873 views

package:version:create - No such column 'Id' on entity 'User'

Suddenly our build is failing due to the package:version:create command. The error is really strange since none of our changes look to be related to it. Our CircleCI automation tool is able to push ...
M.C's user avatar
  • 63
4 votes
0 answers
445 views

Package Install custom validation error - can't use template with page type AppPage

Need help resolving a package install validation error. I'm installing a managed package (containing a newly developed custom app) into a test org for the first time. I get two of the following ...
el Jeffe's user avatar
4 votes
0 answers
107 views

What is the best way to upgrade logo of application and report in managed package?

E.g. client A have managed package v1.0 installed. Then you are releasing v1.1 with app logo changed. Currently, when you upgrade client A with v.1.1 logo won't be changed, since Document component is ...
Victor's user avatar
  • 413
4 votes
1 answer
421 views

Adding to Package - Data not Available

I'm trying to add the componets for a new package and I got this error: The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. ...
Airton Gessner's user avatar
3 votes
0 answers
2k views

How to Deploy Inactive Duplicate and matching rule

Before Data migration, we perform some pre-steps to migrate the data (data from source to destination Should be same) Deactivating duplicate and matching Rules is one of the steps we perform as the ...
Spande's user avatar
  • 81
3 votes
1 answer
503 views

OpenCTI runApex() fails in Lightning and Package

Our application uses the OpenCTI runApex() method to communicate with the backend. It works well in Lightning on our DE orgs. But then we uploaded a package and installed it in another org. There we ...
Antonio Grassi's user avatar
3 votes
0 answers
114 views

Managed package: corrupted permission sets?

Our managed package is failing to install in target orgs (DE, EE). The error that is thrown during installation is "Unable to Access Page", with a reference to one of the permission sets in the ...
ArtieBrosius's user avatar
2 votes
1 answer
33 views

Creating 2GP package version error: FlowDefinition entities not supported

When creating a 2GP package version, I get the following error. These entities are not supported: [FlowDefinition] I ran into this same error a long time ago, but I can't remember the details of how ...
Craig Carpenter II's user avatar
2 votes
1 answer
225 views

sObject type 'CronTrigger' is not supported in PostInstallScript

In my PostInstallScript I want to delete a Cron job but I got this error : The pull upgrade of your package failed. Here are the details: Error Message: common.apex.runtime.impl.ExecutionException: ...
MBehtemam's user avatar
  • 121
2 votes
0 answers
530 views

Custom Metadata Type - Custom Field - Picklist Values Not editable after packaging

I'm currently trying to figure out why we're unable to edit Custom Metadata Custom Field Picklist Values after packaging in another org. From my understanding, I should be able to edit these existing ...
Kevin Yao's user avatar
  • 117
2 votes
0 answers
698 views

Cannot modify managed object. Previous Value New Value

I promoted a package and while trying to push code to a new scratch org I get hundreds of errors similar to this one: Error force-app/main/default/objects/Real_Estate__c/fields/...
dev4life's user avatar
  • 520
2 votes
0 answers
220 views

jsconfig.json Problem in a Package Dependency

I have been trying to build (force:package:version:create) a package first-project which depends on an other package other-project of mine. I got the following error: Unexpected file found in package ...
willeg's user avatar
  • 313
2 votes
0 answers
1k views

Cannot add component to another package because it is installed so how else to move metadata without data loss?

I am trying to take out 3rd party libraries from a large monolith package called package M. These libraries are FFLIB, ApexMocks, ForceDI, and At4DX. Package M also has some code that references these ...
Strong Like Bull's user avatar
2 votes
0 answers
621 views

SFDX packaging - Report folder sharing settings

I am running into an issue while trying to install an unmanaged package / deploying metadata through SFDX. On the ORG I am working on we have Report Folders which should be initially shared with some ...
user1067017's user avatar
  • 1,017
2 votes
0 answers
203 views

Enterprise Pattern : AccountsSelector: @Override specified for non-overriding method: List<Schema.SObjectField> sptSObjectFieldList()

We have AccountsSelector class extending ApplicationSObjectSelector abstract class from at4dx library. ApplicationSObjectSelector class has public virtual method getSObjectFieldList() I have ...
Sonali takke's user avatar
2 votes
1 answer
1k views

Salesforce Community Migration : The label must be unique. Remove duplicates in routes/sfdcPage.json and try again

I am trying to migrate community from one salesforce environment to another. I am not able to migrate since I am getting the below error during the migration of the ExperienceBundle. The error message ...
Kamal's user avatar
  • 151
2 votes
1 answer
492 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. ...
SachiDangalla's user avatar
2 votes
0 answers
22 views

Connected App setting changes in manage package after installation, how we keep it same?

we have a connected app that has ‘Relaxed IP restrictions’ in this development org. It is part of the managed package. When I install it in another org, the connected app comes as ‘Enforced IP ...
Ravikant Kedia's user avatar
2 votes
2 answers
535 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 ${...
Xi Xiao's user avatar
  • 865
2 votes
0 answers
416 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 ...
Aidan's user avatar
  • 13.7k
2 votes
0 answers
672 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 ...
Mateusz's user avatar
  • 21
2 votes
0 answers
225 views

Combining multiple applications in a single package

We have 4 to 5 applications in a single org.Is there a way to bundle everything into a single package or should we create separate org's for each applications to create the same? Expert advice ...
Priyalakshmi's user avatar
  • 1,456
2 votes
0 answers
346 views

Adding customization on a standard field to an Un-managed package

I have added a bunch of custom pick-list values on the Type field on the Account object and want to make them available to the users who installs this un-managed package (ideally when a user installs ...
Mohd Nadeem Shaikh's user avatar
2 votes
0 answers
396 views

Falied to create new custom object using Force.com IDE

I have one force.com project with 2 new custom object to be created in the server. xmls for these objects like : <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <CustomObject xmlns="...
user59759's user avatar
  • 581
2 votes
0 answers
361 views

Error, "No package.xml found", when I try to save static resources and/or apex classes using Sublime 3 w/ Lightning package

I am working on a Salesforce project using Sublime Text 3 as my IDE. I've installed "force cli" to my machine and to Sublime Text 3 I installed the package "Lightning". On the "Lightning" menu ...
Dave Helgerson's user avatar
2 votes
0 answers
90 views

Structuring report package dependencies

I'm working on a managed package that contains several reports and dashboards, as well as custom fields on standard objects that power those reports. From what I know, reports and dashboards cannot ...
Chung Wu's user avatar
  • 345
2 votes
0 answers
65 views

Package not working on Sandbox

I have created a package and installed in different dev env it is working fine but when i installed the same package on a sandbox it getting error. Not able to understand why it getting error i tried ...
AnuRaj's user avatar
  • 2,482
1 vote
0 answers
15 views

How to use custom package in standalone Lightning Web Runtime Single Page application?

I created standalone LWR SPA with command "npm init lwr". It is possible to add npm packages in the project with command: npm install camelCase then use it in src/modules/app/app.js like ...
user149845's user avatar
1 vote
0 answers
28 views

Why are my SF CLI deployment errors in other language than English?

I'm trying to build an unlocked package and there are some errors received. I'm not concerned about the issues themselves though, the problem is that they are in German: [...] ...
Przemysław Długoszewski-Tamoń's user avatar
1 vote
0 answers
28 views

Untangling my org

Over these years, I have done numerous mini projects in my DE. To manage my changes better, I would like to split my org into multiple unlocked packages. However I intend to manage all the packages in ...
sgshankar's user avatar
1 vote
1 answer
33 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 ...
Dheeraj Varyani's user avatar
1 vote
0 answers
425 views

TypeError: this.config.plugins.filter is not a function - sfdx package install command not working

I have updated the salesforce CLi with latest version 2.21.8. After that, i am installing the packing using sfdx package install commpand but i am getting below error. Warning: Plugin @salesforce/...
Kishan Vadaliya's user avatar
1 vote
1 answer
59 views

Should you update custom setting as user in managed package

I am trying to update a custom setting in a managed package. If I try to update it "as user" it throws an error, cant see the error as it is in the installed org. If I update in system mode ...
Steve Fouracre's user avatar
1 vote
0 answers
182 views

"You can’t edit this Email Template ..." during update unlocked package

I created two versions of my package. In the first version, I added the Email Template LWC MyTemplate_1668678338227. Next, I created a second version with no changes. Right now, when I try to install ...
hsd's user avatar
  • 123
1 vote
0 answers
152 views

Unable to create a package version for second generation managed package

I'm trying to create a 2G managed package. The following were the steps I used sfdx force:package:create --name newManagedPackage --packagetype Managed --path force-app I was able to create a ...
User2529's user avatar
  • 703
1 vote
0 answers
46 views

Possible to maintain base and extension functionality in one Managed package?

I have created a base package as a Managed package, for which we are occurring licence cost. Now, On the Top of base base package, we have to provide advance functionality as an extension. For this as ...
Amol's user avatar
  • 673
1 vote
0 answers
296 views

Protected Custom settings in package

We create a package . We have an issue with a managed triggered flow that need to access to a protected custom settings of the same package , in our Scratch org the flow work . When we create the ...
Acher Klein's user avatar
1 vote
0 answers
639 views

Setting up service cloud voice but getting errors following the guide on creating a package (if installed, supposed to create contact center)

the guide is here: I am getting the following error when following this step: Create a Package Version sfdx force:package:version:create --package "<Package Name>" --codecoverage --...
user4343712's user avatar
1 vote
2 answers
1k views

Unlocked extension package version error "Invalid field name" for report metadata

Scenario: I'm creating an unlocked package that is dependent on 3 other packages: Package A - Managed base package (1st gen managed) Package B - Managed extension package (extension of base, 1st gen ...
bobbyt's user avatar
  • 497
1 vote
0 answers
118 views

Create Protected Metadata During Unlocked Package Version Creation?

My company owns a managed package with a feature licensed in the FMA. Inside the managed package we have a button the user presses to flip a protected metadata setting to enable the Objects/Fields ...
HartyeTech's user avatar
1 vote
1 answer
1k views

Error "filterlanguage: Invalid value specified: 1." when trying to create sfdx package version

I have the task of creating a sfdx package that includes various reports and dashboards. Sadly when I tried to create the package version I got this error for a lot of my reports: "filterlanguage:...
Nora Drexler's user avatar
1 vote
0 answers
364 views

Package Retrival is not working

We are trying to retrieve the package from Salesforce Developer org While performing the retrieve we are getting errors for the below components. [sf:retrieve] package.xml - Metadata API received ...
Spande's user avatar
  • 81
1 vote
0 answers
123 views

LWC Code Splitting/Bundling Strategy

Does anyone have any knowledge or resources describing how salesforce splits lwc code into bundle? If I have a large 1MB lwc, and it is used in several other lwcs, does salesforce extract that large ...
Elliot's user avatar
  • 205
1 vote
0 answers
136 views

Second Generation Unlocked Packages without Namespace not including components

I'm trying to create a package version for an Unlocked Package with no namespace specified. I can verify this works when running force:package:list and force:package:version:list. I'm including some ...
Anthony Wheeler's user avatar
1 vote
1 answer
449 views

You're trying to include Workflow in Package ver 0.2. This component already exists in Package ver 0.1, which Package ver 0.2 depends on

I currently have a child package which adds an email alert using an object created by the parent package. The parent package has no workflows at all, there's no directory named workflows/ either and ...
Rai's user avatar
  • 326
1 vote
1 answer
238 views

DX Package existing record types

I am moving existing metadata from an org into unlocked packages.I have ran into a problem when it comes to record types. Problem 1 Because each record type needs to know which pick-list values it ...
warbio's user avatar
  • 175
1 vote
1 answer
408 views

How to create a unit test for custom objects meta?

We are building a package that creates custom setting with reference to custom objects. Then we use settings to create records for these custom objects. How we can create unit test in the package for ...
Eugene Vabishchevich's user avatar
1 vote
1 answer
1k views

SFDX package list

My sfdx-project looks like this : { "packageDirectories": [ { "path": "force-app", "default": true, "package": "dreamhouse", "...
wih's user avatar
  • 23
1 vote
0 answers
2k 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, ...
Stijn's user avatar
  • 419
1 vote
1 answer
103 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 ...
zakuni's user avatar
  • 13