10 votes
Accepted

Custom options added to Standard Value Set picklist are not included into managed package

No, you can't package any standard fields, including standard value sets. Only this list of components is available for packaging.
user avatar
  • 434k
9 votes

Debug statements in managed package

Debug logs raised from within a managed package are not exposed within the installing Org by default (Since Winter '12). This includes beta managed packages and full releases. See Logging from a ...
user avatar
8 votes
Accepted

Accessing public class from different Package in same Namespace

you forgot to use @namespaceAccessible annotation, in order to make public class accessible across different packages in one namespace. Here is a documentation The @namespaceAccessible annotation ...
user avatar
7 votes

Rolling back a managed released package?

Salesforce support has tools to undo a managed package release. They do this by converting you "managed - released" package into a "managed - beta" which undoes the locking with newly added components....
user avatar
  • 22.2k
6 votes

How to debug beta package installation failures

Such error messages represent internal platform failures (or gacks as they are sometimes known) rather than anything in your Apex code, this is why your Apex Exception User is not receiving anything. ...
user avatar
6 votes
Accepted

Is it Possible to add multiple Post install Scripts while creating a manged package?

Solution: one InstallHandler class to rule them all We create separate install handler classes, each of them taking care of a single responsibility (ie: create custom settings, upgrade to a new data ...
user avatar
  • 3,946
6 votes
Accepted

Beta Package (Not allowed to install metadata via apex)

Never mind, I found it: https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_metadata_in_apex.htm, Specifically: Managed packages not approved by Salesforce ...
user avatar
5 votes
Accepted

Detect package type in Apex

I'll start with a quick acknowledgement that you want to do this directly in Apex. I don't think this is currently possible. With the right API call it might be possible to access that information ...
user avatar
5 votes

Static resource in managed package

Try this it will work for sure. First keep the scripts and style in a separate tag. Second for namespace use like this; for stylesheet we can use <link href="/resource/namespace__resourceName" ...
user avatar
  • 715
4 votes

Webserver flow : Using apex Rest API part of a managed package installed in client orgs

The Connected App provides a way for you, the ISV, to obtain access to a customer's org via oAuth. If you follow the flow here, the customer would click on a link/button provided by your package that ...
user avatar
4 votes
Accepted

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

I ran into this today, it looks like it is popping up again recently. I can't offer any science but I did get past it. If it's happening to you, try deleting all code in the offending component (...
user avatar
3 votes
Accepted

Can global members be added/removed from Beta packages freely?

Yes, you can switch a never-production-uploaded-global back to its previous access level. You'll only be committed to it if you upload it as a production version. You can also enable "managed package ...
user avatar
  • 434k
3 votes

Rolling back a managed released package?

Per the following documentation, you can delete Custom Tabs from a released managed package. http://www.salesforce.com/us/developer/docs/packagingGuide/Content/packaging_managed_component_deletion....
user avatar
  • 2,030
3 votes

How to handle dynamic namespace when packaging lightning components in managed package?

You can get away with the problem of namespace in your lightning components by crafting your own wrapper class structure for your data attributes. The blog post here describes how to create message ...
user avatar
3 votes
Accepted

How do you convert your beta managed package to final(release) managed package

when you need to publish final managed package you need to check checkbox "Managed - Released" while uploading the package.
user avatar
3 votes
Accepted

Managed package install

What are the repercussions of moving from managed beta to managed release ? The restrictions depend on what you're talking about. For example, objects and fields can't be renamed, fields can't change ...
user avatar
  • 434k
3 votes

How to reinstall a managed beta package without losing custom objects data?

For your point first thats not possible. You need to first uninstall that package first. For second point you can take a offline backup in Eclipse and then remove dependency of your Beta package and ...
user avatar
3 votes
Accepted

Can any package can be both managed, and installable in production, without requiring appexchange security review?

There are two different things here. Beta Versions of Managed Packages(These can be private manage packages or App exchange managed packages. Private one's doesn't need to go through security review. ...
user avatar
3 votes

How to test DX-namespaced package in regular sandbox

There is no magic scripts available to strip of the namespace from the aura components. I usually instruct developers to not use the namespace in code and work towards making components completely ...
user avatar
2 votes

VF Page Not Found issue with Managed Beta Package

As Bob said, have you tried: {!URLFOR("/apex/namespace__MYVFPAGENAME?"+ IF(Account.Id!=NULL, "aid="+ Account.Id+"&", "") + IF(Contact.Id!=NULL, "cid="+ Contact.Id+"&", "") )} This of ...
user avatar
  • 4,207
2 votes
Accepted

How can I make certain app or page in my package automatically available for System Administrators after package installment?

This is a really subtle shortcoming of Permission Sets and Profiles. Go and vote on the idea now! If you truly need to automate this, it's not impossible. You could stage up a page with the correct ...
user avatar
2 votes

Data Not Available

Packages take time to propagate across all servers. Try your install again later (in like an hour).
user avatar
  • 434k
2 votes
Accepted

How can I create an OEM package and test it

An OEM package is basically the same thing as a normal managed package; OEM vs. ISV is about who's providing licensing. With the OEM licensing model, you create contracts with salesforce.com for the ...
user avatar
  • 434k
2 votes

Static resource in managed package

From the documentation about Using External JavaScript Libraries it is noted that in a managed package context, you will still reference the path to the resource with /resource/resourceName but you ...
user avatar
  • 22.3k
2 votes

Cannot undelete package components despite info saying you can

One should be very careful removing components once a Managed Package has been release .The exact behavior you are facing has been documented here To get back the Undelete Action you will need to log ...
user avatar
2 votes

Downgrade from my latest beta package to previous manage package

You will have to uninstall the BETA package and there is no other alternative here. Things to keep in mind 1.All the new fields you created on the managed objects will have to be deleted to allow ...
user avatar
2 votes
Accepted

Managed installed classes cannot be saved(Tooling API)

It looks like you are trying to use the tooling api to dynamically update a managed package component in the subscribers org. That isn't possible. As you found, components of a manged package can only ...
user avatar
2 votes
Accepted

design:attribute on Locked Developer Controlled Package upgrade

We figured out the issue. Turns out the aura:attribute referencing the design:attribute needs to have access="global" in order to appear in the Lightning App Builder.
user avatar
2 votes
Accepted

Metadata that cannot be removed from a beta managed package

I was not aware of the inability to remove flows (1GP beta), so thanks for sharing. However, I believe you are misunderstanding what this means. I believe this is simply saying that flows from 1GP or ...
user avatar
  • 27.4k
2 votes

Getting error when creating 2gp package version

Manageability rules do not allow you to delete components from your managed package at will. While second-generation packaging allows a broad scope of components to be deleted, you must first log a ...
user avatar
  • 86.9k

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