Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
15 views

Push upgrade for unlocked packages

In packaging 2.0 model when we release unlocked package, is there any way to deliver it to a bunch of clients at once, i.e. something similar to push upgrade used in classic packaging model? Or should ...
-1
votes
0answers
16 views

VF page of managed package does not exist (in 25% of cases) [on hold]

VF page of managed package is not opening, says page does not exists I have seen this question and the answer there does not help me, so please? do not flag this as duplicate. So mine problem is a ...
1
vote
1answer
9 views

Blank labels in flow formula after packaging

I'm working on a managed package which include a Flow. I want some fields on this Flow to have their labels alterable so i used "Formula" inside the flow with custom labels. This works fine on my ...
2
votes
1answer
19 views

Step-by-step guide to migrate existing managed package to DX

I have a managed package in Bitbucket and want to work on it using DX. There are tons of articles on how to migrate to DX but I am still looking for a one page checklist that I can use for every ...
2
votes
0answers
8 views

Make package field referred in formula editor encryptable

We are working on making a managed package Salesforce Shield compatible. In one of the package object, we have a formula field which uses another package field and compare it with a string using CASE ...
1
vote
1answer
10 views

Updating a field in the User record when assigning a license

For reporting purposes, I would like for a (custom) field within the User object to be updated upon assigning a license of a certain managed package to a user. For this reason, I'm trying to figure ...
5
votes
1answer
185 views

Is it possible to deploy Apex code which uses Person Accounts to an org which doesn't have Person Accounts enabled?

I want to create a managed package which supports orgs both with and without PersonAccounts enabled. Is it possible? How would I achieve this?
0
votes
0answers
23 views

avoid salesforce namespace dependency when packaging

I am trying to figure out a way to completely avoid appending namespace when deploying code to my packaging org. I have found options stated online that using custom settings,labels , querying ...
1
vote
1answer
17 views

Remove Sample Code references in Managed package metadata

One of our partners reached out to us in helping their package pass security review. The recent report they received contains the following issue: Sample Code in Production Account.object Issue ...
1
vote
1answer
17 views

Cannot update Custom Metadata records from Subscriber org in managed app

The custom fields are subscriber editable, and the custom metadata is not protected. I can update the field values in developer org in a managed app, but when I try to update in subscriber org in ...
0
votes
0answers
13 views

Named Credential, Outbound Message in Managed Package

