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
17 views

Partner Business org for Salesforce Checkmarx review?

I have developed a 2nd generation Managed package for Salesforce App Exchange. I want to submit my Scratch Org Code for Salesforce Checkmarx security check. Can any one suggest how to get my code ...
0 votes
1 answer
17 views

Using API to Pause and Resume the triggered sends in MC created from Salesforce CRM

I have created a triggered send (TS) from the Salesforce CRM using the MC Connect. To activate and deactivate the triggered sends in the CRM we have the button on the triggered send as shown below: ...
0 votes
1 answer
26 views

AppExchange Security Review Requiring Fee Submission for FREE Listing Solution

Hope you are having a great day. We have developed an AppExchange solution to be listed. The solution's pricing model is set to free and the listing is submitted for approval. I have completed ...
2 votes
1 answer
1k views

API callout in Professional Edition from Managed package

I'm developing a managed package which will make Rest API call out to the external system. We will make this app live on app exchang after security review process. Is it possible to use this app in ...
0 votes
2 answers
580 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 ...
0 votes
0 answers
25 views

Authenticating inbound and outbound requests for an external service

I am developing a service that uses a connected app to implement an OAuth flow for Salesforce users. I can store access and refresh tokens and use them to make requests into the orgs of the users who ...
3 votes
1 answer
973 views

This app can't be upgraded: Invalid Upgrade: The currently installed version does not share a common ancestor with this version

I am trying to upgrade from v0.6 to v0.7 of a Managed Package which uses 2GP. I am getting this error message: This app can't be upgraded. There are problems that prevent this package from being ...
2 votes
1 answer
56 views

2nd gen package profiles issue

I stuck with issue with choosing custom profiles when 2nd gen package is installed. Package provides only 'No Access' and 'Full Access' settings, but in my project there are some custom profiles which ...
2 votes
1 answer
74 views

Error while creating a 2G Package version: Insufficient permissions: secure query included inaccessible field

Hope you're having a good day. I need some help resolving a problem I am facing while developing a 2nd Generation Managed Package. Following the ISV and SFDX Guide, when I create a 2G Package version ...
11 votes
3 answers
1k views

referencing static resources in lightning components with dynamic namespaces

We have a lightning component thats part of our appexchange package. We have development environments with no namespace, a beta/staging package namespace, and our production package namespace. Is it ...
-1 votes
0 answers
22 views

How can we give access of "Domain" sObject to any salesforce User's profile?

I have implemented a LWC component which has a button. On Click of this button backend callout is done which is responsible for Microsoft One drive Integration. But I am facing an error for some ...
0 votes
1 answer
22 views

How do you create a custom object for a managed package

I'm creating a new managed package and I'm unsure of how to add a custom object to the package. In 1GP I would create a new object in the org as normal and then retrieve source from org to pull ...
0 votes
1 answer
20 views

Uninstall managed package but retain custom fields and data

I have a managed package installed which comes with a few custom fields on standard objects, I want to uninstall this package but keep these fields and the data in them. Is there a simpler way to do ...
3 votes
3 answers
87 views

Connected App JWT flow fails for custom profile

Our managed package requires a connected app with JWT flow to be configured by the SF admin. The admin chooses the “Admin approved users are pre-authorized” option, creates a custom permission set, ...
2 votes
1 answer
809 views

Any gotchas using sfdx force:package:version:create --skipvalidation?

Using sfdx force:limits:api:display, our results include: NAME REMAINING MAXIMUM ─────────────────────────────────────────── ───────── ───────── ...
1 vote
1 answer
47 views

Install Manage Package manually and then link it to the AppExchange one

I want to install a Managed package on a production org. The first installation would be done manually, but later on, the same package will be available on the Salesforce AppExchange. My questions are ...
2 votes
1 answer
75 views

Can we import Apex method from Managed Package into LWC

I have Managed Package which is installed in my Dev Org. This package contains some Apex Methods which I want to import into my LWC in the Dev Org. The Apex Class and Method marked as global in the ...
5 votes
1 answer
2k views

