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
3 votes
1 answer
72 views

Get content of local Visualforce Page from managed package code

I have Manage Package, where is some logic which sends Emails with EmailFileAttachment ( using Visualforce page rendered as PDF ) to Customers. I want to add possibility to users to use theirs Custom ...
user avatar
0 votes
0 answers
33 views

Issue while installation of devops

I was trying to install devops in my developer org and enabled source control from devhub and installed devops. Enabled these permissions in the permission set for the system admin: Enable the ...
user avatar
  • 11
0 votes
0 answers
31 views

Unable to uninstall Concierge managed package

We've been trying to uninstall Concierge from our org. We were able to find a few objects stopping it from being deleted, but we are unable to find the others. Here are the errors we are getting:
user avatar
  • 27
0 votes
0 answers
20 views

Update the CSS of a managed package component added to community page [closed]

Is there a way to update the CSS of a managed package component added to a community page? I need to fix the alignment of the fields for the mobile view.
user avatar
0 votes
0 answers
20 views

Apex Action in Flow is not executing when it's being called under guest user context

I have a managed package in my Salesforce instance, and I'm trying to implement a flow that is a record trigger flow on Event__c (custom object). I'm creating the Event__c record by exposing a URL ...
user avatar
1 vote
0 answers
39 views

Possible to maintain base and extension functionality in one Managed package?

I have created a base package as a Managed package, for which we are occurring licence cost. Now, On the Top of base base package, we have to provide advance functionality as an extension. For this as ...
user avatar
  • 614
0 votes
1 answer
38 views

Unable to create package version from an unlocked package that has dependancies on another unlocked package (w/ dependancies with a managed package)

Apologies for the long title, but essentially I have an unlocked package (unlockedPackageB) that is dependencies to another unlocked package (unlockedPackageA). unlockPackageA has classes that refer ...
user avatar
0 votes
1 answer
15 views

Managed Package: Get test coverage for already uploaded 1gp package version

Is there any way to get test coverage for already uploaded version of 1gp package? E.g. for 2gp each successful package version creation returns in response coverage percentage and also it can be ...
user avatar
  • 2,793
0 votes
1 answer
34 views

2GP Managed Package : ERROR running force:package:version:create: while Verifying Metadata Invalid type: namespace__CustomObject__c

I am trying to create a managed package version for 2GP using salesforce CLI, after running force:package:version:create command I am getting thousands of errors in the terminal I am only able to see ...
user avatar
  • 3
3 votes
0 answers
90 views

"System.JSONException: Type cannot be serialized" error in a dynamic call across managed packages

We have two managed packages. One is a core package and another is an extension package. From the core package, we are trying to call a Global Batch Apex Class dynamically. When we try to pass a Set ...
user avatar
  • 107
1 vote
1 answer
18 views

How Managed Package license is counted

I want to know how managed package licenses work for the user who does not have license assigned. My questions are - Will the user be able to access an object from the package in any way through UI ...
user avatar
0 votes
1 answer
16 views

Are "Modify Metadata Through Metadata API Functions" and "Customize Application" permissions packageable?

I created a beta package with the "Admin" permission set. In the packaging org the Permission Set has permissions Modify Metadata Through Metadata API Functions and Customize Application. ...
user avatar
1 vote
1 answer
38 views

Waiting too long for Apex Tests results during Managed Package development

I was asked to put my team's project into 2GP Managed Package. This project is relatively big, so passing Validating metadata step during sfdx force:package:version:create was really a struggle. Now, ...
user avatar
0 votes
0 answers
15 views

How to identify which components were updated in the latest version of Managed Package?

suppose I have a managed package; it is upgraded to the latest version, Beta 2. Now, I would like to know only which components were updated in the latest version of the package. You can see the image ...
user avatar
  • 333
1 vote
0 answers
20 views

EmailTemplate is not accessible for community user in managed package

I wanted to send an email using one of my Email Templates from community user. The email template folder where this email template is stored has Read/Write access & is accessible to all users. if(...
user avatar
0 votes
0 answers
40 views

Are there any risks adding some custom fields on Standard objects in a managed package?

There is a 900 maximum hard limit on the total custom fields per object allowed from Salesforce Help Custom Fields Allowed Per Object doc. In that case, can my managed package be installed ...
user avatar
  • 519
0 votes
0 answers
18 views

AppExchange: API to search for package by keyword, get latest version etc

We are using couple external packages (mainly provided by SF Labs) as helper utils by installing them in every dev/qa/uat sandboxes along with deployment of our main app code. The process of sandbox ...
user avatar
  • 2,793
1 vote
1 answer
31 views

Experience builder pages in managed package , component type

after looking at this Is it possible to package Experience Builder Pages I am not sure about the "component type" to search, while creating a managed package, for these pages to add to the ...
user avatar
0 votes
0 answers
24 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
36 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
2 votes
0 answers
46 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
  • 235
0 votes
1 answer
34 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
24 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
52 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
2 answers
30 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
  • 329
1 vote
1 answer
23 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
63 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
30 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
30 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
32 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
39 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
2 votes
1 answer
50 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
298 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
  • 765
0 votes
1 answer
35 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
39 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
31 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
  • 317
0 votes
0 answers
55 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
28 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
17 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
37 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
437 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
35 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
23 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
52 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
27 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
55 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
18 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
23 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

1
2 3 4 5
41