I am creating managed package, which contains Outbound Message and Named Credential (callout url's). what would be the best approach to handle them in managed package because if I add them to package ...
3
votes
0answers
35 views

Prevent modifications to Named Credential in Managed Package?

The background of my question is described in Managed package upgrade fails as Named Credential seems to have modified. The upgrade of a managed packaged failed with a modification error on a ...
2
votes
1answer
16 views

Managed package upgrade fails as Named Credential seems to have modified

But the Named Credential hasn't changed between current and new version. So this Known Issue doesn't apply: https://success.salesforce.com/issues_view?id=a1p3A000000mCFtQAM&title=cannot-modify-...
0
votes
0answers
9 views

Deploy standard sObject label change with managed package

Through Setup -> User Interface -> Rename Tabs and Labels we can change the labels of standard objects (e.g. we can rename Account to say Shop). Also, can i include this in the managed package? ...
1
vote
0answers
10 views

Custom Metadata Type - Page Layout - Can they be added to a managed package?

I have some Custom Metadata Types in a managed package. I just noticed that CMT's have page layouts. I can not see how I can add the CMT page layout or list view to my managed package. Is this ...
1
vote
1answer
30 views

Unable to upload a managed package with a generic error

I have added a component that is basically the same as provided demo here: https://github.com/Gurenax/sfdx-lwc-fullcalendarjs to my dev org. I have then referenced it in another LWC component and put ...
0
votes
0answers
13 views

Apex- Customize Downloads

We have an apex class which implements the Sfc.ContentDownloadHandlerFactory in a very simple way, just checks for custom field value and decides whether the download is allowed or not. It worked ...
2
votes
0answers
39 views

Unable to update manage package picklist field entries using apex code (metadata API)

Unable to update manage package picklist field entries using apex code (metadata API). I tried using two ways of creating picklist values of metadata API. Way 1: public static void ...
0
votes
0answers
15 views

Javascript button to open a VF page from Managed Package, on click asking me to login again

I have a javascript button to redirect me to a VF page from managed package. When i click on the button it is asking me to login to access that page. How do i solve this?
1
vote
0answers
89 views

visualforcePage.getContent() : Maximum redirects (100) exceeded

We are having utility class where we are fetching session Id using visualforcePage.getContent() which we are further using in updating custom metadata records. we released our last version around ...
2
votes
1answer
63 views

Package upload fail : No Component named markup found?

We are getting this weird error when trying to upload package. While we keep repeating the process 2-3 times to upload , we managed to upload package successfully. Following message we get on email ...
1
vote
1answer
22 views

Exclude managed fields from profiles when retrieving metadata

In our Salesforce implementation we installed several managed packages. We have also set up a CI process using jenkins+git to allow us to quickly deploy our changes to the next environment. Recently ...
0
votes
1answer
23 views

Can we create a custom visualforce page accessing a controller that is a Managed Package object?

I am trying to create a button that is invoking a VF page which accesses a controller that is a Managed Package object. The code in VF page is a basic code to display title. <apex:page ...
4
votes
1answer
70 views

Moving from change set model to package development model

I am new to Salesforce and have few questions on the ways of developement and adoption of package model I have started working for a fairly large organization that uses Salesforce extensively and ...
0
votes
1answer
93 views

AuraDefinitionBundle No APPLICATION named markup://

I'm facing yet another odd error when attempting to upload my managed package. It is throwing this AuraDefinitionBundle - InitialLinkingApp No APPLICATION named markup://[namespace_redacted]:...
2
votes
2answers
99 views

Salesforce package error error “You can't specify version for namespace sf_com_apps because this namespace is not installed to your organization.”

I'm having an odd issue where a package I've been maintaining for a while has now decided it is dependent on Salesforce Connected Apps (namespace sf_com_apps). Even when I try to remove the dependency ...
0
votes
1answer
39 views

Unable to find Lightning Component when creating new version of managed package

I get the error: AuraDefinitionBundle - ComponentName No COMPONENT named markup://PackageNameSpace:ComponentName found I can't figure out how to resolve this when I create my managed package. ...
-1
votes
0answers
12 views

Managed Package Tab not working in Lightning

We have a managed package app at salesforce which is not lightning ready yet. We have few tabs in our package and our package is used by multiple client. Issue we are facing is that Our tabs are ...
0
votes
1answer
33 views

Unable to update namespace of custom labels in managed package

I have a lightning component as part of a managed package that uses few custom labels. The custom labels are saved with the default namespace like {!$Label.c.label_name}. I am trying to update this ...
1
vote
0answers
21 views

Retrieving package install URL via sfdx

I'm upgrading our build system to use sfdx, and I'm trying to automate all packaging operations for our managed package. Once a new package version has been created via sfdx, I would like to retrieve ...
0
votes
0answers
29 views

Managed package can't differentiate between same API name objects [duplicate]

I have an object Project__c in my managed package. One of the VF pages in the package allows users to retrieve records for any object and filter them with desired fields. I installed the managed ...
1
vote
1answer
18 views

How to mark ContentNote as a requirements for the installation of the managed package

The Salesforce managed package I'm working on uses the record type ContentNote. This record type is available only when the Salesforce organization has enabled the enhanced version of notes. ...
0
votes
0answers
12 views

Can we restrict the tab access in manage package?

I want to restrict the tab access to all user except who is installing the package. Is it possible to achieve this? Please advise on this.
1
vote
1answer
32 views

Not able to install managed package in sandbox

I am getting the below error message while tried to install the Parley Pro package: Missing Organization Feature: CommonCsp There are problems that prevent this package from being installed. Note ...
1
vote
2answers
349 views

Package Upload Failed(No COMPONENT named markup://Namespace:ligtcomponent found)

When I am trying to make a beta release. I am getting following error: No COMPONENT named markup://Namespace:ligtcomponent found Can any one please help me out of this. I have seen this below ...
0
votes
1answer
21 views

Assign Permission Set on Package Installation

Can we just add permission set to a user during the installation of the package, I Mean if the user is system admin then assign Admin Permission set and for remaining Users assign user permission Set. ...
1
vote
1answer
26 views

How are action overrides handled for managed package upgrades?

I want to override a custom object's "New" action with a Visualforce page in my managed package. (This is the mechanism where the platform's default New or Edit or View etc. actions can be routed to ...
1
vote
0answers
37 views

Building managed package using JS frameworks/library

I'm trying to do an analysis of an existing managed package that we have built currently we have a bunch of VF pages and Lightning Components. At end of this analysis, we want to determine which JS ...
2
votes
2answers
49 views

Unable to do callout from PostInstall Script

As per the Salesforce documentation, Post-Install script can perform callouts using an async operation only. https://help.salesforce.com/articleView?id=apex_post_install_script.htm&type=5 So, I ...
2
votes
0answers
30 views

Trialforce Template and unmanaged code/package

We are creating a Trialforce Template on Trialforce org and we would like to include below items in Trialforce Template. One managed package which passed security review One unmanaged package, which ...
0
votes
0answers
18 views

Test execution causing Eventbrite error in 'Eventbrite OpportunityTrigger'

Facing issue in my batch test class. I am inserting simple Account and Opportunity in my test class. If we set(seealldata = false) the class fails in the sandbox and getting below error System....
0
votes
2answers
35 views

Unable to see Open Activities and Activity History related list in lightning mode

In managed package's object I am unable to view Open Activities and Activity History related list in lightning mode. But visible in classic view.It is present in layout.Still unable to view.Can ...
0
votes
0answers
24 views

How to get complete error message from AsyncApexJob records?

I have a batch class in my managed package. One of the batches is failing the execution in Subscriber org. When I query the AsyncApexJob record related to that batch class I get the incomplete error ...
1
vote
0answers
29 views

FMA parameter update in LMO org using apex

We recently started using FMA app to manage some features in our managed package app. One of the requirement we have right now is on License create/update we need to update one of our FMA parameter (...
3
votes
1answer
39 views

How to set up a scratch org such that System.requestVersion works

We're an ISV transitioning from a classic single org dev setup to DX. We're developing a first generation managed package. One of the problems we're running into is the use of System.requestVersion in ...
0
votes
0answers
30 views

Open CTI cross origin and access problems

We are trying to develope a Salesforce app for Lightning Experience, using Open CTI, following the Open CTI Demo Adapter. We created in our Developer Account a managed package. When we run Open CTI ...
0
votes
0answers
11 views

How can we include managed package code into a site template which is defined in customer org

We have a managed package with multiple VF pages and these pages are used on Sites. The problem that we are having is that these pages work only if they are placed within the site template which are ...
1
vote
2answers
39 views

Managed package version on Sandbox refresh?

Our Sandbox has a newer version of a Managed Package than production. If we refresh our Sandbox from Production, will it revert the Sandbox to the older version? Thanks
0
votes
1answer
12 views

Deactivate process builder while uninstalling the managed package

I've added a few process builders in my managed package. Now when a subscriber uninstalls our package, they've to first deactivate all the process builders. So is there any way we can deactivate our ...
3
votes
2answers
156 views

What is the best practice to store custom configuration for a managed package application?

We are working on an application in managed package, and we need to store app configuration. Generally, we want to allow users to turn on/off some features in our app. For example, on the settings ...