Is there a way to use a private custom lwc Component (isExposed=false) in a flexipage that will be deployed in a managed package?

We are an ISV partner and are working on a managed package that we will release soon. We are mostly using LWC components and found that if we try to include one of our custom LWC component into a ...
3 votes
1 answer
1k views

Package upload Error: Managed Package Patch Modification Exception

Description - Error: Managed Package Patch Modification Exception A change was made to the patch release that will change the visible behavior of the application: Feature dependency addition: Quotes: ...
0 votes
2 answers
52 views

How to bulk remove components from an unlocked package?

As part of this effort Preserving org data when converting orgs from an unlocked package to a managed package version of the same code? I'm looking for a way to remove hundreds of items from an ...
0 votes
1 answer
2k 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 ...
2 votes
1 answer
88 views

Create professional edition scratch org

I need to check Managed Package Beta Version on a Professional Edition Org. I am trying to make a Professional Edition Scratch org for it. But every time I get the same error: "The request to ...
2 votes
1 answer
68 views

Upgrade of 2G Managed Package failing due to Data Not Available (contentasset)

Upgrade of 2G Managed Package failing due to Data Not Available (contentasset): He example problem message from Salesforce email: (app_logo) Data Not Available The data you were trying to access ...
2 votes
1 answer
863 views

LWC: getPicklistValues method is not working in managed package

I implemented the getPicklistValues method and was able to retrieve the picklist values from a custom object, but when I created a managed package with it the values are not being retrieved. I ...
3 votes
1 answer
921 views

Do custom fields on standard objects in managed package count towards the total limits for number of custom fields in an org?

I have read a lot of questions mainly this one : Custom Field Limits For Managed Packages) posted here but still not able to find a clear answer. I have a 'security verified' app exchange package ...
1 vote
1 answer
61 views

Branching and removing metadata from 2nd generation packages

We have a 2nd generation managed package with no dependencies that we develop on dev, qa, and prod branches. Only packages built from the prod branch are ever available to customers. I would like to ...
0 votes
0 answers
26 views

Can the pre-requisite features/settings required to install a managed package be reduced over time?

