Skip to main content
13 votes

How to host an Unmanaged package on salesforce appexchange

Although this post is from last year, I would like to address it since it's apparently coming up in search results for those looking to post unmanaged packages to the AppExchange, and the main answer ...
Anika's user avatar
  • 131
11 votes
Accepted

Unlocked package component overridden metadata components in the org

You can remove metadata from being part of the Unlocked Package in the UI. In the org where the Unlocked Package was installed, go to Setup/Installed Packages, click on your package name and then on ...
Fabien Taillon's user avatar
9 votes
Accepted

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

Generally, is it possible to install two unlocked packages that share overlapping Metadata, e.g. the same custom object? One would need to be a dependent of the other if the exact same metadata ...
sfdcfox's user avatar
  • 497k
7 votes
Accepted

Salesforce Packaging Bug with Lightning Components? (Warning: very strange!)

I was able to replicate this issue in two packages, so have raised it with support, and they are currently researching it (they were able to re-create it) One thing I noticed as a workaround - I had ...
BritishBoyinDC's user avatar
7 votes
Accepted

Error creating a package version

So i found out what the problem is Connected Apps are not available in Unmanaged Packages, they are available in managed Packages.
FabriR's user avatar
  • 91
5 votes

Call a static method in managed package dynamically

The only way to call dynamic methods is to use instance logic. So you'll need an interface layer here: public interface StaticMethod { void execute(); } Then your implementations would look ...
Adrian Larson's user avatar
  • 151k
5 votes
Accepted

Can a managed package be converted to unmanaged package?

The package components would need to be moved to a different org (easy to do if they are already under version control as they should be) and a new unmanaged package definition created there. But ...
Keith C's user avatar
  • 136k
5 votes
Accepted

Pushing to Scratch Org - Converting existing org to dx

Managed packages, so far as I know (trying to migrate my company to SFDX myself as well) are not carried over to scratch orgs. I'm not familiar with the error that you're seeing, but if you happen to ...
Derek F's user avatar
  • 62.7k
4 votes

Unmanaged package postinstaller not running

Post Install only works for the managed packages and do not run for the unmanaged packages .Check the official docs here .
Mohith Shrivastava's user avatar
4 votes

Tie web server oauth to user session in my canvas app

This question is, effectively, asking the difference between authorization and authentication. OAuth 2.0 is an authorization standard. The access token you receive from the server authorizes you to ...
Christian Carter's user avatar
4 votes

Which Third Party Tool(s) Installed?

View Installed Package Details To access the package detail page, from Setup, enter Installed Packages in the Quick Find box, select Installed Packages, and then click the name of the package that ...
Adrian Larson's user avatar
  • 151k
4 votes

I created an unmanaged package in a Developer org, but I can't figure out how to install it into a sandbox

Once you get the unmanaged package link ,you will replace login with test Lets say your unmanaged package link is https://login.salesforce.com/packaging/installPackage.apexp?p0=04t28000000B4ng ...
Mohith Shrivastava's user avatar
4 votes
Accepted

Will deleting a package in production delete the components in the package (fields, layouts, etc)?

I don't think that deleting packages will remove the components associated with it. Here is something you can read from Salesforce From the list of packages, you can: Click New to create a new ...
manjit5190's user avatar
  • 8,043
4 votes

Uninstalled unmanaged package

before uninstalling the package three options are available Which option you have selected before uninstalling the package? If you have saved the copy then you can get it back before 48 Hrs! Options ...
Nachiket Deshpande's user avatar
4 votes
Accepted

Unmanaged Packages

The benefit of managed packages is that they can be upgraded. You can add new content to them, and those changes can be applied with a simple update. The downside to managed packages is that they have ...
sfdcfox's user avatar
  • 497k
3 votes
Accepted

"Invalid field" error in Visualforce page during package installation

