Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

Is it possible to create managed package referring to Org's custom objects?

I have a requirement to split project's code into two parts: Unmanaged part - mostly, it's custom data model. Should be editable in client's org. Managed part - wrapped in 2GP Managed Package. There ...
user avatar
0 votes
0 answers
18 views

how to get the appExchange package namespace and version details from listing url

I am working on package automation, to install/upgrade and uninstall the package through APIs. I am achieving this with a combination of metadata API classes and Tooling SOQL queries. i have a couple ...
user avatar
1 vote
1 answer
18 views

SFDX Push Error - You cannot add a master-detail relationship to a managed custom object

We have been developing a managed package which we are using 2GP and scratch orgs to build. This past sprint I had no issues pulling from github, pushing to scratch and proceeding with development. ...
user avatar
  • 187
0 votes
0 answers
20 views

no CustomField named Event.IsVisibleInSelfService found - Managed Package

Trying to upgrade the managed package from another Org getting bellow error. XXYY_Manager: In field: field - no CustomField named Event.IsVisibleInSelfService found XXYY_Manager is a Permission set. i ...
user avatar
-1 votes
0 answers
20 views

Manage package licenseing [closed]

I want to set up a licensing to manage package. It should be like who bought what. We have 3 type of license silver gold platinum. So who ever by gold package can use much more features than a sliver ...
user avatar
  • 3,671
1 vote
1 answer
19 views

how to get the package related information(namespace, version number) from installation url

I am doing automation on package installation, now I am able to install the package from apex using metadata service class by passing package namespace and version number, but i need to pass the ...
user avatar
0 votes
0 answers
12 views

How to migrate data from one namespace managed package to another within same org?

We have one managed package app with namespace xx__ installed on different organizations, but for improvement, we are creating a new managed package app with a new namespace yy__. Now we want to ...
user avatar
0 votes
0 answers
18 views

Creating second generation package - stuck on Initializing

When we try to create a second generation package using CumulusCi we get stuck on the initializing part. This use to work fine but stopped working all at once. The steps to recreate is below. We also ...
user avatar
13 votes
1 answer
383 views

Best practices for breaking 1 GP monoliths into 2GP modules

The wonderful capability to create 2GP Managed Extension Packages on top of 1GP Managed Base Packages is great luck for AppExchange partners that have built complicated and monolithic apps over the ...
user avatar
-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 ...
user avatar
0 votes
0 answers
16 views

Is there a way to give platform users read access over the PackageLicense object?

I am experiencing an issue when trying to use a feature in a managed package. From the debug logs it seems the package is querying the PackageLicense object. My read of the debug logs is that the user ...
user avatar
0 votes
0 answers
10 views

Using a package to deploy a change removed field tracking on custom field

One of our engineers deployed a change to Salesforce using the package system - namely a new field on the Lead object. However, a field that was part of the same package on the account object: CSM ...
user avatar
0 votes
1 answer
26 views

Who can modify a managed package?

Can managed packages only be modified by the people who distributed that managed package?
user avatar
1 vote
0 answers
18 views

Managed Package : Deploy Modified Picklist from one sandbox to another

I have modified a picklist (added new values) that is part of a managed package (Financial services cloud). Now I want to deploy this modified picklist to another sandbox which also has the managed ...
user avatar
0 votes
0 answers
43 views

"Dependant class invalid needs recompilation" error after upgrading to API version 53

I have upgrade some classes in my org to version 53, while deployment i get the error " Dependant class is invalid needs recompilation". As per the Salesforce article I have tried compiling ...
user avatar
0 votes
0 answers
14 views

Packaged Custom Metadata values Cannot be Viewed even though set to Public Visibility

I have added a custom metadata type to a managed package setting it's visibility to public and the records on it are not protected however I cannot see the records after I have deployed the package, ...
user avatar
  • 1
0 votes
0 answers
19 views

InstallContext isPush method cause Install Package Failed

