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
1
vote
0answers
6 views

Go to Managed Connected App's manage permissions page via URL

I'm trying to create a setup page for a managed package, whereby you can click a link/button and be taken directly to the connected app manage settings page. That would show them their current ...
1
vote
0answers
11 views

Credentials in Managed Packages for HTTP Callouts

What is the best practice to make an authorised HTTP(s) callout from a Managed Package, i.e. how to handle the credentials safely? So my managed package should call an external webservice, which ...
0
votes
0answers
18 views

How to add access for custom settings with protected visibility in 'Enabled Custom Setting Definitions Access'?

I have a managed package with custom settings and one custom setting has a protected visibility since we are storing my user's API key and secret key. We have users who have users who don't want to ...
0
votes
1answer
16 views

How to add permissions for custom settings/metadata for managed package

I have a managed package that are using custom metadata and custom settings and I want to use permission sets so we can control the access permission of these custom metadata and custom settings. I ...
2
votes
1answer
21 views

Can field “Version Name” in “Installed Package Detail” view be retrieved via API or SOQL?

Can field "Version Name" in "Installed Package Detail" view be retrieved via API or SOQL? So far I've checked the Publisher via SOQL and InstalledPackage via Metadata API, and have not been able to ...
5
votes
1answer
68 views

Mocking SObjectType to make tests independent of 3rd party managed packages

When unit testing code that interacts with SObjects in other managed packages, being able to mock those SObjects would be helpful so the packages don't have to be installed to run the unit tests. The ...
8
votes
1answer
58 views

Maximum number of fields in a custom object, considering managed packages?

I am under the impression that a custom SObject can have no more than 500 (or 800) fields in total across all namespaces. From the Salesforce Features and Edition Allocations documentation there is ...
0
votes
0answers
27 views

Managed Package to call ISV-org API and vice-versa [closed]

What is the best practice to achieve syncing data between an installed Managed Package (i.e. the subscriber org) and the ISV dev-org (where the Managed Package was created)? In particular, how can ...
1
vote
1answer
24 views

Add Custom Fields after a Managed Package is Released

Based on the following I understand that new custom fields of an existing custom object aren't available to users after Pushing a Managed Packaged Assigning Access to New Components and Fields From ...
2
votes
0answers
12 views

Install 3rd party app into a Scratch Org using sfdx

I'm having a hard time figuring out how to include a 3rd party managed package into a Scratch Org as part of a project deployment. The 3rd party app is CalendarAnything Reading through this and ...
7
votes
2answers
50 views

How to query an Installed Package Id

I'm trying to properly build a relative URL from within a managed package context, so that a simple link can be provided to the user to bring them to the assign licenses page specifically for that ...
3
votes
1answer
44 views

Site-wide licence for QA org is reset in LMA on package upgrade

For each of our customer apps, we create an Enterprise org for acceptance testing. We always create them using our ISV Environment Hub. We now struggle with doing testing in one of those QA orgs as ...
1
vote
0answers
32 views

Why can't I skip LWC namespaces in namesspaced scratch org

I have an LWC component as part of a managed package. To support Classic its also embedded inside VF page using a Lightning App(Aura): <apex:page standardcontroller="Account"> <apex:...
-1
votes
0answers
18 views

Deployment Error 'Field cannot be set for type Update a Record

When i try to deploy a quick action, i am getting Field cannot be set for type Update a Record this quick action is created on the Case list view and has predefined value Status = closed and in ...
0
votes
1answer
20 views

Can a Post Install Script be removed from a managed package after being set?

I'm creating a post install script for our managed package, and wanted to test it out in a beta release before going live. I only see an option to set it on the main package page, and from the ...
0
votes
1answer
60 views

Packaging Salesforce lightning web components

