Questions tagged [package-install]
The package-install tag has no usage guidance.
134
questions
-2
votes
0
answers
31
views
How to automate the package installation/un-installation and upgrade using metadata API
I want to install, uninstall and upgrade managed packages automatically without manual intervention.
i am going through some documents in google, where it is specified this can be done with metadata ...
1
vote
0
answers
12
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
33
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
34
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
60
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
22
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
0
answers
24
views
What is the right/valid/good user profile to install package initially into clients' orgs
We are doing initial installation of our new managed package into bunch of clients' orgs.
The challenge here is that we need to log in into each org under real user and trigger installation. Using ...
0
votes
1
answer
43
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
25
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
77
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
15
views
I have error when trying to install managed package in any org " duplicate value found: <unknown>duplicates value on record with id: <unknown>charts "
So this error happens when i want to install my managed package in some organization.
The text of error :
(charts) duplicate value found: duplicates value on record with id: charts: duplicate value ...
0
votes
0
answers
187
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
32
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
130
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
22
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
92
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
21
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
18
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
172
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
157
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
36
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
79
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
84
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
33
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
630
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
160
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
36
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
149
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
40
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
335
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
31
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
50
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
209
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 ...
4
votes
0
answers
3k
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
421
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",
...
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
43
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 ...
4
votes
2
answers
988
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 ...
1
vote
0
answers
518
views
Strange email after installing a package
I installed a managed package on a scratch org and a little later got a "successful install" email that also stated:
Some components, such as custom objects, custom report types, and workflow rules,...
3
votes
0
answers
73
views
Marketing Cloud Installed Package JWT
We have a package ready to be published on app exchange and wondering if the JWT secret of the package will change for the users installing our package.
The JWT is hard coded in our Package.json and ...
3
votes
1
answer
2k
views
Can't assign permission set to my user after installing Salesforce Data Mask!
After installing the Salesforce Data Mask managed package in my org I get the following error when trying to assign the permission set to my user:
Can't assign permission set Data Mask to user ...
2
votes
1
answer
699
views
Running the packaged tests while installing with sfdx:force:package:install
Is there a way to run packaged or org tests when we install a Managed/Unlocked SFDX package to an org using sfdx force:package:install?
3
votes
0
answers
99
views
Deleted VF Page, now getting Salesforce has blocked this package upgrade error
We removed a Visualforce page and two components that were no longer used in our package, but kept the controller in and in tact with no changes. I know to delete the Apex controller you have to empty ...
3
votes
0
answers
261
views
Why can't I install my managed package beta into a sandbox?
We have a managed package on the AppExchange that various customers use. We develop this using SFDX and follow the usual processes of having unit tests with appropriate coverage etc. as required. As ...
2
votes
1
answer
5k
views
Error Occurred During Flow Action name not found: null. Need to force Class Compilation?
I've occasionally been running into a problem when installing a managed package I'm creating. A simple Screen Flow where at the end it is using an Action to call into an InvocableMethod I am providing....
0
votes
0
answers
37
views
Added my first package with API Integration Component. How to test an API call (SOAP or REST)? [duplicate]
I am a developer but I admit I am confused by going through the Marketing Cloud API documentation.
Inside our Marketing Cloud's installed packages, I created a new package and added an API ...
4
votes
0
answers
159
views
Could Unlocked Package installation delete or update Record Types of existing records?
I have an object A with record type a1 and a2. I made an unlocked package and installed it to production org. After a few days, the client comes with some other changes and I made another version of ...
2
votes
0
answers
489
views
SFDX Package lookup filter deployment issue
I am trying to create an unmanaged package which has one custom object with lookup filter on a master detail field.
<fullName>Contact__c</fullName>
<externalId>false</externalId&...
0
votes
1
answer
199
views
force:package:install --apexcompile package --- what are the pros/cons of using it
what are the pros/cons of using force:package:install --apexcompile package? Will the package installations be prone to errors? will it have a negative effect to the destination orgs? Can't find much ...
4
votes
1
answer
122
views
Is it possible to pass parameters into PostInstallScript?
The idea is to add parameters to the package installation link, for example:
https://login.salesforce.com/packaging/installPackage.apexp?p0=04txxxxxxxxxxxx&cutom_param=some_value
And then use ...