Questions tagged [managed-package]
A managed package is a fully-upgradeable container used to distribute everything from an individual component to a set of related apps.
2,222
questions
0
votes
1
answer
23
views
Working with production record types in a managed package
I have to create some triggers and flows in a 2nd-generation managed package that reference a record type developer name. That's fine, except that the record types that I need to reference are ...
0
votes
1
answer
16
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 ...
0
votes
2
answers
63
views
Can we change Api Name of a field and change the Parameters and Return Type of an Aura Enabled Methods in a Patch Version
We have a Second Generation Managed Package which is live on AppExchange and we want to release a patch version with few changes. I have referred the Salesforce Documentation, still I have few doubts.
...
0
votes
1
answer
54
views
Error while creating package version
When I run sfdx:force:version:create command to create 2GP managed package version I got the following error in my Lightning Record Page:
“Component [console:relatedRecord] attribute [lookupFieldName]:...
1
vote
0
answers
30
views
What are Product Catalog and Contract Terms in Channel Order App
We have a Second Generation Managed Package which has passed the Salesforce AppExchange Security Review and we want it to be available as paid version where the payments will be handled by ourselves ...
0
votes
0
answers
53
views
Does registering a package in LMA impacts anyway if we use Channel Order APP to handle payments?
We thought of using AppExchange Checkout for handling payments so we have registered our Managed Package with LMA (License Management Application). We didn't publish our listing yet. But now we want ...
0
votes
1
answer
67
views
Does AppExchange Checkout works only for the Production Org (Paid Orgs)?
We have created a Second Generation Managed Package and we want it to be available as paid version on AppExchange Portal. So we thought of using AppExchange Checkout Platform, but in the ...
0
votes
0
answers
35
views
Does using Function (an Alternative to eval function in js) will impact Salesforce AppExchange Security Review
In our Second Generation Managed Package, we are using Function() as an alternative to Eval Function as mentioned in this link to evaluate an expression in Aura Component. Does it have any impact in ...
0
votes
0
answers
33
views
Custom App Deployed to Record Page causing layout issues
I have a custom app that I have developed and provisioned to an Account Record page (as well as other Record pages) in a custom tab (named "S" in the picture below). The small component ...
-2
votes
0
answers
63
views
Error "Entity is not api accessible" in second generation managed package and specific salesforce edition only
We are getting the error "Entity is not api accessible" in our second generation manage package. We tried getting help from salesforce support, but they are not replying.
Here is the ...
-1
votes
1
answer
66
views
AppExchange package versions
Maybe someone knows if it is possible to have multiple current versions on the AppExchange. The fact is that different customers need different package modifications (some different components and ...
3
votes
1
answer
50
views
Anyone having issues with "Package Not Found" messages?
This package can’t be installed. There are problems that prevent this
package from being installed.
The requested package doesn't yet exist or has been deleted. If this
is a recently created package ...
0
votes
1
answer
36
views
Unable to retrieve my managed package zip from my package development org (developer org - devhub)
I am trying to retrieve my managed package zip from my package development org (developer org - devhub) using the below command
sfdx force:mdapi:retrieve -u myDevHubUser -p MyPackageName -r
~/Desktop ...
1
vote
1
answer
53
views
Conflict Between Triggers on blng__Invoice__c: Billing Package vs. Custom Development
We have the Salesforce CPQ Billing package installed in our organization without any problems.
Since the new Winter '24 release, we have sometimes encountered deployment errors in our org due to the ...
1
vote
0
answers
70
views
How does Permission Sets works against Licenses of Managed Package
We have built a Second Generation Managed Package and want it to be available as paid version in AppExchange Portal. So If a user buys it from AppExchange, he/she gets the licenses to use the solution....
0
votes
0
answers
32
views
Deploying an Org Dependent Unlocked Package from Consultancy
We have a consultancy that may or may not update an org dependent unlocked managed package as well as a managed package. They made customizations on top of the package and we are trying to get all of ...
1
vote
0
answers
26
views
How to enable multi-language support for a LWC component? [duplicate]
I have created a custom LWC component in English language and added this component in a 2nd generation managed package. Component is working fine in English language but my requirement is to show a ...
0
votes
1
answer
59
views
Custom fields are not getting query from Custom Object after installing a 2GP managed package
I have created a 2GP-managed package that includes an Apex class with SOQL queries. But from one SOQL query, which is on a custom object, I am unable to get the data for custom fields from that custom ...
0
votes
1
answer
38
views
How or do we have anyway to run ValidateMetadata via REST API before creating package version
i'd like to do a check metadata validation in advance even before creating package version in each PR.
My question is do we have any way to do check
code-coverage
verify metadata
before creating ...
-1
votes
1
answer
75
views
Picklist value: Advertisement in picklist: AccountSource not found
There is something really strange, I got these errors after try to create patch update version
vctqs1@Thus-MBP erp-salesforce % sf package version create --package 'Manabie User' --installation-key ...
2
votes
1
answer
422
views
Test class in managed package is failing with Internal Salesforce Error: 415122577-6508 (-1655455180) (-1655455180)
When Managed package metadata is deployed to a scratch org and tests are run by automated pipeline, one of the test method in a test class is failing with following error "Internal Salesforce ...
0
votes
0
answers
29
views
Lightning App's description is not updated after package upgrade
As the title says, Lightning App's description is not updated after the package upgrade. But the documentation states that it's possible...
1
vote
2
answers
133
views
Managed Package Upgrade Strategy for Beta Versions or Promote Version
I'm currently working on developing a managed package and have encountered challenges with the upgrade process for Beta versions. When attempting to install a Beta version of the managed package in an ...
6
votes
2
answers
798
views
sfdx push Error - Custom Index - property 'booleanIndexedValue' not valid in version 56.0
When we try to push our existing code into the scratch org we are getting below error,
===============================================================================
──────────────────────────────────...
0
votes
1
answer
92
views
Best Practices for Managing Unlocked and Managed Packages in Salesforce Development
I'm new to Salesforce package development, and my team is currently following a package development model that involves both Unlocked and Managed packages. We're facing some challenges with setting up ...
0
votes
0
answers
48
views
Internal Server Error when deleting a Matching Rule
We have a production org with an old expired managed package, which we want to uninstall. In order to do so we want to delete an inactive Matching Rule, which we created a long time ago for one of the ...
0
votes
1
answer
29
views
How can you view details of a failed uninstall of a managed package?
I am trying to uninstall a first-generation managed package beta version, and am receiving an Uninstall Status "Uninstall Failed." Is there any way to view more details of why this is ...
0
votes
0
answers
35
views
Can't install a managed package because some components from the package are already present in a sandbox
The bottom line is:
a sandbox that does not have a managed package installed
some flexi pages with the namespace from the managed package are present in the sandbox
half of an Apex trigger on a non ...
1
vote
1
answer
46
views
Creating package version results in XYZ not available in this organization
In trying ot create a 2nd-generation managed package, I created a scratch org, added a custom meta data type, and tried to run the following to create a package version using the following:
sf package ...
1
vote
1
answer
70
views
Accessing value of a package-protected custom metadata type record from Apex
I have created a package-protected custom metadata type (sf_Assistant_Settings), a field (Value) and a record (API_Key).
I use it to store an API Key which is used when making http requests to an ...
0
votes
1
answer
61
views
Error Message: The post install script failed
I keep getting the PostScript Failed for the managed package we are testing. When I try and run I get an 'Attempt to de-reference a null object' on context (Line 3) but I am not sure how. Pulled this ...
0
votes
0
answers
23
views
I have a installed package Edit Quotas version 2.5 which is not working for new forecast type to edit quotas of a user
Installed Package Information:
Package Name: Edit Quotas
Version: 2.5
Publisher: Salesforce.com
Package Description:
It is used to add or change quotas for forecast types.
Issue :
This package only ...
0
votes
0
answers
40
views
Create a Connected App in Patch Org
I am trying to streamline our patch delivery process using first generation packages. I planned to write a CI/CD action to deploy changes to the patch org but I ran into an issue when creating a ...
0
votes
1
answer
36
views
No ATTRIBUTE named foo:bar.attribute found from a managed package
I'll try to be brief as I'm sure this is a basic skill issue with an obvious solution that I'm missing:
I have installed a managed package from AppExchange containing an aura component (From here on ...
0
votes
1
answer
27
views
Where to find best practice architectural design for managed packages
I am relatively new to managed packages, we have a 1st gen package that I am actively maintaining and I have noticed in one specific area there is a lot of global properties and methods. Which means ...
0
votes
1
answer
59
views
Issue in new CLI command, package version create
After updating to the new CLI version, unable to create new package version.
I am not getting any error, in a few seconds it's saying as created but actually it's not creating anything.
Let me know ...
2
votes
0
answers
28
views
Scheduled Job via Apex in PostInstall Class - Can we set the user?
When adding a schedule job via Apex in the PostInstall class of a package (via System.schedule), the job gets submitted by the package (ghost user), not a user in SFDC. Is there a way to specify which ...
0
votes
0
answers
31
views
Do we have to create duplicated default global actions for 2GP?
Problem Description
If I include a Layout metadata in my package which includes the default global actions, such as NewTask, NewEvent, etc. there will be an error trying to install the package (I'm ...
1
vote
2
answers
27
views
Is there any limitation on the number of dependent packages we can create with one main 2GP package?
I have created 2GP managed package and now we are looking for to create a dependent package. So, I would like to know if there any limitation of how many dependent package we can create with same 2GP ...
-2
votes
2
answers
63
views
Getting Error: first error: CANNOT_MODIFY_MANAGED_OBJECT, Cannot modify managed object: entity=ObjectPermissions, component=null, state=UNMANAGED: []
I am getting the below error while installing the managed package, and the post installation script is running.
First error: Insert failed. First exception on row 0; first error: ...
0
votes
1
answer
59
views
An Internal server errror has occured (visualforce page and managed package)
I am receiving following error when tries to open Visualforce page (ClientCollectiveInvoice) from managed package (Organization Id: 00D1x0000000My7):
An internal server error has occurred
Error ID: ...
4
votes
2
answers
240
views
Evolve global classes in 1GP Managed packages (e.g. add method)
I have a 1GP Managed Packaged with Released Versions (but no customers only Dev orgs) and it contains a global class with various abstract methods that subscribers could override.
global with sharing ...
0
votes
0
answers
39
views
View Connected ORGs metadata/data inside the Environment Hub
I have a question regarding Environment Hub. Somehow, how to view some additional metadata of Connected ORGs inside the Environment Hub ORG.
Managing users in all connected ORGs. If the user (...
-1
votes
1
answer
22
views
Are there any risks to creating custom fields on a Salesforce custom object from a managed package?
I've created custom fields on a custom object in my org that came with Agile Accelerator. I want to know if there are any downsides to doing this. My largest fear would be updating the package and it ...
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
1
answer
18
views
How to incorporate 2GP package metadata changes which is published but not submitted for security review yet
Below are the steps that I completed so far -
Created 2GP managed package, created package version, Promoted package, Connected App.
Yet to submit package for security review.
Below is my query -
...
0
votes
1
answer
80
views
How to Fix Security Violation AvoidGlobalModifier in a Promoted 2GP Managed Package for the Security Review
I did wrong and I promoted a non-security-review-ready version in a managed package.
I have a global identifier and if I try to create a new version without the it, it triggers a Global/WebService ...
1
vote
1
answer
114
views
"No package ID was found in Dev Hub for package ID: <ID>"
Getting "No package ID was found in Dev Hub for package ID: "
When trying to execute.
sfdx force:package:version:create -p "Alias" -d force-app --wait 10 --installationkeybypass -a ...
0
votes
1
answer
75
views
Free and paid tiers for AppExchange app
Is it possible for a paid AppExchange app to charge 0 USD for Basic subscription and > 0 USD for Premium? And activate the Premium subscription using the FeatureManagement functionality. What are ...
0
votes
1
answer
107
views
Retrieving Managed Package Components
Is it there anyway to retrieve managed package components like aura components and lwc?
I tried using VS Code but managed package components were not retrieved.
I tried retrieving all LWC & Aura ...