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
1answer
13 views

Is pushing additional file to a sandbox where a managed package is already installed causes any issue?

I am studying managed package and the package lifecycle is the client's org. I am a little confused. Say, I push upgrade a major update of an app that is installed in the client org. Will the customer ...
2
votes
0answers
11 views

Control Number of Managed Package Custom Object records that can be created using Licensing

I'd like to control the number of namespace__Team__c records that can be created using either the LMA or FMA for our Managed Packaging. We could write a Trigger to control/limit the number of records ...
1
vote
0answers
15 views

AppExchange package license expired - access to managed package records

I have an AppExchange app in my org for a few years now. This app has custom objects and I have a lot of records in them Today I have access to these records through Salesforce UI and with SOQL ...
0
votes
0answers
19 views

Removing or restoreing package name

In the first part id the tutorial bellow, created a package name for my account. Then i realized that probably all the components i already had would stop working, so i deleted that prefix, and ...
0
votes
0answers
15 views

Getting an error while creating unlocked package with --codecoverage option in salesforce

As per the current requirement new versions of packages can be created only buy running the sfdx force:package:version:create with --codecoverage option, however I am getting an exception related to ...
0
votes
1answer
36 views

How can I write a post install script in apex that creates named credentials?

I would like to understand: If we can write a post install script to create a named credential that is required to be able to view a certain report in the managed package(the report feature that I am ...
0
votes
0answers
17 views

Error in calling controller to upload signature: 882: unexpected token: /

I've setup s-sign and s-docs in our org. Documents are generating properly and e-signature email is also generated. But when the signer submitted the document after signed, he/she will see following ...
0
votes
1answer
41 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 ...
1
vote
0answers
33 views

2GP: Filtered report charts in Lightning Record Pages can't be packaged and working

In a 2nd generation managed Package, I want to include Filtered report charts in Lightning Record Pages, but I either can't package them because the filter is namespaced, or the filter is broken in ...
2
votes
1answer
18 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 ...
0
votes
0answers
12 views

Manage Packages Listing With Dependency?

I am currently building a app to publish in market, done with with my development based on 2gp model, but I am confused on final listing for security review that, Which package needs to be on listing ...
2
votes
0answers
34 views

Scheduling a Managed Package Class from Anonymous window getting Invalid Type Error

I have a "SchedulableClass" class in a managed package. I want to schedule the class to run for every 5 mins in my org by Anonymous block, Below is the code System.schedule('Schedule Job ...
0
votes
1answer
14 views

How to access custom REST controller in managed package via Site [duplicate]

I had a custom Apex REST controller which was made available by a Site https://xxx.umx.force.com/site-name/services/apexrest/urlMapping But now I've added the Apex class into a managed package, I ...
1
vote
1answer
35 views

Connected App for Api integration with Service Provider. Need advice from ISV specialists

I'm new to ISV development, so need some advice regarding the development process with the Connected App and Managed Package. I have Service Provider which integrates with Salesforce, I'm using ...
1
vote
1answer
141 views

Code coverage mismatched while 2gp packaging

I am currently trying to deploy my final release package but error stats that i don't have minimum code coverage to promote package. But when I create scratch org and run all test I could see no ...
1
vote
0answers
21 views

Including Lightning Message Service in Managed Package?

I am attempting to make use of the Lightning Message Service to pass events between components when various actions occur (e.g. Sending an email, or authenticating the app. The Salesforce docs suggest ...
0
votes
2answers
42 views

Create 2GP package version with multiple dependency

I have below JSON file having more than one package dependency link to single package. When a package has single dependency it executed without error but if a package has two dependency I am getting ...
1
vote
1answer
22 views

Salesforce Custom label for lightning component does not kick off localization

We have managed package with lightning component hosted in VF page via lightning out .Localization does not kick off for non-english user .This works perfectly fine in scratch org but not with the ...
2
votes
0answers
19 views

Issue deploying flow templates as Inactive in Package when there is a Subflow

I have a Managed Package with two Flow Templates. FTParent is a parent flow template, and the other (we will call it FTsub) is also a flow template. Initially, they were both packaged as Active, and ...
2
votes
1answer
24 views

Error while creating unlocked package

I got a requirement to create second generation managed package with namespace prefix, I created a developer edition, enabled Devhub and created second generation package, but later the requirement ...
1
vote
0answers
21 views

LMA - unable to login on Subscriber org

Are you aware of any issue or new restriction introduced recently to log on Subscriber? I granted access to our company, logged out, and then logged in our LMA, then I opened the Subscriber using the ...
1
vote
1answer
55 views

How to write to static resource (text file) in Managed package

How to write to a static resource (text file) in a Managed package In my developer org, I can read and write a static resource file by a visualforce page. I make a managed package of them, then ...
2
votes
2answers
59 views

Consolidate Multiple Manage Packages With Dependency?

I am currently building a app to publish in market, done with with my development based on 2gp model, but I am confused on final package creation that Should i need to create single manage package ...
0
votes
0answers
30 views

Custom Setting read and write access

I have a lightning component in a Beta Managed Package that uses a Custom Setting to define in which unit a value is shown. When using the component, the user has the option to click on a button that ...
3
votes
1answer
124 views

Why can't we package custom AuthProvider in Managed Package

My Managed Package app connects to an external REST API. This API uses OAuth2. For easy connectivity, I planned on packaging a custom AuthProvider with all the app-specific settings like URLs and ...
0
votes
1answer
24 views

Is there any way to remove overrides for standard buttons by APEX code?

I'm developing the managed package, which contains some extended lwc form for new account creation. Reassign "new" button on account object is manual operation (after managed package ...
2
votes
1answer
76 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 ...
1
vote
1answer
27 views

Why delete package command not working?

I am trying to delete freshly created package, but error code says delete is not a valid command. But it's available in official document Update Still not working even after installing pre-release ...
1
vote
1answer
40 views

Managed Package - Protected Custom Setting for storing creds - Security review

I have created a managed package where I used a protected Custom Setting of hierarchy type to store some user credentials. I am concerned about security review of the app. Is there any chances of ...
1
vote
1answer
37 views

Managed Package, Security Review and LWC DOM Manipulation

I started developing a managed package and I need to manipulate the DOM in a Lightning Web Component, In the component HTML, I added lwc:dom="manual" to the target element and everything ...
0
votes
1answer
21 views

Failed package upload: permission set references Payment that has M-D relationship with Account

I am trying to upload a managed package, it is failing validation and complaining that my permission set references the blng__Payment__c object that has a M-D relationship with Account. <Permission ...
1
vote
1answer
23 views

Possible to unlink source from an unmanaged package?

TLDR; Essentially I want to uninstall the unmanaged package but keep all the contents. Here is the interesting scenario. ORG_B was created as a spinoff of ORG_A. This was done with an unmanaged ...
3
votes
1answer
52 views

FLS check in 2GP

I've created a new 2GP package. Since it is going to be released to AppExchange, I've implemented a generic CRUD and FLS check for every place I contact with the Database in my Apex code. e.g. ...
0
votes
1answer
34 views

Managed package with LWCs - options for dealing with configuration settings

I'm shipping a managed package that will include a lightning app with a few lighting components to configure some "master org level settings". I have an external application that will need ...
1
vote
0answers
40 views

Packaging a custom label as unprotected

Is it considered against best practices if I package a custom label as unprotected? The requirement is that the subscriber org is trying to access the value from a custom label from the managed ...
1
vote
1answer
41 views

Selecting between 1GP Managed, 2GP Managed, 2GP Unlocked Package

My company needs to be publish a set of Salesforce packages that enable two way integration between Salesforce and a proprietary student registration system. These packages will be installed by ...
2
votes
1answer
36 views

Can I import javascript from outside of my managed package into a LWC in my package?

In our managed package, we have a particular page where we have some default javascript that runs some calculations on some fields as you type and I am in the process of converting this page to LWCs. ...
1
vote
0answers
77 views

Lightning Container Component: Author Apex Permission: Managed Package

We have an aura component which uses third party javascript library to display an external component in custom tab. We have created admin persona(not system admin) for the application who accesses ...
1
vote
1answer
83 views

Packaged Interface cannot be instantiated after critical update “Restrict Reflective Access to Non-Global Constructors in Packages”

We have a global apex interface in a managed package that enables a subscriber org to transform a field value during a calculation in our package. global interface CustomCallable { Object execute(...
0
votes
1answer
32 views

2GP managed package: cannot create a patch release

We have an "extension" package that integrates our managed 1GP with a third party managed 1GP. This "extension" package is realized as a managed 2GP. We hit a problem when trying ...
0
votes
1answer
31 views

Will upgrading Managed Package fail Test classes in the package?

We have a Managed Package already installed in the client's system (version 1) they have created an automation that creates xxy__Project__c records. In the managed package, we have a test class that ...
2
votes
1answer
43 views

Deploying a community with a managed package?

I'm developing an app that I hope will be distributed as a Managed Package. I'm developing using SFDX, a dev edition org with a namespace and a partner edition org with dev hub on. The Managed ...
6
votes
1answer
97 views

LWC custom permission error in subscriber org: Invalid module id “MY_NAMESPACE__My_Custom_Permission” for type “customPermission”

I'm trying to access a custom permission in a Lightning Web Component. This is the js code in my managed package development org: import { LightningElement } from 'lwc'; import hasCustomPermission ...
2
votes
0answers
32 views

Unable to push code: Defining testmethods methods must be declared as @isTest

new this week after SF patches in the inability to push code for our packages. We are trying to get around this bug: https://trailblazer.salesforce.com/issues_view?id=a1p30000000T0tvAAC but after ...
0
votes
1answer
47 views

Managed Package Named Credential password gone

I have a managed package with some apex code that makes a callout to a named credential. The named credential uses a username and password. This gets send in a header in the callout request as an ...
0
votes
1answer
16 views

Possible to make callout during package uninstall script

I would like to make a callout on package uninstall (from a package uninstall script) to notify an external application that the package was uninstalled. The page says it's not possible. The ...
3
votes
1answer
87 views

Managed package post install script not making callout

I've created a managed package to deploy some custom fields etc. I need a post install script to run and notify my server than the salesforce instance has installed the package. Here is my post ...
0
votes
1answer
34 views

Process builder not firing for managed package object

I have a process builder that I want to fire when a record changes. This record is an Answer object which is apart of the Youreka managed package. I have created a simple process builder that is ...
1
vote
1answer
31 views

Managed packages: monitoring vendor-initiated upgrades

In the past, we've heard from our Salesforce Support team that certain managed packages in our org may be impacting execution times on key transactions. Business teams recently reported these ...
0
votes
1answer
23 views

Is it possible to retrieve labels in a managed package from the flow builder?

I would like to use labels from a managed package in the flow builder but it seems there is no way to do so. Is this the case or is there a workaround for this?

1
2 3 4 5
34