Questions tagged [package-install]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
28 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: ...
  • 111
2 votes
1 answer
49 views

What happens at install time for Content Security Policy (CSP) Trusted Sites included in a package?

When Remote Site Settings are packaged, for manual installs there is a prompt at install time to confirm the add of those settings to the org. Looks like Content Security Policy (CSP) Trusted Sites ...
  • 133k
0 votes
0 answers
30 views

Remove Parent Package Dependency from child Package

Package Dependency there are 2 packages - A and B. B package is dependent on A. Package A exposed global interface Global interface A1{ Void print(); } Now package B used that interface and also ...
0 votes
2 answers
41 views

Is there a way to capture the Package ID using Salesforce CLI (sfdx) command?

I am trying to get the ID of a specific package name using the command below: PACKAGE_ID_CORE=$(sfdx force:package:list --targetdevhubusername HubOrg --json | grep -A1 '"Name": "...
  • 103
0 votes
1 answer
313 views

How to check if the managed package is installed for admin or for all users or for specific profile?

My client has 2 production orgs for different requirements. They asked me to install and set up one of the managed packages from App Exchange in 2nd org as it was in 1st org. How would I find that the ...
0 votes
0 answers
48 views

How to efficiently package email templates into 2GP

What is the best way to package email templates into managed packages, and allow to use them by admin (not necessarily by the one that installed the package) just after installing it? I was thinking ...
  • 113
0 votes
1 answer
46 views

Lightning Components Badge

I need help to solve this problem: I'm trying to complete the Lighting App Builder Trail... So, I'm doing the last challenge where ask me: So, when I'm going install package tab and paste it the ...
0 votes
2 answers
40 views

From post install script weird error: Not Serializable: System.Version stack trace External entry point

I execute a post install script and sometimes a weird error is happening: Not Serializable: System.Version stack trace External entry point I don't understand what is going on since looks like the ...
  • 14.7k
1 vote
1 answer
369 views

Package installation error: Could not find related list [Histories] for entity [Contact]

I'm trying to install a package on a scratch org, but failing at Could not find related list [Histories] for entity [Contact]. My project-scratch-def.json looks like the following: And I have also ...
0 votes
1 answer
42 views

Sandbox Vs Sandbox Template

I am integrating a native app - inspire Planner- into my org. I have a Partial Sandbox that I want to install it into. I am looking at the documentation and trying to understand the difference between ...
  • 1
0 votes
1 answer
343 views

Couldn't install a package from Appexchange although having salesforce account linked to trailblazer

I was going through a module in trailblazer in which I have to install a package called "In-App Guidance: Boost Sales User Productivity in Lightning Experience" in order to use prompts and ...
  • 1
0 votes
0 answers
41 views

Queue multiple PackageInstallRequest to be installed in order?

I can create multiple PackageInstallRequest records via the Tooling API to queue the installation of multiple packages, but the packages are installed in an indeterminate order. Some of the packages I'...
  • 879
1 vote
1 answer
265 views

insufficient access rights on the entity: Prompt

Installing a managed package in sandbox and getting the error:insufficient access rights on the entity: Prompt I am a system admin with modify all data. I have checked under setup and am unable to ...
0 votes
1 answer
356 views

This package can’t be installed. Error on Upgrading the Package

Iam trying to upgrade the package in destination org getting This package can’t be installed. error. Below screenshot for your reference
2 votes
2 answers
485 views

Maximum Number of Packages That Can Be Installed

Is there a maximum number of managed packages that can be installed in a single org or is it unlimited as long as the org stays under the other limits for objects, apps, etc.?
  • 805
1 vote
0 answers
64 views

How is the SubscriberPackageVersionId dependency of *installed* package not found in my org's list of installed packages?

Short: Another way to phrase this question: How to query against a SubscriberPackageVersionId to discover if it is the latest version of said package TL;DR; I've created a Powershell script that ...
  • 509
0 votes
1 answer
122 views

Install Package Error

Could not find entity [ApiAnomalyEventStore] Employee: Component [flexipage:filterListCard] attribute [entityName]: Could not find entity [ApiAnomalyEventStore] I am trying to install a package and ...
  • 1
0 votes
0 answers
49 views

PcakgeInstallationCommand is failed with "No TOKEN named force:base.cardSpacingMargin found"

PackageinstallCommand is failed with below issue, CLI Version: SFDX-CLI 7.96.1 ERROR: Encountered errors installing the package!,Installation errors: 1) (intelligentDiscoveryStatus) No TOKEN named ...
1 vote
1 answer
664 views