I have Created few components for reusable purpose so end users can use the package and integrate with the application they are creating, for example (one of the component having @api property and a ...
3
votes
0answers
22 views

Deleted VF Page, now getting Salesforce has blocked this package upgrade error

We removed a Visualforce page and two components that were no longer used in our package, but kept the controller in and in tact with no changes. I know to delete the Apex controller you have to empty ...
3
votes
0answers
24 views

Why can't I install my managed package beta into a sandbox?

We have a managed package on the AppExchange that various customers use. We develop this using SFDX and follow the usual processes of having unit tests with appropriate coverage etc. as required. As ...
0
votes
0answers
14 views

Configurable Canvas Url for Managed Package

When creating a Canvas App in a managed package, we have to enter a static Canvas Url. This would be the production endpoint Url. How can we have this app point to different environments like ...
1
vote
0answers
49 views

sfdx install fails with: Not available for deploy for this organization

I've been struggling to debug this all afternoon. Perhaps someone can help? I've created a managed package using SFDX and everything looks good. I can even promote the package. However when I try to ...
7
votes
1answer
116 views

Packaged Case Trigger fails for users without license

My managed package contains a trigger for Cases. When users have no license an Apex batch class called from that trigger fails with First error: Insufficient user privileges My initial assumption ...
3
votes
1answer
49 views

Why connected apps added to a manage package do not have a namespace prefix?

I've created a managed package and included a connected app into it. Say its name is 'MyConnectedApp'. My target org already contains a local connected app, also called 'MyConnectedApp'. So when I ...
8
votes
1answer
205 views

Managed package patches - can a public inner class be added?

In the Create and Upload Patches documentation, there is no mention of restrictions on adding inner classes to an already packaged top-level class. The restrictions listed are: You can’t add package ...
1
vote
1answer
75 views

Why the AuraEnabled method throws an internal error when a namespace is enabled

We used nested classes in LWC controller to have a single class with all the AuraEnabled parameters. That works in a no-namespace environment but stops working when we either package that or deploy to ...
0
votes
0answers
22 views

Can we set and get @API value for managed package components?

While we create the managed package and import that with another ORG, we can't pass the dynamically values to that components. in other hand, same will be working as expected with unmanaged package. ...
0
votes
1answer
22 views

Managed Package “This extension depends on the package you are trying to uninstall. force-app”

I'm attempting to uninstall a managed package and I'm getting this error. I'm tearing my hair out trying to figure it out. Any thoughts?
0
votes
1answer
29 views

how to refer a component from a package in Lightning component

I have a managed package installed and a page from the package is displayed in our vf pages, now I need the same functionlity in lightning component, how can I refer the package in lightning and ...
0
votes
2answers
51 views

Managed Package: Aura Component and JS Controller and Helper files are not resolving the API names of custom object and custom fields

Aura Component and JS Controller and Helper files are not resolving the API names of custom object and custom fields In one of our Partner Dev Org, I am working on an application, after development ...
0
votes
0answers
36 views

Error Occurred During Flow Action name not found: null. Need to force Class Compilation?

I've occasionally been running into a problem when installing a managed package I'm creating. A simple Screen Flow where at the end it is using an Action to call into an InvocableMethod I am providing....
0
votes
0answers
31 views

Get access token of user after they install a package from AppExchange [duplicate]

Is there any way to get access token of user (to external system) who install my package from AppExchange. I have seen an OAuth flow when I try to install any package from AppExchange, does that mean ...
0
votes
0answers
34 views

(Connected App) Retrieve access token of user after successfully installing the application [duplicate]

In my app there are various component like visual force page, tabs, custom field..etc. It works in a way that after installing the app, it needs user access_token into our platform (not Salesforce) to ...
3
votes
0answers
74 views

Platform Event Trigger won't execute in subscriber org but in scratch org

In my Managed Package, I have a trigger for the Platform event Notification__e. The publish behavior is Publish Immediately. When I publish an event via Workbench or Developer console in one of the ...
0
votes
1answer
19 views

Deployment of managed Package with Analytics fails because of Integration User Permissions

Dear Stackexchange Community, We´ve created a managed package witch contains several Analytics components. When we try to install it on a "Salesforce Analytics Development Org" or any Scratch Org ...
1
vote
0answers
32 views

Create dynamic triggers based on user selection from managed package [duplicate]

I have a requirement where I need to create two triggers inside a managed package. So, when the package is installed, the admin has a choice to either use the default objects available in the package ...
3
votes
1answer
93 views

ERROR : Cannot modify Managed Object

I'm trying to enable field history tracking for a certain custom field of a certain custom object. The Custom field in which I am trying to enable this setting is of type LOOKUP whenever I try to do ...
3
votes
1answer
43 views

Managed Package: Updating Connected App callback url on packaging org after release

We've released major version of our package with connected app in it and callback url pointing to our production heroku application. And now we are going to start working on the next version of our ...
0
votes
1answer
22 views

Managed Package record type not de

I am getting some errors in a managed package. I am in a production environment. I have uninstalled Recon Managed Package. But I am facing some errors Like that: Error: Record Type ResourceThis ...
1
vote
0answers
26 views

Can I use a Managed Package Visualforce page in Utility bar?

I created a new Lightning application in which I added some utility items.I also want to add a Visualforce page in the Utility bar but the page is from a Managed package. Is it even possible? Is there ...
2
votes
2answers
33 views

Remove installed package objects permission from Profile

Is there any easy way to remove Read, Create, Edit, Delete, View All, Modify All permissions of objects related to installed packages from Profile?. I have been doing this manually by going ...
2
votes
0answers
20 views

Run ISV Hammer on Package Versions and Subscriber Orgs

We are trying to run ISV Hammer tests with our new package version against subscriber org based on a new feature available in Winter 20 (https://releasenotes.docs.salesforce.com/en-us/winter20/release-...
0
votes
1answer
32 views

Change name of standard object in managed package

I need to create a script to rename the salesforce standard object, or when i create the package include the new names. I create a Managed Package, this package will be need the new name of the ...
3
votes
1answer
47 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
45 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
38 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
46 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
1answer
82 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
34 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 ...
1
vote
1answer
67 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
35 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
31 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 ...

1 2 3 4 5 31