Skip to main content

Questions tagged [package]

A package is a container used to distribute something as small as an individual component or as large as a set of related apps.

Filter by
Sorted by
Tagged with
18 votes
4 answers
26k views

Get the list of users licensed for a Managed Package

I'm developing a managed package and I need the list of users with the license for the managed package within the package. Any idea on where to start will help! Overriding a standard button ...
Vignesh Damodharan's user avatar
14 votes
1 answer
481 views

How can I delete a Development Package (not an Installed Package) programatically?

Under Setup > Create > Packages, I have deployed "packages" with prefix 033 Under Setup > App Setup > Installed Packages, I have installed "packages" also with prefix 033 I understand that it is ...
Matt and Neil's user avatar
13 votes
2 answers
250 views

Upgrading multiple packages at once

I see a lot of people pushing a code base of "Happy Soup" of packages. However, there is a common dependency management use-case that I haven't seen a solution for. Deployments that requirement ...
NSjonas's user avatar
  • 10.2k
12 votes
1 answer
2k views

Managed package callout invoked from managed package extension causing test class failure

We have a managed package that has executes a HTTP callout from a trigger that calls a future method on the insertion of new records on a particular object. We have a managed package extension that ...
Joe's user avatar
  • 357
12 votes
1 answer
3k views

Updating page layout when package installed

I'm developing a managed package and I have some custom fields of "Lead" sobject included + custom lead layout. I want to automate it all for user. Is there any way to: replace default layout, add ...
user3065076's user avatar
11 votes
2 answers
2k views

Multiple currency in Managed package without breaking support for non-currency orgs?

I want to implement support for Multi Currency in a Managed Package, while still allowing support for regular orgs without multi currency enabled. Does anybody have any experience with this scenario? ...
James Davies's user avatar
  • 1,124
10 votes
1 answer
4k views

Can't access a global Apex class inside a managed package