What happens to the Client Id and Client Secret in the connected app for the package subscriber?

I have created a connected app in my org to perform the REST API call to the Metadata API. Now if I will make this connected app as part of my 2nd Generation Managed Package, Now my question is - Will ...
0 votes
0 answers
148 views

I am trying to create package version for 2GP and am getting this error "No matching source was found within the package root directory"

I am trying to create package version for 2GP using salesforce CLI as well as VSCode and I am getting this error "No matching source was found within the package root directory" Following ...
0 votes
1 answer
206 views

What is the reason and resolution for package uses old Order Save Behavior?

My client asked why certain subscribers of the package I build on behalf of my client, cannot install the package. When they try to install the package, the following error appears Can't install the ...
  • 14.7k
1 vote
0 answers
34 views

RDKit not working on Heroku

I want to deploy a Flask app on Heroku that uses the RDKit package. I installed it with the requirements.txt and it worked fine, but since the new version rdkit-pypi==2021.9.2 it doesn't work anymore. ...
3 votes
1 answer
115 views

Best way to detect that code is running in InstallHandler context?

Implementing an InstallHandler allows a managed package to execute setup Apex code on install or upgrade of the package. I'd like to have some unrelated code - a trigger - behave differently for this ...
  • 133k
0 votes
0 answers
434 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
0 answers
66 views

Inserts of ObjectPermission or FieldPermission fail in an InstallHandler - is there an InstallHandler alternative?

Code that inserts ObjectPermission and FieldPermission SObjects through normal insert calls (on a permission set that is also created) works fine in unit tests and through the developer console. That ...
  • 133k
0 votes
1 answer
386 views

Impact of uninstalling installed package from production on sandbox?

I have to remove all of the installed packages (mostly managed packages) from Production. Reason: Some of the packages are unwanted now and for others a different package version(not higher) is ...
  • 427
0 votes
1 answer
36 views

Is there a way to install remotely a Package in an Org?

I'm wondering if there is a way to install a Package in an Org but remotely, not by logging me into the Org itself. Let me give you an example. Let's suppose I have: Org A Org B Org C and I want to ...
2 votes
2 answers
194 views

SFDX or API Call to Install Package using Profile Mapping

