The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

Using Managed Package in the Community Cloud

I am trying to use the managed package in the Community Cloud, but it is not showing in the Community builder. An example component would be https://appexchange.salesforce.com/appxListingDetail?...
0
votes
0answers
25 views

Couldn't retrieve the design time component information for component X (Winter20)

We created a managed package that has some lightning components in it. Before this release it works well after winter20 when we create a new version of a package and tried to install it in the org, we'...
0
votes
1answer
18 views

SOSL return failing manage package

SOSL running fine on lower instances with no namespace getting failed in manage package.Although the SOSL EXECUTE returns rows but final output always remains 0. Working fine on unmanage. searchQuery ...
0
votes
0answers
10 views

System.debug statements in managed package methods that are overridden

We are developing a set of libraries for internal consumption within our company and planning to publish them as a Managed Package. While testing them, I noticed that the system.debug statements do ...
1
vote
0answers
18 views

How can I use Salesforce SOAP APIs to pull the org name for an org subscribing to my managed package?

Background: I threw together a quick script to pull AppAnalytics logs from my LMA programmatically via python. This part is working just fine. I am including my script here in case it helps someone ...
0
votes
0answers
21 views

3rd party OAuth2 in a managed package [closed]

I need to authenticate SF users in 3d-party service using oAuth2. In order to create an oAuth2 client I need to provide a redirect URI which will be smth like 'https://myNamespace--c.na88.visual.force....
-2
votes
0answers
21 views

Packaging custom Auth Provider and redirect URI for oAuth2 [closed]