I have an Apex class inside my managed package: global class MyGlobalClass { global static void doWork() { //... } } But when I call this code from the org where this package is ...
Sergey's user avatar
  • 551
10 votes
3 answers
107 views

Best practices for protecting your app/package from integrations with harmful side effects

We distribute our app in the form of a managed package. We have found that, in some cases, customers create their own integration (triggers, flows...) that have harmful effects on our application (...
mkorman's user avatar
  • 4,046
10 votes
3 answers
1k views

How to remove a Package from my DevHub org?

I have created an Unlocked Package in my DevHub using force:package:create and installed it in a scratch org for testing. Now I can't seem to find a way to remove it. I really don't want it showing up ...
Murilo Kakazu's user avatar
10 votes
1 answer
2k views

Find Nearby Accounts migration to Google Maps API v3

we have been using the Find Nearby Accounts app from appexchange for a while now. The app uses the Google Maps API vs 2 which is now deprecated and hence has rendered the app ineffective. I have tried ...
sw6 - KTBFFH's user avatar
  • 1,381
9 votes
1 answer
6k views

sf:retrieve gets a file, but sf:deploy can't find it for the deploy?

I have the following set up in my build.xml file: <target name="retrievePackage" description="Retrieves the specified package from the specified organization. Pass the name of the deployment file ...
Jesse Altman's user avatar
  • 19.7k
9 votes
2 answers
2k views

Unlocked packages behaving like managed packages

Sorry if this question has been asked before (please point me to the answer if that's the case). I have created and installed an unlocked package successfully in a scratch org. I want to go ahead and ...
Ivan Almeida's user avatar
9 votes
1 answer
899 views

How to package ListViews for Custom Metadata Types?

Is there a way to package ListViews for Custom Metada Types? I can't see these ListViews when trying to add them to a package, but maybe there is a workaround?
Peter Tempfli's user avatar
9 votes
1 answer
805 views

Managed Package with or without Community

Background We are developing a Salesforce managed package. This package could be used with or without communities. Issue We have developed the components using Network class to get the network id ...
Robertinho Sedinho's user avatar
8 votes
2 answers
4k views

How to host an Unmanaged package on salesforce appexchange

Is it possible to publish unmanaged package for appexchange through developer edition. We can only publish managed app through salesforce partnes environments. How one should proceed to publish app,...
Ganesh's user avatar
  • 113
8 votes
4 answers
7k views

SFDX: how to delete a package

In the documentation, there is a command sfdx force:package:create. This works. If I then issue the command sfdx force:package:list, it perfectly shows the package I just created. Now the question is, ...
SamuelDev's user avatar
  • 790
8 votes
1 answer
3k views

Managed package install script - sObject type not supported

I have a managed package with a PostInstall script, however I'm having trouble accessing custom objects within it. Apon installation, I get the following error notification email System....
James Davies's user avatar
  • 1,124
8 votes
1 answer
699 views

Second Generation Packaging Confusion

Bear with me but I am completely confused as the documentation is fragmented, not entirely specific, and contradictory in places. Background I am creating an unlocked no namespace package for our ...
Eric's user avatar
  • 54.2k
8 votes
3 answers
836 views

Whats's the best way to "package" a Site that comes with a managed package?

I am looking for the best way to include a Salesforce Site within a managed package, my current plan is to include the Site Active visualforce page i.e. the landing page and all of the other metadata ...
rumdumdum's user avatar
  • 695
7 votes
7 answers
13k views

Generate Salesforce package.xml programmatically

I want to create the package.xml base on a selection of components that a user check for example apex classes, apex triggers, then export that package or do something else. I don't care about the ...
Edgar's user avatar
  • 1,279
7 votes
2 answers
3k views

Writing tests for Managed Package

I'm developing a managed package and I need to implement some test classes to test my code. However, I'm not sure how to write my tests in such a way so that they don't break due to custom rules put ...
smukov's user avatar
  • 5,603
7 votes
1 answer
5k views

Cannot add component to another package because it is an installed component

I have two unlocked packages. One package defines a number of custom fields on the Opportunity object and the other defines page layouts and other configurations the Opportunity. I receive the ...
salesforce-hacker's user avatar
7 votes
1 answer
381 views

Why, when creating an app, do name examples include HRforce and Bugforce when the Salesforce Brand guidelines forbid to use names with 'Force' in it?

Why, when creating an app, do name examples include HRforce, Financeforce and Bugforce when the Salesforce Brand guidelines forbid to ever use names with 'Force' in it? Or is there a slight ...
Willem Mulder's user avatar
7 votes
1 answer
506 views

Github Workflow for Package Development

To better maintain my OSS repositories I am looking for a simple but elegant Github workflow that covers all steps of a DX development process that ends with a package version (unlocked/managed): ...
Robert Sösemann's user avatar
7 votes
1 answer
917 views

VF page to list all deprecated components from package in customer org

It's so great that Salesforce.com allows to remove deprecated components from managed packages. We use that feature heavily to rework and improve our products. But what I am worried about is all the ...
Robert Sösemann's user avatar
6 votes
2 answers
12k views

I can't uninstall managed package

We installed a third party application and trying to uninstall but the uninstall button is inactive. This is a managed package. I have all the admin permission to download and change appxchange ...
Anthony Gawon Lee's user avatar
6 votes
1 answer
2k views

Configuration Page for Package

Im new to Salesforce Package. After I create a package, usually we need to put some configurations for the package. Where is the usual place to put this links(I created one visualforce page for my ...
ben's user avatar
  • 107
6 votes
2 answers
4k views

Deployment error regarding translations when generating package version

In a scratch org where the translation workbench is enabled, I added English as a supported language (the language for the organization is Japanese) and ran the command sfdx force:source:pull, which ...
ymgt's user avatar
  • 63
6 votes
2 answers
993 views

Permission set is deployed with unlocked package, but is missing permission. What could be the reason?

I am trying to deploy permission set with only one permission included: AllowViewEditConvertedLeads. I've created the unlocked package, and put this permission set there. Then, when I install this ...
afphultl's user avatar
6 votes
4 answers
6k views

Is it possible to downgrade a managed package?

Have any of you gurus ever successfully downgraded a managed package? I'm aware that officially, you are not able to downgrade to earlier versions. And I appreciate many component types are one-way ...
Matt and Neil's user avatar
6 votes
2 answers
1k views

Testing code that depends on an SObject

I have a page which displays an entity that belongs to another package. In order not have a hard dependency to this package, I build a wrapper object and make this wrapper object accessible to the ...
dublintech's user avatar
  • 4,273
6 votes
1 answer
1k views

Is it possible to deprecate and subsequently remove a public attribute of a Lightning Web Component in a managed package?

For example, with this following snippet, if I wanted to remove the property from the package, what would be possible to do? <targetConfigs> <targetConfig targets=“lightning__RecordPage”&...
Renato Oliveira's user avatar
6 votes
1 answer
107 views

Is it possible for an AppExchange package to create a custom list of custom fields?

We have an AppExchange package that would ideally create a different set of custom fields for each customer, depending on configurations that either the customer sets at package installation time or ...
Chung Wu's user avatar
  • 345
6 votes
1 answer
638 views

PostInstallScript with second generation package

Is it possible to specify a PostInstallScript, or UninstallScript, using the second generation packaging API? I haven't yet found any reference to it in the DX documentation, the SFDX project file ...
berry120's user avatar
  • 701
6 votes
4 answers
3k views

Building with Atlassian's Bamboo

I'm trying to use Atlassian's Bamboo service to start using CI development into the company I work for. I have a dummy dev org with a simple App running, but I can't seem to make Bamboo work. The ...
Renato Oliveira's user avatar
6 votes
2 answers
406 views

How to separa trigger context for different package

I am going to build a new app by using SFDX and package development model approach to develop the new app and install the package to Salesforce production org. However, my existing org already ...
Angus HO's user avatar
6 votes
1 answer
2k views

Sobject type not supported in Managed Package

I have recently created a managed package . To test it, I installed it in a fresh developer org. This package queries the account records and updates certain custom fields(part of the package) on ...
sfdc2013's user avatar
6 votes
1 answer
1k views

Upgrading email template

I have a package and make changes to an email template. Obviously, if I uninstall previous versions of the package and install a new version the template everything will be hunky dory. But, if I don'...
More Than Five's user avatar
6 votes
1 answer
179 views

Identify previously packaged now removed components in subscriber org

Most of the components that ISVs can remove/delete from their managed packages still exist in customer orgs that have the package installed. I want to provide my customers with a list (Visualforce ...
Robert Sösemann's user avatar
6 votes
1 answer
518 views

Customers cannot install Package if Quotes is disabled (Which is default behavior )Installation complains "Missing Organization Feature: Quotes"

1) Adding functionality for e-signature "Sign Document" button in App setup -->Customize --> Quotes --> Buttons and Links --> Custom Buttons and Links --> New Button for "Sign Document" and created a ...
user2890's user avatar
6 votes
1 answer
873 views

package:version:create - No such column 'Id' on entity 'User'

Suddenly our build is failing due to the package:version:create command. The error is really strange since none of our changes look to be related to it. Our CircleCI automation tool is able to push ...
M.C's user avatar
  • 63
6 votes
1 answer
139 views

Cannot migrate deprecated unlocked package2 component since Winter 20'

I am unable to migrate a package2 member from one unlocked package to another. Before Winter 20', as per these instructions, deprecating a member from the first package and installing the second ...
Lucas Ennouchi's user avatar
5 votes
3 answers
2k views

SFDX - Moving to unlocked packages

We currently plan to make the move to pure SFDX and try to come up with a solid strategy to divide our metadata into unlocked packages. The main problem we encountered so far is that we don't know how ...
Wolfi's user avatar
  • 51
5 votes
1 answer
11k views

View code in Managed package

We are using Avaya CTI Adapter Managed Package . There are 4 classes in the package . Is there a way I can see/access the code in the package ? I want to see where the call details values are stored ...
SFDCRookie's user avatar
5 votes
2 answers
3k views

Manage Apex Code from a Git Repository?

Question Any simple ways of keeping a subset of your apex code in sync with a git repo? Background I'm a consultant, and over time we've built out a number of helper classes that we use across our ...
Ralph Callaway's user avatar
5 votes
1 answer
414 views

Use Object from another manage Package without making my own package dependent to it

I have some problem with package dependency. This is the scenario. There is a package named as "Package B". In my class I want to check if "Package B" exist. If it exist, I will create new record on ...
Hope's user avatar
  • 1,273
5 votes
1 answer
83 views

Is the Salesforce Package Installer customizable?

In salesforce when you install an application from the app exchange, it brings you to the Package Installer, a three step process which allows the person installing the package to approve package ...
LShropshire's user avatar
5 votes
2 answers
2k views

Update Remote Site URL in Managed Package

So I am trying to update the url of a remote site specified in my managed package. Salesforce allows me to edit the url of the remote site and everything packages fine in my packaging org. I am ...
Josh Van Heukelom's user avatar
5 votes
1 answer
430 views

Does daily package version limit count failed attempts?

Do failed attempts to create unlocked packages count against an org's daily package version creation limit?
salesforce-hacker's user avatar
5 votes
1 answer
2k views

Overriding Inline Help-Text/Getting Field Description from Apex

I have a requirement . I need to be able to add descriptions to fields in our managed package which we can reference from Apex code and display on a VisualForce page. Currently, Inline help-text ...
cloudy-ritz's user avatar
  • 2,583

1
2 3 4 5
10