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
10 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 ...
3
votes
1answer
28 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 ...
5
votes
1answer
34 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
30 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
18 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
30 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 ...
0
votes
0answers
14 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
33 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
0answers
20 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
23 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
16 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(...
0
votes
0answers
12 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
75 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
22 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
28 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
23 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
24 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
27 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
21 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
50 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
51 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 ...
0
votes
2answers
38 views

Benefit of developing managed package in a scratch org with namespace

Why should I develop my managed package in scratch orgs that have a namespace? As opposed to having no namespace. As far I can overlook it only a handful metadata seem to need a namespace prefix. For ...
0
votes
1answer
21 views

Managed Package in Scratch Org

Can anyone confirm if we can create managed packages in Scratch org. Of so, can please share the relevant documentation.
1
vote
0answers
22 views

When did it become possible for Extension packages to grant access to Base package objects via permission sets

In a newly created extension package I noticed that the permission sets included were trying to grant access to base package objects. I was convinced this could not work (these permissions should be ...
1
vote
0answers
15 views

Any way to configure source code in a namespaced scratch org to have a package version number?

We have some dependent managed packages. In our build, in scratch orgs, we install a first managed package that a second managed package depends on but instead of installing the second managed package ...
0
votes
0answers
19 views

Cannot deactivate contact triggers (managed package) and because of that Update commands are failing [duplicate]

I couldnt found good answer for that i cant change Active status in Setup->Contact->Trigger Mailchimp Trigger Like This if you cant see Look here = https://pasteboard.co/Ip9eoR8.png I want to make ...
0
votes
1answer
25 views

Can Managed Package Custom Labels be retrieved via the metadata API?

Can anyone retrieve managed package custom labels via the metadata API? I have a few managed package custom labels that I can list metadata for However I have not been able to retrieve that metadata ...
0
votes
0answers
12 views

Custom metadata type multipicklist from values in another custom metadata type records

I have a setup where in one Custom Metadata type I deploy certain values and distribute that in a managed package. These are developer protected. Then, in another Custom Metadata type, i want the ...
0
votes
1answer
16 views

Delete Report Folder From Managed Package

We have managed package with custom Reports. We are planning to clean up some folders. Will it be a problem if report folder is deleted from Managed package which is already added in package earlier.
2
votes
1answer
40 views

Where to create Connected App for Managed Package?

As we can read in many other questions here Connected Apps used by and used in combination with a Managed Package actually don't need to be created in the customer org (e.g. by using Metadata API) OR ...
5
votes
0answers
27 views

System.QueryException: sObject type 'PushTopic' is not supported

As part of our managed package we have a post-install script that inserts push topics to support the integration between our solution and SF. Before today this post install script worked fine. I was ...
1
vote
1answer
15 views

How to get a debug log for a REST service in a managed package?

I have an error that occurs somewhere in a REST service in my managed package. I've been trying for hours to get some kind of debug log out of the subscriber Org but to no avail. Whenever I fire a ...
2
votes
1answer
35 views

Connected App with dynamic Callback URL in managed package

We have created one connected app in our managed package, Seems that the managed package always refers to the settings from Source Org for Connected app, and there is no privilege to change it ...
6
votes
1answer
658 views

Who has taken “my” Managed package namespace? Can we find out?

I wanted to use my company name as a Namespace Prefix of a new Managed Package App...and it was already taken :-(. Is there a way to find out who or which existing app uses it? Technically or by ...
0
votes
0answers
18 views

How to Publish a Lightning component (Not an application) in AppExchange

I came up with a section in AppExchange where I am looking at native Salesforce Components alone. These are depending on an application(Main App/managed package) and other some are independent ...
1
vote
2answers
58 views

Using Without Sharing apex class in a Managed Pacakge

Can we use Without sharing class in a managed package? We have a scenario where we want to query recent activities of Account, Contact and Opportunity and Custom_Object__c whenever we receive an ...
6
votes
1answer
193 views

Can/should DX Unlocked packages be used for app distribution to customers

Unlocked Packages are just the perfect compromise for everybody working with Salesforce code that he is delivering (for money) to a customer (or two). Managed packages are too much overhead (become a ...
3
votes
1answer
41 views

How can I determine if the current user in an Apex transaction can modify an Approval Process locked record?

I need a mechanism to detect if a record is currently locked by an approval process and it would block the user running the Apex code from modifying the record. First, some context for where this is ...
1
vote
0answers
34 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 ...
0
votes
0answers
17 views

Connected App / Canvas in Managed Package with dynamic endpoint

I am selling a Java App that customers are installing on their server and now build a Salesforce app (Managed package) to integrate it. This means The Salesforce App packages some Canvas elements to ...
2
votes
0answers
18 views

Adding a post-install script to a second generation managed package

I'm creating a second gen managed package using sfdx and I'm not sure how to add a post-install script. Most information I've come across involves updating the package from within an org. Is this ...
1
vote
1answer
45 views

Issue with package installation - Not in package.xml

I am installing my managed package into a testing org and getting this error: All these labels are included in the package: Does anybody know why this happens and how to fix it?
0
votes
0answers
29 views

How to get Consumer Key and Consumer Secret of Connected App in Apex?

In a managed package we have a Connected app, which will be connected to the central server from all of the Orgs which have installed the package. In the post-installation script, we need to send the ...
2
votes
2answers
70 views

How to know if Managed Package available in app exchange is Certified from Salesforce or not

We are considering installing the managed package in our org. We know that if Package is certified then different limits are given by Salesforce to the Package outside our ORG CPU limit. Is there any ...
-1
votes
1answer
30 views

How can I determine the calling source of a trigger?

I have a managed package with different triggers. Is there a way to get the calling source that invoked the trigger action? For example: if other package initiated the action, get its namespace, and ...
1
vote
1answer
26 views

CPQ Parent to Child (Template Content to Quote Template)

I am trying to select child records (Quote Template) from the Parent (Template Content). I am not 100% sure what is wrong here: Child relationship name : QuoteTemplatesFooter; Parent object: ...
0
votes
0answers
27 views

How to Install App Exchange free apps into scratch org

Can anyone help me how to install an app exchange free app into scratch org? we are trying to install the app directly from the App exchange getting below screen.
0
votes
0answers
58 views

SLDS icon not working in production but working in community and sandbox

I have a VF page which is sitting inside a managed package. This page displays a bunch of records and allows users to comment, edit and delete records. I have used SLDS icons to display my action ...