I am trying to implement oAuth2 login flow with named credentials and custom auth provider using AuthProviderPluginClass. It does work as expected, but atm redirect URI is hardcoded (I used 'Callback ...
-1
votes
1answer
17 views

Unable to uninstalling managed package from sandbox

I facing some issues when uninstalling a managed package from the sandbox. I have removed all the references related (classes, buttons, actions) to that package but still getting the same problem. ...
0
votes
0answers
9 views

Deny to change a logo in a managed package

We are an ISV partner and developing a managed package. And we would like to prevent our customers to change the logo of our App. Is it possible? It seems like customers can change the logo on our App ...
5
votes
4answers
133 views

Trigger in Managed Package in error state, can't be cleared

I have a Platform Event trigger in my managed package. For some reason, it generated an error on a customer's sandbox, and now it's in error state and won't run. I updated the trigger and pushed the ...
0
votes
0answers
27 views

Cannot open managed package tab in Sandbox

I have installed our managed package in our client's Sandbox org. When I tried to open the Configuration page which is added on the tab of the package, I am getting below error message. The value ...
2
votes
0answers
21 views

Converting First Generation Managed Package to Second Generation (2GP) Packages

In light of the new Winter '20 release and that 2GP will be Generally Available, it means we'll be able to develop and release managed packages on the AppExchange through the new 2GP processes. In ...
1
vote
1answer
22 views

How to create a Dev Hub for Managed packages?

What I am looking for is how to create Dev Hub for managed packages. Do we have to enable Dev Hub in our packaging org? One thing I have heard in many videos is Dev Hub org will be enabled in ...
1
vote
1answer
25 views

How to create a unit test for custom objects meta?

We are building a package that creates custom setting with reference to custom objects. Then we use settings to create records for these custom objects. How we can create unit test in the package for ...
2
votes
3answers
71 views

override the triggers for (managed) npsp pack [closed]

I am unable to inactive the default managed trigger in NPSP pack of salesforce
-1
votes
0answers
12 views

How to delete Managed Component from sandbox

I want to delete Managed Component from sandbox but its showing error: "Cannot Delete Managed Component The component you are attempting to delete is part of a managed package, and cannot be ...
0
votes
0answers
25 views

Pricebook field auto population in Quote Record Salesforcec CPQ

Pricebook field (Pricebook2Id)is auto populated on opportunity record by a visual workflow that looks up the right pricebook record from pricebook object based on an account field in the opportunity ...
0
votes
1answer
38 views

Editing protected Custom Metadata Type in subscriber org through LMA org

I do have verified that the Protected custom settings are editable when logged in through LMA org. However, I just want to confirm this behavior is the same in the case of the protected Custom ...
0
votes
1answer
11 views

How to see post install and uninstall scripts logs in the subscriber Partner Developer Org

We are trying to get the package submitted for the Security review, and it is proving to be a massive PITA. How can i see what is going on during my post install and uninstall script deployment? e.g. ...
2
votes
2answers
85 views

What are the correct steps to get data back from an AppAnalyticsQueryRequest?

Background: I have a managed package that is actively being used by other organizations. The end goal is to be able to appropriately pull app analytics from Salesforce so that I can better understand ...
0
votes
2answers
29 views

Removed SpringCM, Can't Create Opporutunity

I recently removed the SpringCM managed package from our sandbox. I had to remove a couple of components manually (SpringCMRestWrap), but it was uninstalled nonetheless. Since then, I haven't been ...
0
votes
1answer
16 views

Managed package and security review

We have developed a solution that we want to distribute as ISV on AppExchange. What happens if we have people install those packages while they are in review? Do customers need to reinstall our ...
0
votes
0answers
16 views

Can no longer push 2gp managed package to scratch org (EnableLicensing)

I have a released 2nd generation managed package (2gp). Mainly developed with API v44. Now (summer '19). Now I can no longer push the source to fresh scratch orgs. When I try, all my custom objects ...
0
votes
0answers
22 views

Can't able to delete meta data records in my dev org to delete/ uninstall a managed package

I have tried to uninstall a managed package from my dev org and got failed to remove the components because I had some custom metadata records to remove from the org. But when I try to delete those ...
0
votes
1answer
22 views

Unmanged package: issue with existing field reference

I created an unmanaged package that includes a reference to a field that already exists in the target org. I tried to get around this problem by selecting the "Rename" option in the install page, but ...
2
votes
0answers
24 views

CMA vs. COA for ISV Partners - Which is better?

We're about to publish our app to the AppExchange, and noticed two different options for handling payments for our paid app: Paid, using Checkout (CMA) - Using AppExchange Checkout via the Checkout ...
0
votes
2answers
32 views

how to extract a single app from an org into its own package

Goal: Our Org has multiple apps that I would like to extract each app into its own individual package. The goal is to retrieve this package to push to a scratch org and then make it an unlocked ...
0
votes
0answers
16 views

Managed Package and API Authentication

I am using Lightning and creating a managed package and want to pull in external data in JSON format from a REST API that I am developing. I want to have a button some where in the UI that when ...
4
votes
2answers
47 views

Managed Package: How to get rid of dependency from Territory Management feature

SF is going to drop Territory Management (aka TM 1.0) in Summer 2020. So we are trying to migrate our managed package to Enterprise Territory Management (aka TM 2.0). As the first step of such ...
6
votes
1answer
55 views

How to package deactivation of a Workflow?

We publish a managed package in Salesforce which consists of triggers and workflows. In version say x, we added 4 workflows and in next version x+1, we wanted to deactivate those in managed package ...
1
vote
1answer
47 views

How to reproduce and fix error “$Label.namespace.LabelName does not exist”?

How to reproduce and fix error "$Label.namespace.LabelName does not exist" while the label actually exists and namespace is correct but lowerspaced? There is an interesting bug in Salesforce platform,...
0
votes
1answer
19 views

How to call method from manged package

I have an managed package class from that I have to call one method into another class. Managed package name :-ApiClient --> Namespace prefix:- XYZ --> Method from managed package class :- static ...
0
votes
2answers
32 views

Get the number of SOQL calls in manage package

My org has a manage package installed. Is there any way to detect how many SOQL calls it has done in apex? I have code that fires because of it. Once a certain number of SOQL calls have been attempted ...
1
vote
0answers
83 views

Sortable Data Grid (Enhanced Lightning Grid) - Error: Invalid datasource. Encountered runtime exception in Apex class: [sortablegrid.sdgProperties]

I am consistently receiving the following error when deploying flexipages to other sandboxes: Error: Invalid datasource. Encountered runtime exception in Apex class: [sortablegrid.sdgProperties] We ...
1
vote
1answer
39 views

Different behavior between packaging org & installed package

I have a managed package the contains a Lightning component, which has some configuration options that include a pulldown menu with dynamic choices generated by Apex. datasource='apex://MyClassName' ...
0
votes
2answers
47 views

How do you use AppAnalyticsQueryRequest?

Does anyone have experienced pulling AppExchange App Analytics data for their managed package using AppAnalyticsQueryRequest? This was released in Summer 2019. If you have experience with this can you ...
0
votes
1answer
37 views

Is it possible to upgrade a managed package from different salesforce sandbox than the original from which it was created?

We have a managed package created from older sandbox from which we lost control. But I have source code and another sandbox(test and production) on which this package is installed. We made some ...
0
votes
1answer
30 views

You can't remove design attributes 'helpURL' when the component implements a Lightning Page interface

I'm trying to upgrade a managed package. I removed a design attribute "helpURL" from my lightning component. So I get the error message "You can't remove design attributes 'helpURL' when the component ...
0
votes
1answer
17 views

postInstallScript is not inserting CustomSettings after installing managed package

I have below post install script class which is used to insert a demo login details for our application. global class PostInstallClass implements InstallHandler { global void onInstall(...
1
vote
0answers
13 views

Validate LMA/FMA Before Publishing To AppExchange

Is it possible to validate that your LMA/FMA code functions correctly before you ever upload a package to the AppExchange? I have an existing, released managed package that I need to try using LMA/...
0
votes
0answers
24 views

Create SObject metadata in unit test

We are using sobject settings in our package. Is it possible to create metadata sobject in the unit test?
3
votes
1answer
104 views

Include activation of change data capture event in managed package subscriber org

First, some quick background. I'm aware there are several different ways this could be solved. Platform events, Queueables, batch jobs, etc... For now I'm specifically interested in how this would be ...
0
votes
1answer
49 views

Can I exclude standard object fields from a managed package?

I'm trying to migrate metadata from one org to another using a package and the sfdx force:mdapi:retrieve and sfdx force:mdapi:deploy commands. Account object's Type field is causing a Picklist value ...
1
vote
1answer
60 views

Managed Package - Lightning App - Navigation items locked

I'm unable to change the navigation items on any Lightning (Managed) app, however it does work for Classic (Managed) apps. Steps to reproduce: Go to Setup > App Manager Edit any Lightning (Managed) ...
1
vote
2answers
25 views

Managed package not letting me add a new custom field to already packaged object

I have a new field on an object that has already been packaged in my package org. This field is referenced in Apex as well. When I go to my package and look at the components, this field is not ...
0
votes
1answer
31 views

Multiple managed packages with the same namespace (first gen)

I've created two managed packages using the second gen process but they can't currently be submitted for appexchange review. I'm in the midst of downgrading the packaging process - the documentation ...
0
votes
0answers
37 views

How do I get the list of Users assigned licenses to my managed package in a subscriber org

How do I get the list of Users assigned licenses to my managed package in a subscriber org based on the Package Name OR Package ID? I do not want to use Package namespace, which is possible by ...
4
votes
1answer
24 views

Missing Organization Feature: Opportunity.Sharing

When attempting to update our managed package in a subscriber org the install is failing with the following message: Opportunities Missing Organization Feature: Opportunity.Sharing That makes ...
3
votes
2answers
54 views

Protected custom settings as a parameter in an @AuraEnabled method causes error

Given Apex controller @AuraEnabled public static String saveAppSetting(AppSetting__c config) { if (config == null) { throw new AuraHandledException(System.Label.NO_DATA); } // ...
2
votes
1answer
68 views

Unable to access Apex in namespaced scratch org

Note: Checking this potential duplicate didn't help. I have a project which uses SFDX and LWC and recently converted it to have a namespace (later it should become a Managed Package). I successfully ...