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

Deprecate or remove an Apex Invocable Action from Process Builder in a Managed Package

We released global facing Invocable Apex Actions to be used by Process Builder, but would like to hide a couple of them from subscribing orgs. From the official documentation on invocable methods, ...
1
vote
1answer
18 views

Managed Package: Subscriber Support via LMA - Access to protected settings and custom metadata

Let's say, we had LMA (License Managing Application) configured for our managed package and subscriber granted us permission to log in on their behalf via Subscriber Support tab. If we logged in, ...
1
vote
0answers
23 views

Importing lwc from managed package

I'm currently developing a managed package, with a LWC. From another package, I want to import this managed package in order to access some of the exported elements, like the class or some constants. ...
2
votes
2answers
32 views

Changing a global class from with to without sharing in a managed package

I have a global class in a managed package and want to change it from with to without sharing in a new release. Is this possible? Could I do this in a patch?
2
votes
0answers
47 views

Accessing Custom Permission from Managed Package

I'm trying to check the User assigned Custom Permission from a Managed Package. The Custom Permission and the Permission Set are not part of the package, but in the subscribers Org. Currently I'm ...
0
votes
1answer
22 views

How to create manage package using developer edition with Dev Hub enabled

I have already enabled my Dev Hub on my developer edition and using this environment to create scratch orgs with Visual Code. Now we want to create a managed packaged from this developer edition but ...
0
votes
0answers
12 views

Salesforce CPQ - Managed Extension Package - Expiration Date

I am looking to create a managed extension package for Salesforce CPQ. In particular, I would like to add some custom fields to the managed Quote object SBQQ__Quote__c. For example, if my package has ...
2
votes
1answer
33 views

Managed Package - Global interface and global/public class

Let's say we have global ProductFactory class like this: global class ProductFactory { global static ProductService getProductService() { return new ProductServiceBasic(); } } ...
1
vote
1answer
29 views

How to validate Salesforce Package id

Is there a way to validate Salesforce package id? I don't know if there is a database where you can query to see if the package ID is the valid or at least can I validate to see if the format of the ...
0
votes
0answers
23 views

Managed Package Tab not working in Community

I installed a managed package in one of the org and trying to show a tab from managed package in community. When i click the tab i am seeing the following screen. This is happening for tabs from ...
0
votes
2answers
36 views

app exchange managed package computational cost

A managed app published in AppExchange by Vendor A. Customer A installs this managed package in his Salesforce org. When customer A excutes this managed app in his org, Will the Vendor A be charged ...
0
votes
2answers
18 views

Can I see the codes from Package older version?

To give you some context. There are two versions of the managed package inside the client's Dev Org(v1.2 and v1.3). Currently, v1.2 is installed in production org. I'm trying to fix a production issue ...
2
votes
1answer
56 views

Package BatchApexErrorEvent trigger

I'm writing a managed package which uses a batch and i would like to provide errors tracking on this batch. I use a trigger on BatchApexErrorEvent but it doesn't appears in the package creator. ...
1
vote
1answer
56 views

How to get this Managed Package namespace in LWC component

We are writing LWC component which is a part of our managed package. And there is a need to have package namespace available in javascript variable there for further manipulation etc. Is there any ...
1
vote
0answers
13 views

How to create an index for already released field in managed package to automatically propagate it to all subscribers on upgrade

We are receiving bunch of errors from subscribers' orgs where our managed package is installed: "System.QueryException: Non-selective query against large object type" After conducting our local ...
0
votes
1answer
28 views

field 'Name' cannot be sorted in a query call

I cannot seem to find anything specific to this error. Attempting to install a managed package and getting Dependant class error is a specific org. the error is essentially (minus the stack trace) ...
1
vote
1answer
67 views

Retrieve Standard Picklist Value Sets using package.xml

There are standard picklist fields like Premium Frequency on Insurance Policy object in Financial Services Cloud package. We have added some new picklist values for this field. However, we are not ...
0
votes
0answers
41 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
20 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
11 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
23 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 ...
-1
votes
1answer
20 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
144 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
30 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 ...
3
votes
1answer
84 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
31 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
27 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
97 views

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

I am unable to inactive the default managed trigger in NPSP pack of salesforce
0
votes
0answers
29 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
44 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
17 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
97 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
32 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
24 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
20 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
32 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
38 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
57 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
56 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
50 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
20 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
34 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
146 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
42 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
59 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
39 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 ...