We are an OEM provider and therefore control both the package and the destination orgs. Our packaging org has 3 profiles and we add permissions to those 3 profiles when creating new components (fields,...
  • 141
0 votes
1 answer
23 views

App's manual Package instalation

Is it possible to download package and install it in different org without going throw security review in AppExchange? I mean, for testing purposes, download package drom original and install it ...
0 votes
0 answers
45 views

NPSP: Why is Meta Deploy telling me I don't have the right permissions?

I'm using Meta Deploy to install the Enhanced Recurring Donations in production in an org I work with. I am getting an error message that says I don't have the permissions necessary to do the install. ...
7 votes
1 answer
173 views

Spring '21 Aura component problem at install time

We have a problem with some unchanged code that will now not install in Spring '21. The problem might relate to the naming of a base component that we called "action": <aura:component ...
  • 133k
1 vote
1 answer
310 views

Can I Install a Salesforce Package, that is dependent on another package, without installing the dependent Package?

I'm fairly new to Salesforce. I've created a package, say OMI. The Package OMI is dependent on the package LTI. For some reason, I can't install LTI (LTI is in development). Can I just install OMI ...
0 votes
1 answer
88 views

Unlocked package is not fully deployed

I have unlocked org-dependet package. There are some layouts on org, for example: Account- layout A, Account- layout B, Account- layout C, Account- layout D, Account- layout E Then I retrieve theese ...
  • 63
1 vote
1 answer
131 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 ...
  • 99
1 vote
1 answer
210 views

InstallHandler not being called

I have a dummy InstallHandler, just to test, like this: global class PostInstallHandler implements InstallHandler { global void onInstall( InstallContext context ) { if ( true ) ...
0 votes
1 answer
65 views

Used license field is not getting updated in LMA

I want to track the used licenses in LMA and I believe that is handled by LMA itself. But somehow my Used Licenses field is not getting updated in LMA. Now, as per Salesforce documentation this field ...
  • 205
5 votes
1 answer
938 views

Disable "Enable New Order Save Behavior" on newly created Dev or Trial Org to be able to install Salesforce CPQ

I'm trying to install Salesforce CPQ in a new Trial or Dev org, but it fails with the following error: "Can't install the package. This package uses old Order Save Behavior and can't be part of ...
0 votes
1 answer
277 views

Cannot install custom metadata types to another org

I am performing a few REST calls in my lightning app. And the urls and tokens for REST calls are stored as custom metadata types and I query the values before making the REST call. I created a managed ...
2 votes
1 answer
39 views

How to migrate bug fixes in Released Managed package

I Created Released managed Package in DEV ORG, and Installing the Package in New DEV org and testing the Functionality. I Encountered a issue in Installed org, Same issue has replicated in Development ...
2 votes
1 answer
249 views

Managed Package Released Type

When I click on Upload button in Managed Package It's asking Release Type, Managed- Released and Managed -Beta In Managed - Released they have mentioned Note: you will not be able to edit some ...
0 votes
0 answers
48 views

I Can't install my Unlocked package application

I'm trying to build an unlocked package with a custom namespace. I've create a package and a package version. but when i'm installing the package version i got this error: This app can't be installed. ...
4 votes
1 answer
586 views

Is there any way to make a shell script to automate creation and preparation of a scratch org wait between steps?

I have the following shell script: sfdx force:org:create -f ./config/project-scratch-def.json -a ScratchOrg sfdx force:package:install --package 04t0M000001mF9bQAE -u ScratchOrg sfdx force:package:...
2 votes
1 answer
32 views

When a former employer or consultant installed a managed package which can't easily be identified, how can I get the package Id?

I've recently joined a company with several manage packages that are deeply integrated into our solution. Before we can deploy any meaningful subset of metadata to a scratch org it is absolutely ...
0 votes
1 answer
67 views

Is it possible to automate deploying SEPA Toolkit to scratch orgs?

Our org is heavily dependent on Opportunity. Our Opportunity trigger logic has dependencies on the SEPA Toolkit (listing Id a0N3000000B4bYzEAJ), so we need a way to install this package either before ...
0 votes
2 answers
304 views

Managed Package - how to update App Logo

I have VSC with Github Repo as our Source of Truth. In my Packaging Org, I updated our logo in App Manager. 1) How do I get that change in my VSC so I can push to Github? 2) I clicked Upload to ...
5 votes
1 answer
5k views

Install for "All Users" vs "Admin Only" (Salesforce CPQ)

I've been going back and forth most of the day today with both Salesforce's CPQ Team AND our implementation partner with regard to whether or not we should install Salesforce CPQ for All Users, or ...
2 votes
1 answer
940 views

Getting error while installing an unlocked package in a Scratch org

sfdx-project.json -> { "packageDirectories": [ { "path": "force-app", "default": true, "package": "GIFter", "versionName": "ver 0.1", ...
  • 119
1 vote
1 answer
36 views

How to package sites so it is available to other Orgs who installs my app?

In my salesforce app, there is an options to send emails to the user. The email contains a link on which when the user clicks, goes to a url and shows a visualforce page. The url is a Site Url, which ...
0 votes
1 answer
71 views

Auth provider is showing in "Included by" tab as "Refresh to view"

While making a package, my Auth Provider is showing value as "Refresh to view" in "Included by" tab . On refreshing also its not changing. Thus on installing the package to another org, the auth ...
  • 158
4 votes
2 answers
2k views

How to speed up scratch org creation when it includes installed packages

We are just setting out on our journey with 2GP. Our first 2GP is a new "extension package" that integrates our core product (an existing 1GP) with a third-party product (another existing 1GP). As ...
  • 31.4k