It seems to be namespace issue: Try replacing to below syntax: <span id="gaconnector_pages_visited_list"><apex:outputField value="{!lead.Pages_visited__c}" /> </span>
Mukesh Verma's user avatar
  • 1,916
3 votes
Accepted

Contact.CleanStatus missing on developer edition?

I presume the problem is that the org that the Contact.object metadata was extracted from had a feature turned on (probably Data.com Clean) that a typically developer edition org does not have turned ...
Keith C's user avatar
  • 136k
3 votes

How to extract component from the Package (un-managed)

Yes, sfdx force:source:retrieve has a "package name" option: sfdx force:source:retrieve -n "My Package Name" You can also retrieve a package using the MDAPI by specifying a package name (e.g. via ...
sfdcfox's user avatar
  • 497k
2 votes

Why not use unmanaged packages to migrate metadata to production?

Four years later, Salesforce DX and Unlocked Packages have reversed the answer given above. Now Salesforce is recommending that application development takes place in Unlocked Packages and that these ...
Bill Appleton's user avatar
2 votes

Salesforce Packaging Bug with Lightning Components? (Warning: very strange!)

For reference and tracking, here is the known issue: https://success.salesforce.com/issues_view?id=a1p3A000000EO8L
Mike Bordon's user avatar
2 votes
Accepted

How to install Unmanaged Package from URL

Just navigate to that installation URL and it should install fine. I don't know where you saw that you can only install packages that are listed on the AppExchange. In the original sandbox, when you ...
DavidSchach's user avatar
  • 5,946
2 votes
Accepted

How do I keep Product namespace in DX Org after migrating from DE?

Yes you can easily move the package org code into DX. The first step you need to do is Add the namespace in your project-Scratch-def file. { "orgName": "Dev Demo", "edition": "Developer", ...
Tushar Sharma's user avatar
2 votes
Accepted

Fetch the missing package.xml in an open source unmanaged package

If you install the package, you can then retrieve it from the org via SFDX: sfdx force:mdapi:retrieve -p "CCM Integrations" -r . -s -w 10 Or, alternatively, whichever IDE you use should have similar ...
sfdcfox's user avatar
  • 497k
2 votes

Error creating a package version

To reconfirm after spending way too many hours researching: No Page 40 from "Package and Distribute Your Apps" spring 19 Connected Apps • Connected apps can be added to managed packages, only. ...
Drew's user avatar
  • 41
2 votes

How to delete unmanaged package along with all components from an org

Most likely, the situation is that things outside the package depend on things inside the package. Rather than reading the errors from back to front, as we're naturally inclined to do, read them from ...
sfdcfox's user avatar
  • 497k
2 votes
Accepted

Referring Managed Packages in Unmanaged package

It is a good approach to deliver some functionality such as reports, or common Flows, Processes,Triggers that customer require when using your package. Main benefit of these is that it unmanaged ...
pklachkou's user avatar
  • 797
2 votes

Is there a test coverage requirement for 2GP Unlocked package?

The documentation says: Although code coverage isn’t enforced for unlocked packages, it’s a best practice to include Apex tests in your unlocked packages. Update: 75% code coverage will be ...
Christian Menzinger's user avatar
2 votes
Accepted

Package a list of packages is it possible?

Packaging 1.0 (aka Classic Packages) does not particularly support nested packages. However, you could always use DX to retrieve both packages, then create a third package that contains the contents ...
sfdcfox's user avatar
  • 497k
2 votes

Cannot invoke LWC from Apex class

2 things, You have written method name as createTransaction in apex where as you are importing test method. You have to import proper method. import createTransaction from '@salesforce/apex/MyClass....
Pranay Jaiswal's user avatar
2 votes

Cannot invoke LWC from Apex class

You've got a lot of errors in your code. Without changing your Apex at all, here's what your JavaScript should look like: import { LightningElement } from 'lwc'; import createTransaction from '@...
sfdcfox's user avatar
  • 497k

Only top scored, non community-wiki answers of a minimum length are eligible