In my managed package, I create a PostInstall class, in onInstall method, I have follow code: global void onInstall(InstallContext context) { if (context.isPush()) { } When install ...
user avatar
0 votes
2 answers
26 views

Licensing Around Apps

Here is a scenario and I would like to know how Salesforce licensing works. Client doesn't want to use any Salesforce product (CRM/Sales Cloud etc), except an app from app exchange. How the licensing ...
user avatar
0 votes
1 answer
10 views

I have Protected Custom Metadata Object Relationship field and I can't make it Unique

I have Protected Custom Metadata Object Relationship field and I can't make it Unique. When I try to make it unique and generate a new validated package version, I receive the following error: ...
user avatar
  • 13.2k
0 votes
0 answers
13 views

Packaging the TCRM app template

I'm currently working on a 2GP Managed Package that bundles Einstein Analytics (a.k.a. Tableau CRM) artifacts like templates, dashboards, datasets, dataflows. For Map Chart I have custom Map in ...
user avatar
0 votes
0 answers
23 views

give access to SetupEntityAccess, PermissionSetAssignment, CustomPermission sObject

In my code I am checking access to some sObjects. Sometimes it causing issue, because another License/Profile doesnt have access to SetupEntityAccess, PermissionSetAssignment, CustomPermission objects....
user avatar
0 votes
1 answer
32 views

Can't upgrade subscribers organisation, because of deleted report. Managed package

I have a Managed Package.This package have reports. Subscriber had deleted reports from the package, and when he is trying to upgrade his org, he get this error: Record_Page flexipages/Record_Page....
user avatar
0 votes
1 answer
14 views

How to Download Value From Browser Local Storage To Word Document using Visualforce

We need to download a MS-Word Document from a Visualforce page which needs to contain the information from the Browser Local Storage as well. How can we fetch and download the value from Browser local ...
user avatar
3 votes
0 answers
55 views

Packaging Einstein/Tableau artifacts in 2GP Managed Extension fails

I'm currently working on a 2GP Managed Package that bundles Einstein Analytics (a.k.a. Tableau CRM) artifacts like templates, dashboards, datasets, dataflows. When I upload a new version using SFDX ...
user avatar
1 vote
0 answers
29 views

2gp tests are failing with 'No such column' when trying to access current package field dynamically from base package test code

We have our 2gp package B which depends from package A. We've also added new custom field into package B but for custom object from package A, like extending base package object with our own ...
user avatar
  • 2,713
1 vote
0 answers
31 views

Best Practices for updating permission sets in managed package to reduce and expand permissions?

Per this article, we cannot update permission sets in managed packages: https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_perm_sets_profile_setttings.htm ...
user avatar
0 votes
0 answers
19 views

Automating Permission Sets for packaging with dependencies?

I am looking to create permission sets for my managed packages. I am finding it very time-consuming and error-prone for me to manually make sure that the permission set I am creating has all the ...
user avatar
2 votes
0 answers
30 views

Possibility to Install a managed package on production while package is under Security Review

We are working on a managed package, which we are planning to submit for security review in a few weeks. While the package will be in the security review, we would also like to install the managed ...
user avatar
  • 2,212
0 votes
0 answers
31 views

Trigger In managed package causing SOQL Limit Exception

We have a process builder on a object through which we are updating related parent contact field .When we try to update the field from the process builder a trigger is executed which is in managed ...
user avatar
0 votes
0 answers
27 views

ERROR running force:package:version:create: Expected file at path:

When the following command is ran sfdx force:package:version:create -v pbo -p "Accrue" -x --path force-app/main/default -f config/project-scratch-def.json I get this error: ERROR running ...
user avatar
0 votes
0 answers
28 views

How to update configuration file of LWC in a managed package

We have an LWC that is already deployed and in use by customers. The component does not seem to get a reference to the record ID in community detail pages, although it does in regular record detail ...
user avatar
  • 57
0 votes
1 answer
14 views

How to use third party packages in my managed app

I want to use the http core package by financial force https://github.com/financialforcedev/ffhttp-core in my managed package. I don't want the customer to first deploy the http core package before ...
user avatar
  • 951
0 votes
0 answers
50 views

Deploy LWC component of Unlocked package with namespace from vs code

We have installed the unlocked package(with namespace) into the org. We are trying to deploy the LWC component through VS code, which is a part of the unlocked package(with namespace). Instead of ...
user avatar
0 votes
0 answers
37 views

Email Alert When Package Installed In Your Org

When you install a package, the person who installed it gets the email from Salesforce - Your request to install package "Package Name" was successful. I would like to replicate this, but ...
user avatar
0 votes
0 answers
35 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 ...
user avatar
0 votes
0 answers
37 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/...
user avatar
  • 194
0 votes
2 answers
47 views

Call managed package apex class after retrieving namespace dynamically

So, I retrieved the namespace of the managed package since I know name of the class. But the question is how can I call the method of the managed apex class. Since the namespace returned is of type ...
user avatar
0 votes
1 answer
25 views

Need to update over 300 custom objects and disable "enableSearch"

I need to update about 350 custom objects and remove the flag for "enableSearch". We do not want users to search these objects so they will not get confused with the primary data points. I ...
user avatar
1 vote
1 answer
131 views

2GP Managed Packages don't notify on Unhandled Apex Errors

Other than the official documentation and related SFSE questions indicate the Error reporting of Second Generation Managed Packages (2GP) seems to behave differently that with 1GP. I want to make this ...
user avatar
0 votes
1 answer
49 views

Managed package Object not visible in my Profile>>Custom Object list

I have a managed package object and want to include it as one of the tabs. Unfortunately, I am not able to find the object when I go to Profiles>> System Admin>> Custom Objects. I also ...
user avatar
1 vote
1 answer
128 views

Issue with Dependency Package Picklist Value Not Found

I was facing issue while creating managed Package. Where my managed package has dependecy with one more managed package called Financial Service Cloud. While Building Package it is failing because of ...
user avatar
  • 2,444
0 votes
1 answer
47 views

Metadata.Operations.enqueueDeployment namespace error

My Apex code that does a Metadata.Operations.enqueueDeployment of some custom metadata records including in a 2GP managed package worked in a scratch org that had the namespace set, but fails when run ...
user avatar
  • 129k
0 votes
1 answer
44 views

"Org doesn’t have permission to display chatter photos on component" when installing managed package

We're getting this error message when installing our managed package into a customer org: Org doesn’t have permission to display chatter photos on component It's related to the deployment of a ...
user avatar
1 vote
1 answer
76 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 ...
user avatar
0 votes
0 answers
133 views

Lightning Web Security and postMessage

We are using postMessage to communicate a LWC with an iframe embedded in it. The content of this iframe is in the same origin. It's a static page loaded from a static resource. When we activate ...
user avatar
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 ...
user avatar
0 votes
0 answers
26 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 ...
user avatar
  • 2,713
0 votes
1 answer
222 views

"This list view isn't available in Lightning Experience. To see this list view, use Salesforce Classic or switch to another list view" error on search

We are getting 'This list view isn't available in Lightning Experience. To see this list view, use Salesforce Classic or switch to another list view.' error when trying to search records in a standard ...
user avatar
  • 449
0 votes
0 answers
11 views

Can we package a Big Object in base package and add new fields in an extension package?

I'm looking to collect stats from multiple objects and combine them into a singular Big Object for data processing. My architecture revolves around multiple Managed Packages with Big Object part of ...
user avatar
  • 5,596
0 votes
1 answer
25 views

Can we change the namespace case?

We are building a managed package and we have set a namespace for the package and the package is almost ready for security review. Our marketing department have come back to us to say that we need the ...
user avatar
  • 11.9k

1
2 3 4 5
40