Questions tagged [package-install]
The package-install tag has no usage guidance.
158
questions
0
votes
0
answers
24
views
@future(callout=true) AppExchange Package is Deprecated, Details: The AppExchange package has been deprecated and can no longer be installed
I'm experiencing an issue when trying to make an asynchronous HTTP call within an Apex Trigger using the @future(callout=true) annotation. The objective is to trigger a package installation via an ...
0
votes
1
answer
27
views
Install package version via Metadata API in Apex class
I am doing automation on package installation after refreshing sandbox
Found and follow this one https://github.com/litify/apex-mdapi/blob/55d755fc0c7e8d519dc10a5a3fa21aa0d7bda17b/apex-mdapi/src/...
1
vote
1
answer
74
views
Trouble Installing new 2GP Managed Package from App Exchange
I have developed a managed package that integrates our web application into Salesforce. I recently moved to 2GP packaging and have the new listing active after recently passing Security Review. I ...
0
votes
0
answers
49
views
Need Help Speeding Up Package Installations in GitHub Actions
Hey Salesforce Community,
We're facing a challenge with our GitHub Actions CI setup, and we could use your insights to make it snappier.
Background:
We recently updated to the latest Salesforce CLI ...
0
votes
0
answers
10
views
Custom validation error during package installation with custom lightning app builder page template
I created a Custom Lightning Page Template and used it in the App home page.
Aura cmp file appHomeTemplate.cmp:
<aura:component implements="lightning:homeTemplate" description="...
0
votes
2
answers
24
views
How to fix [industries_mfg_common:mfgAnalyticsDashboard] attribute [dashboardName]: Error while fetching dashboards?
Have you encountered the following error message while attempting to install a managed package?
Error (1): Encountered errors installing the package! Installation errors:
1) (CustomRecordPage) ...
2
votes
1
answer
120
views
Unable to update managed package
We are having issues with updating a managed package after releasing a new version.
I logged a case with SF, long story short is they suggest we are best off just creating a new package.
The error ...
0
votes
0
answers
30
views
Why is the Post Install Script lookup field not visible on the package detail page (packaging org)?
Why is the Post Install Script lookup field not there on the package detail page (packaging org)?
1
vote
1
answer
81
views
Install Manage Package manually and then link it to the AppExchange one
I want to install a Managed package on a production org.
The first installation would be done manually, but later on, the same package will be available on the Salesforce AppExchange.
My questions are ...
2
votes
1
answer
127
views
2nd gen package profiles issue
I stuck with issue with choosing custom profiles when 2nd gen package is installed.
Package provides only 'No Access' and 'Full Access' settings, but in my project there are some custom profiles which ...
2
votes
1
answer
188
views
Upgrade of 2G Managed Package failing due to Data Not Available (contentasset)
Upgrade of 2G Managed Package failing due to Data Not Available (contentasset):
He example problem message from Salesforce email:
(app_logo) Data Not Available The data you were trying to access ...
1
vote
0
answers
30
views
Is it possible to prevent a certain flow from being auto-enabled when upgrading a managed package?
What the title says. I have a managed package that has a flow. Some of my subscribers have a different flow that does the same thing but uses a slightly different process so they don't need my flow ...
1
vote
1
answer
78
views
Subscriber stuck in 2GP Package version
I have the following branching for a package (2gp) ancestry.
As per Salesforce documentation, it seems like 5.72 is a dead branch, and we have plenty of customers using 5.72 at the moment.
Is there ...
2
votes
1
answer
139
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: ...
2
votes
1
answer
158
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 ...
0
votes
0
answers
41
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
143
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": "...
1
vote
2
answers
2k
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
95
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 ...
0
votes
1
answer
65
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
76
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 ...
2
votes
1
answer
2k
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
140
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 ...
0
votes
0
answers
79
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'...
1
vote
1
answer
430
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
960
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
678
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.?
1
vote
0
answers
108
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 ...
0
votes
1
answer
230
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 ...
0
votes
0
answers
54
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
1k
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
201
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
512
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 ...
1
vote
0
answers
35
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
184
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 ...
0
votes
0
answers
738
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
81
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 ...
0
votes
1
answer
583
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 ...
0
votes
1
answer
44
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
260
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,...
0
votes
1
answer
29
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
99
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
...
1
vote
1
answer
466
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
151
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 ...
1
vote
1
answer
210
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 ...
1
vote
1
answer
376
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
101
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 ...
5
votes
1
answer
1k
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
435
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 ...