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
0 answers
21 views

Managed package Custom App and tabs not visible on production org

I installed a managed package on Production org. After successful installation of the package, the custom app and custom tabs from the package are not visible in the app launcher(6 dots). This only ...
user avatar
1 vote
1 answer
22 views

Can the default value of a managed package global value set be changed in the subscriber org?

We have a custom Global Value Set (AKA Picklist Value Set) for countries that will be in a managed package and it would be great if the default value could be changed after the package installation. (...
user avatar
  • 130k
1 vote
0 answers
27 views

Including cache partition in managed package

I'm trying to include a cache partition in a managed package with "Provider Free" space allocated. In my packaging org I created a cache partition with a "Provider Free" value of &...
user avatar
  • 145
0 votes
1 answer
27 views

What directories does a sfdx force:package:version:create include?

I've typically worked where there is only one root directory in an SFDX project (force-app). So I've imagined that the packageDirectories in sfdx-project.json act as the source/sources of the files ...
user avatar
  • 130k
1 vote
0 answers
18 views

Packaging org removes Namespace prefix from element references of packaged Flows

We're developing a 1st generation managed package that includes Flows triggered by a Custom Object insertion. Previously we've been using Ant Migration Tool to deploy/retrieve metadata to our ...
user avatar
  • 11
4 votes
2 answers
45 views

Any way to list the contents of a 2GP (second generation package)?

I have an obscure error when installing a 2GP beta package about a component I don't expect to be the in the package. Is there a way to list the contents of a package given just a package version Id ...
user avatar
  • 130k
0 votes
1 answer
29 views

Cost of a Managed Package [closed]

I have developed a scheduling systems within salesforce that I would like to consider reselling. What is the cost to produce a managed package.
user avatar
0 votes
2 answers
26 views

How to remove 2gp package password using SFDX?

Can we able to remove the published package password or remove it? We have already submitted the package now we need to remove the password how to do it using sfdx. sfdx force:package:version:update -...
user avatar
  • 319
1 vote
1 answer
21 views

Is it possible to authenticate your packaging orgs using a connected app in your DevHub org using jwt auth flow?

We are using github actions and cumulusci as part of our ci/cd pipeline. In each of our repositories (packages in SF context), we have a .github/workflows folder and inside it are our yaml files that ...
user avatar
2 votes
0 answers
19 views

Cannot access salesforce namespaced protected custom metadata

I created a namespaced protected custom metadata to store API keys, it is working fine in my scratch orgs. However, when I am packaging it as 1GP and installing the beta package in a developer test ...
user avatar
3 votes
1 answer
48 views

External Service in a Managed Package Doesn't Work in Subscriber Orgs

I'm developing an api integration feature from Salesforce to an external web service in a managed package using External Service, Named Credential and Flow. The feature works in a packaging org but ...
user avatar
0 votes
1 answer
28 views

Getting error when creating 2gp package version

Getting following error Add components {Profile=[Admin]} back into the package version, and create the package version again. This is my current sfdx-project json of managed package : "...
user avatar
0 votes
0 answers
6 views

Can managed packages define objects you cannot create or update?

I am trying to create objects from a managed package via the REST API, and getting permissions errors. These objects are createable if I use the UI provided by the module to create them I can't find ...
user avatar
  • 1
0 votes
0 answers
17 views

Static resource callout mock with private resource from package

I am using StaticResourceCalloutMock with private resource from package and it gives me 'Static Resource not found' error. I have tried to use package name with namespace and without. But query static ...
user avatar
1 vote
1 answer
29 views

Failing to create managed package with prompts

I created in-app guidance in scratch org, pulled, and ran: sfdx force:package:version:create --package "{packageName}" --definitionfile config/project-scratch-def.json --wait 10 --...
user avatar
0 votes
1 answer
19 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
user avatar
-1 votes
0 answers
37 views

OAUTH server to server integration managed package

We are building a managed package (primarily to be used with Service Cloud) and require a server to server integration. We were looking at OAUTH grant type to achieve this and settled on either the &...
user avatar
2 votes
1 answer
39 views

In-app guidance for managed package

My goal is to create a walkthrough via in-app guidance for our managed package app. I created walkthrough of two steps: Prompt in an app page(VF page with lwc components) which redirects to 2. Prompt ...
user avatar
2 votes
2 answers
281 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.?
user avatar
  • 733
0 votes
1 answer
25 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
25 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
25 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
  • 197
0 votes
0 answers
39 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 vote
1 answer
24 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
14 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
1 answer
29 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
422 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
0 votes
0 answers
27 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
17 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
28 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
22 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
47 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
17 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
1 answer
22 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
34 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
13 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.3k
0 votes
0 answers
29 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
1 answer
33 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
19 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
31 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,744
1 vote
0 answers
33 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
20 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
34 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,232
0 votes
0 answers
34 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
44 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
42 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
15 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
  • 961
0 votes
0 answers
64 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
70 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

1
2 3 4 5
40