We have some managed package code that requires some features/settings (here shown in the project-scratch-def.json used for second generation packaging): { ... "features": [ ....
0 votes
1 answer
19 views

Packaged CustomIndex and unpackaged custom indexes on the same field; will this prevent a package upgrade?

We have an AppExchange listed package. This includes an object with a Datetime field that is really important in various queries. Several of our larger customers have had to have custom indexes added ...
2 votes
1 answer
62 views

Preserving org data when converting orgs from an unlocked package to a managed package version of the same code?

This is a question about orgs containing a namespaced unlocked package that have been in use for some time so there is lots of valuable data. The goal is to move to a second generation managed package ...
1 vote
0 answers
40 views

What differs between Checkmarx in Partner or Customer Security Portal?

I want to submit a package for security review, and Checkmarx in the Partner Security Portal has been unavailable for some time. At this point, I can either keep trying to resolve why it doesn't work ...
4 votes
1 answer
216 views

User without create permission can create a custom object from Managed package using Custom Rest API

I have a Managed Package where I have Custom Object called Transaction and Apex Rest Resource for creating this object. The Resource Code: @RestResource(urlMapping='/v1/transaction/*') global with ...
0 votes
1 answer
33 views

How to get OEM Embedded licenses for new users of new SF org

I am SF Partner and I have managed package (second-gen) without security review. I made contract to deliver my managed package to subscriber who did not have SF before. He needs 10 licenses in order ...
5 votes
1 answer
821 views

Update permission set in managed package

I have a managed package with permission sets included. I also use custom setting objects. Permission sets userPermissions have to be set to allow CRUD on Custom Setting but this can not be included ...
2 votes
1 answer
1k views

How to Include Profile Setting into a package

1 . We have package where we have created custom object. 2 . This object needs to be accessed and displayed to standard users in managed package. 3. We have create custom profile which has access to ...
1 vote
1 answer
45 views

I'd like to have tests that work with Person Accounts in my non Person Account org

I already have an if statement checking to see if Person Accounts are enabled in the org. So the test will only run if they are enabled. However Salesforce isn't accepting it because it has Accounts ...
6 votes
4 answers
6k views

Is it possible to downgrade a managed package?

Have any of you gurus ever successfully downgraded a managed package? I'm aware that officially, you are not able to downgrade to earlier versions. And I appreciate many component types are one-way ...
1 vote
1 answer
286 views

Unable to add custom list view of standard object in managed package

I want to include the custom list view (Created in lightning experience only) of Event object in the managed package. I have added the custom list view of Event object in a package and the list view ...
1 vote
1 answer
718 views

Not able to access visualforce page of installed managed package in my salesforce org. It is redirecting to login page

I have installed a managed package in my personal salesforce org. On clicking of custom button , as per requirement it must redirect to visualforce page.Instead of redirecting to visualforce page, log ...
4 votes
2 answers
2k views

Adding new fields to custom objects in managed package

I am a newbie to salesforce and still evaluating the platform for building products. The product needs to be sold as a managed package. The product many need to be customized by the clients to suit ...
0 votes
0 answers
45 views

how to view public properties/attributes of the aura/lwc component in managed packages?

how to view public properties/attributes of the aura/lwc component in managed packages? For Example: I want to use SomeNamespace:componentName in my markup/my component. I want to see the publicly ...
2 votes
0 answers
38 views

Package version creation failed Invalid type: EntitySubscription

I am getting the below error when I am trying to create a patch version. Package version creation failed with an unknown error. Invalid type: EntitySubscription. This Sobject is available in the ...
0 votes
0 answers
20 views

How to edit managed package static resource in Subscriber Org

In managed package one zipped static resource is there which is being used in LWC component to show the logo, picture and load js, css etc etc. As we know, we can't edit/upload the managed package's ...
1 vote
2 answers
46 views

Developing two Second-Generation Managed Packages from one Dev Hub instance

We are developing two Managed Packages with Version 2.0 from a Single Dev Hub instance. Package 1 will be published on AppExchange as a "Paid Add On". Package 2 will be a Managed Package ...
9 votes
3 answers
11k views

Manage Package upgrade failure - couldn't retrieve the design time component information for component X

I released a Managed Package version 1.1 and installed on both Developer Org D1 and Sandbox Org S1. Later I added a new Lightning Component and Lightning Record Page to the Package and released a ...
3 votes
2 answers
5k views

Asynchronous getContent hit org.apache.commons.httpclient.RedirectException: Maximum redirects (100) exceeded

we're having an issue with getContent() in asynchronous context, and I just can't find any way to work around it... We're exposing invocable Apex in our managed package, and one of them allow our ...
0 votes
0 answers
63 views

How to set isExposed of messagechannel component of released package but not yet approved from security review?

My app has gone through security review for the first time and they failed it stating that the messaging channel component has isExposed to true and that it should be set to false. Now when I try to ...
5 votes
1 answer
239 views

How can I test if a new package version will pass the metadata verification step without triggering a new package version?

All of the following corresponds to Apex code. I'm creating a new package via the 2GP process. The package is pretty basic. It has a few custom objects and a couple flexipages. I've been struggling ...
1 vote
0 answers
17 views

Is it possible to prevent a certain flow from being auto-enabled when upgrading a managed package?

What the title says. I have a managed package that has a flow. Some of my subscribers have a different flow that does the same thing but uses a slightly different process so they don't need my flow ...
0 votes
0 answers
20 views

Managed Package - Allow only application code, and few authorized users, to insert records of a custom object

We have a custom object in our core managed package (visibility is public). There are a bunch of other managed packages that work alongside the core managed package and have code to insert records of ...
0 votes
1 answer
22 views

Namespace Registries "Link namespace" popup errors out

Clicking the "Link Namespace" button opens up a new window, but looks to error out almost instantly. error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%...

1
2 3 4 5
43