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

Manage package of einstein analytics assets give the issues with datasets connection

I created a simple analytics dashboard with two different lenses of the different dataset, I connect those datasets using https://help.salesforce.com/articleView?id=...
0
votes
0answers
15 views

how to migrate filters

I have created too many filters on account object (under list view and filter catogory), wondering how to move it using change sets to another org, i tried to look for this in XML package too but ...
2
votes
0answers
18 views

Is it possible to translate a custom App's description? If so, how?

Background: I have a managed package with a custom app in it. I want to have the app description automatically translate to match the selected language of the user like how custom labels work. Using ...
0
votes
0answers
13 views

Package Creation [closed]

How to create a managed package so, when I install it on another org it should be installed as a lightning app. now when I create it and install it shows classic managed. I need to convert it to ...
0
votes
0answers
13 views

Namespace Prefix Problem with Einstein Analytics Assets

Description : We created Einstein Analytics dataflows, datasets, dashboards and apps. It running Properly, for manage packaging I set namespace prefix in org after creating analytics assets. After ...
5
votes
0answers
33 views

How can I detect that a packaged Platform Cache Partition has no capacity allocated?

I have a platform cache partition that is packaged as part of a managed package. Once it is installed in a subscribers org it defaults to zero capacity. Using getPartition() and OrgCacheException I ...
0
votes
1answer
20 views

Unmanaged package best practice

Unmanaged packages: As a best practice, install an unmanaged package only if the org used to upload the package still exists. If that org is deleted, you may not be able to install the unmanaged ...
1
vote
1answer
21 views

Unmanaged Packages

I have an assignment to check pros & cons of managed and unmanaged packages. It's the first time i get into this part. I investigated pros & cons and in my dev org i created an unmanaged ...
0
votes
1answer
19 views

How can I include translations in my managed package?

I want to include translations in my managed package so that all the text in my managed package matches the user's locale if I included a translation for that locale. What I have done so far: So far ...
1
vote
1answer
21 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 ...
2
votes
0answers
28 views

Integrate external routing for omni channel (connected app vs. API)

We are building a managed package ISV app for a customer that wants to route Service cloud Cases based on its own algorithm (their backend). I am quite new to Service Cloud and OmniChannel but found ...
2
votes
0answers
18 views

LWC download ContentDocument with alternative name

I have a LWC component where i render some ContentDocument information. If the user goes to /sfc/servlet.shepherd/version/download/ContentDocument.LatestPublishedVersionId (e.g. by clicking on a ...
0
votes
0answers
17 views

Managed package field is not available to extract or SOQL query

I have this custom field (Other Source 3) that I want to data extract out as below : It is a Managed Package custom field available on Salesforce environment that is Not editable and of type Lookup(...
0
votes
1answer
35 views

How to call an Apex method with Wrappers parameters from managed package?

I know, how to access to such a method: packageName.MyGlobalClass.doWork(); But what if our method gets a Wrapers parameters? Like this: global with sharing class MyGlobalClass{ global ...
0
votes
0answers
14 views

Coupling of managed packages - do permission set references count?

We have a managed package that has no-compile-time dependency on 3 other managed packages so any permutation of those 3 can be installed. The package uses dynamic SOQL and the generic SObject methods ...
2
votes
1answer
19 views

Revert Public Visibility to Protected Prior to Packaging

I have a regular custom object that was marked as Protected in my 1GP packaging org. It has been included in the last few releases of the package as Protected. In my DX Scratch Org, I had to ...
2
votes
1answer
21 views

Support sharing model changes in subscribe org as ISV

We are an ISV developing a Managed Package. We wrote some Unit tests that do things like (this is an Example) Custom_Object__c a = new Custom_Object__c(Name = 'Test'); insert a; Profile p = [SELECT ...
1
vote
1answer
29 views

How to effectively restrict tab visibility for a managed package on installation?

Background: We are developing a managed package with several tabs. One tab should only be visible to all System Administrators and the other tabs should only be visible to any user that gets assigned ...
2
votes
0answers
24 views

Unlocked Package - Modify Custom Metadata Type in Subscriber Org

I created an Unlocked Package that contains a Custom Metadata Type (CMT). When I install this package inside an org, I would like to give access to admins to edit this deployed CMT (e.g. - create a ...
2
votes
0answers
31 views

Insufficient Privileges while upgrading managed package

This issue may be requested by anyone but I couldn't find any better resolutions so far. I have a managed package v1.87 which was installed few months back in different prods and test dev orgs. It's ...
3
votes
1answer
62 views

@namespaceAccessible class's properties are not accessible from another package

I am trying to create two second-generation (2GP) packages with the same namespace but running into an issue where one of the packages is not able to access the properties of a class from the other ...
2
votes
0answers
17 views

Connected App setting changes in manage package after installation, how we keep it same?

we have a connected app that has ‘Relaxed IP restrictions’ in this development org. It is part of the managed package. When I install it in another org, the connected app comes as ‘Enforced IP ...
1
vote
1answer
31 views

Apex test class using JobScience Job Location object

I've written an Apex job that makes use of some JobScience objects. I'm having a problem with creating a new JobScience Job Location object in an Apex test class. I can successfully create and insert ...
0
votes
1answer
40 views

Calling Managed Package Method from custom VF page

I have installed Salesforce CPQ managed package in my org and there is object called 'Contract' which has Renew Contract button in it. I want to use that button in my custom Visualforce page so as to ...
3
votes
0answers
31 views

Best approach to handling Post-Install script exception

As inspired by this post on when to use try catch blocks, if we have a post-install script for our managed package, what's the best approach to gracefully catching and handling an exception? It ...
5
votes
0answers
132 views

Clone packaged permission set in Apex

As part of another question where I tried to automate the creation of a Connected App for a Managed App and were successful with many steps but failed Assign a packaged permission set to the ...
3
votes
0answers
78 views

How do I query a Connected App's IP Relaxation settings?

Within a connected app's manage settings page (Setup -> Managed Connected Apps, click on the Edit link next to the connected app of interest), you can see and set the OAuth Policies -> IP Relaxation ...
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
13 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
29 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
23 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
22 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
187 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
77 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 ...
1
vote
1answer
25 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
16 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
57 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
47 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 ...
3
votes
0answers
62 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:...
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
65 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
23 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
27 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
16 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
55 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
122 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
50 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
221 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
80 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. ...

1
2 3 4 5
32