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
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
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
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
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
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
5 votes
1 answer
2k views

How do i retrieve all installed packages names through API?

I am using RetrieveRequest object to retrieve packaged and unpackaged components. Part of the code is: String[] packageName = {"Salesforce for Google AdWords"}; RetrieveRequest retrieveRequest = new ...
user1986059's user avatar
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
3 votes
1 answer
3k views

package is not a sf command?

Salesforce has recently deprecated the sfdx force:package:version:create command. sfdx asks us to use the package version create command instead. Running sf package version create, however, also ...
dev4life's user avatar
  • 520
3 votes
1 answer
440 views

"Aura Integration Service Error" When installing a private package

Our clients see this error when they try to install a new version of our package. I read here and here that this is because our package is not publicly listed on AppExchange. We don't want to list it ...
Jorjani's user avatar
  • 2,222
1 vote
2 answers
920 views

Retrieve Setup>Create>Packages

Is it possible to retrieve packages from Setup>Create>Packages(not from Setup>Installed Packages) in the way like we can retrieve installed package and deploy it to destination environment. I am ...
Natallia's user avatar
  • 3,231
1 vote
1 answer
206 views

2GP push error modify managed object

i have the following error when i want to push a 2GP in a new Scrach org force-app\main\default\objects\Country__mdt\fields\Country_Code__c.field-meta.xml Cannot modify managed object: entity=...
Acher Klein's user avatar
0 votes
2 answers
91 views

I need to test this code, but when writing a trigger, I get an invalid type

I need help. I am currently trying to test this code before uploading public class CoreValuesExt { ApexPages.StandardController sc; public boolean readonly {get; set;} public Core_Values__c cv {get; ...
Justin Cosio'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
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
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
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
639 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
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
5 votes
2 answers
375 views

what is the best practice of packing your custom app with custom permission

what is the best practice of packing your custom app with custom permission, so that an administrator who install the app doesn't have to do too much work on the security end and all user have access ...
Faisal's user avatar
  • 837
5 votes
1 answer
415 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
4 votes
3 answers
2k views

SFDX dependencies are not installed

I have a problem installing dependencies from sfdx-project.json. I created a Second Generation Package and generated a new version. I specified dependency as follows: "dependencies": [ { "...
ytiq's user avatar
  • 4,557
4 votes
1 answer
530 views

Are custom labels referenced only in Lightning Components automatically packaged?

This (not marked as delivered) idea Custom Label Auto Packaging in Lightning Components has a "Latest Comment from Salesforce" of: Farhan Tahir - 5 months ago This is coming in Spring'18!! ...
Keith C's user avatar
  • 136k
4 votes
2 answers
195 views

Assembling package

What are the good practices to collect/assemble package intially or on the further upgrades? (in order not to miss any components) Maybe there are automated options like pass package.xml and the ...
Natallia's user avatar
  • 3,231
3 votes
1 answer
2k views

(SFDX - Package Version Creation) --- These entities are not supported: (Site)

I'm currently trying to create a package version, but I'm encountering this error: These entities are not supported: [Site] The commands I used for creating a package and package version are the ...
SamuelDev's user avatar
  • 790
3 votes
2 answers
307 views

Is it possible to update and upload package upon code commit to Git?

I'm using CircleCI to run tests. I have a Git branch. After a feature is done, the work is committed and pushed to the branch. CicrleCI build and run tests. What would be great is to update Managed ...
Andrii Muzychuk's user avatar
2 votes
1 answer
809 views

Creating package version of package depending on some other packages

So i created package on two other packages. One is managed package from AppExchange named propel and the other is unmanaged package made on my production holding some of metadata that are there. So ...
Marcin Trofiniak's user avatar
2 votes
2 answers
535 views

Unlocked package deployment fails to a sandbox org

I have an unlocked package which deploy succesfully to scratch org or empty dev edition org. The command is sfdx force:package:install --wait 10 --publishwait 10 --package ${packageName} -k ${...
Xi Xiao's user avatar
  • 865
2 votes
1 answer
345 views

How do I specify profile mappings on a PackageInstallRequest?

I have created an unmanaged package containing a Salesforce Platform Profile named "Foo". In the org where I am attempting to install the package, I have also created a Salesforce Platform Profile ...
Jeff's user avatar
  • 919
2 votes
1 answer
72 views

Preserving org data when converting orgs from an unlocked package to a managed package version of the same code?

This is a question about orgs containing a namespaced unlocked package that have been in use for some time so there is lots of valuable data. The goal is to move to a second generation managed package ...
Keith C's user avatar
  • 136k
2 votes
1 answer
188 views

How Managed Package license is counted

I want to know how managed package licenses work for the user who does not have license assigned. My questions are - Will the user be able to access an object from the package in any way through UI ...
Saurabh Kulkarni's user avatar
1 vote
3 answers
1k views

How do you do a Security Source Scan of managed or unmanaged packages?

Under the requirements for the Force.com Security Source Scanner it states: Source code that lives inside of managed or unmanaged packages is not scanned to avoid inadvertently scanning code ...
blunders's user avatar
  • 1,618
1 vote
1 answer
1k views

Issue with Dependency Package Picklist Value Not Found

I was facing issue while creating managed Package. Where my managed package has dependecy with one more managed package called Financial Service Cloud. While Building Package it is failing because of ...
NITHESH K's user avatar
  • 2,535
1 vote
2 answers
1k views

Remove managed package dependency

Good day Everyone. My question is a follow up question for my first problem which is already answered here. This is the link of my first question Use Object from another manage Package without making ...
Hope's user avatar
  • 1,273
1 vote
2 answers
3k views

Is it possible to define and add Picklist values to a Package.XML file

As a user, I would like to add the following picklist values for Opportunity Type. Value 1 - New Business Value 2 - Expansion Value 3 - Renewal Is there a way to define this in the package.xml so ...
andrew's user avatar
  • 149
1 vote
1 answer
1k views

Force.com IDE - Deploy Entire Org. to New Org [duplicate]

Possible Duplicate: Copying metadata and code from one Production org to another Quick Question. I'm trying to deploy an entire org.'s metadata into a new one, specifically its sandbox, but ...
Bigtobydog's user avatar
1 vote
1 answer
266 views

Reuse / share functionality between base and extension managed packages

I have a managed base package that contains Visualforce components and pages that I would like to reuse in its extension package. I don't want to make them global as this would allow customers to ...
Robert Sösemann's user avatar
1 vote
1 answer
909 views

How to get upgrade history for a package in a production environment?

I need to know the previous versions of a package installed in a org.Is there a way to get that information?
Manuj's user avatar
  • 334
0 votes
1 answer
119 views

Dependent Package

I have a package for an app and we are close to the security review, the app that we are creating needs a Salesforce Non Profit Starter Package called Affiliations, is there a way that we can make our ...
Paul Coto's user avatar