Questions tagged [beta-managed-package]

An early version of a managed package distributed to a sampling of your intended audience to test it.

Filter by
Sorted by
Tagged with
12
votes
2answers
1k views

Rolling back a managed released package?

We have a managed released package currently undergoing security review. While that is happening, we would like to make some changes to the tab layout of our application. Unfortunately, it seems that ...
10
votes
2answers
4k views

Upgrade from a Beta managed package install to the full Release version

In a sandbox I had the current production release v1.14 of a managed package installed. In the developer Org I created a new v1.15 Beta managed package to test out the features for the next release. ...
9
votes
1answer
1k views

Cannot execute batch class from a managed beta?

My project has a batch class. Before I package my project into a managed beta, I test I can run the batch class from the Developer console. My_Batch b = new My_Batch(); Database.executeBatch(b); ...
9
votes
3answers
1k views

Salesforce Packages not Visible even after 5 hours of uploading

I am trying to Install a package that was created about 5 hours back. Below is the Error: Package Installation Details Help for this Page Invalid Package This package is not yet available. Please try ...
9
votes
1answer
2k views

Debug statements in managed package

I'm testing my managed package (it's Beta now) trying to install it to new Dev Org. It's weird thing but seems like debug statements inside my package are not shown. Is that known bug/issue or I need ...
9
votes
1answer
397 views

Detect package type in Apex

Is it possible to detect if the package within which code is running is beta? I know System.requestVersion() can return the version number but it can't tell if package is beta or released.
9
votes
4answers
3k views

Static resource in managed package

I am using 5 static resources in my org to display a map. <ltng:require styles="/resource/compatibleBootsrap, /resource/BootstrapSF1" scripts=" /resource/jQuery, /resource/raphael, /resource/...
7
votes
4answers
171 views

Autoinstall Packages

Has anyone worked out a clever way to auto install/uninstall packages from their orgs? I know this isn't natively supported but is a real pain point for iterating. I have soap api driven calls to ...
7
votes
1answer
1k views

Track Activities value for a custom object

I have a custom object. I enable Track Activities for this custom object and then I create a managed beta. If this managed beta is installed in a new org, the track activities will be enabled for ...
6
votes
2answers
628 views

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

I am building a beta managed package in which I created a connected app ( which generated its own clientsecret and clientid in my dev org). Now when someone install this package in their org they all ...
5
votes
1answer
511 views

Accessing public class from different Package in same Namespace

Supposedly, it now should be possible to access a public class from different packages within the same namespace: Multiple packages per namespace, so you can better organize your source and easily ...
5
votes
1answer
626 views

How to debug beta package installation failures

This question is more a search for advice. I have been in charge of the building and releasing of a managed package for a couple of iterations now. When creating the first couple of betas we usually ...
5
votes
1answer
378 views

Aggregate query fails when MyField__c exits in both package (NS_MyField__c) and customer org (MyField__c)

This is really a strange bug. Inside my managed package I have a NAMESPACE_CustomObject__c with a NAMESPACE_CustomField__c. In one of my packaged classes I have an Aggregate Query String soql = '...
5
votes
1answer
528 views

Upgrade to a Beta package not possible because referenced

I am trying to install a new Beta package of our app into a sandbox. The install fails and tells me that "Cannot upgrade to a managed-beta version" because " cannot be upgraded using a managed-beta ...
5
votes
1answer
71 views

How to best build custom code based on Managed Beta package

In the next release of our managed application we are going to deliver a big and disruptive data model change. We need to give customers time to adjust their unmanaged extensions of our package in ...
5
votes
1answer
486 views

How do I manage Protected Custom Settings in a BETA package?

As I understand there are two visibility modes for Custom Settings: Public settings, accessed via Setup > Custom Settings Protected settings, via Grant Login Access after installing a security ...
5
votes
1answer
535 views

Error in post-install HTTP request

I'm developing a package with a post-install script. The script makes a HTTP request to my webserver, or sends me an email if an error occured. Every time the script is run, I receive this error: ...
5
votes
1answer
836 views

Flows calling objects in managed packages

I'm wondering if someone has a best practice / blueprint which works better than the following scenario that I've got myself into: Created a managed package in a D.E. org which contains a Flow ...
4
votes
1answer
591 views

Beta Package (Not allowed to install metadata via apex)

I have a beta-managed-package the when deployed has a Apex Metadata API call out that allows users to modify some Custom Metadata that is shipped via the the code. It also allows them to create new ...
4
votes
2answers
361 views

Publishing profile security settings

I have a custom tab. I have decided by default a particular user profile should not be able to see this tab. So I go into set up / manage profiles / theprofile and make this tab hidden for the ...
4
votes
2answers
227 views

Downgrade from my latest beta package to previous manage package

Good day everyone. I have make a manage package in salesforce. I've tried to install it to another salesforce instance, and it is running as expected. After that, I've tried to create a new fields to ...
4
votes
1answer
51 views

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

Global things can't be un-global-ed once they hit production. However, I need to debug something in a sandbox and want to generate a temporary beta build with some methods made global. Can I switch ...
4
votes
1answer
80 views

Updating UI Settings with a Managed Package

I'm wondering if it's possible to update standard UI settings with a Managed Package? I've created a package dependent on some key settings, so I'd like a Trigger that will look at whether or not ...
4
votes
1answer
74 views

design:attribute on Locked Developer Controlled Package upgrade

We have been using the 2nd Generation Developer Controlled Packages (https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_dev2gp_plan_pkg_types_locked_unlocked.htm) in ...
4
votes
1answer
472 views

More than 1 developer package named 'MyPackage' exists in this organization. Please rename one of packages so that it has a unique name

First I was getting this error when tried to import the package from XML using Metadata API (I use force.com CLI for that). The package with this name really exists in the organization, but it ...
4
votes
2answers
2k views

Managed app installation on Salesforce Production Org

Salesforce has two versions of Managed app Managed App ( Beta ) Managed App ( Released ) Currently inorder to do a prototype testing I released a Managed App (Beta) and simulated how a real ...
4
votes
1answer
935 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'...
3
votes
1answer
48 views

How to test DX-namespaced package in regular sandbox

While developing managed packages with DX I constantly run into the following problem: My developers use DX scratch orgs and the code uses the namespace we also latter use in the packaging org. My ...
3
votes
2answers
976 views

visibility of custom objects in managed package

I want to add a custom object in my managed package. And i want that content of that custom object will be visible to only admins of org installing the package. how to achieve this? Scenario is i ...
3
votes
1answer
214 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 ...
3
votes
1answer
785 views

Getting false result when using Schema.SObjectField

I am using Schema.SobjectField to get all the fields of Account object. I am getting correct result in my development org. But when i add the class in a package and install it in another sf org, i am ...
3
votes
1answer
260 views

System.ScheduleBatch not executing on beta-managed package

I have a batch class in which on a specific condition I call system.scheduleBatch().I am passing the instance of the same batch class to system.scheduleBatch(). global class MyBatch implements ...
3
votes
0answers
55 views

Why can't I install my managed package beta into a sandbox?

We have a managed package on the AppExchange that various customers use. We develop this using SFDX and follow the usual processes of having unit tests with appropriate coverage etc. as required. As ...
3
votes
1answer
15 views

Managed package keeps marking object required even with no references

I keep seeing Product under Package Requirements even though there are zero references to it anywhere in my package. I have searched through all my files both in my local editor and Developer Console ...
3
votes
0answers
104 views

Spring '13 Sandbox error with beta-package install

I'm installing a beta package into a Spring '13 Sandbox org. Previously we didn't have any issues with installing into this sandbox, but now I am getting an error, which our partner support has ...
2
votes
2answers
885 views

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

We've added couple of new picklist options to standard picklist field Account.Type. In package.xml the following chunk of configuration is in place: <types> <members>AccountType</...
2
votes
1answer
435 views

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

We have created a managed package which consist of multiple custom setting objects with multiple handler classes.Now in Post Install Script field,We are able to add only one handler class.How can we ...
2
votes
2answers
1k 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 ...
2
votes
2answers
162 views

Managed package install

I recently realized that we cannot install a managed package beta in a customer environment. We need to provide our package to a customer and that leaves us with an option of converting the managed ...
2
votes
1answer
294 views

How to release the a lock on Apex Class from Scheduled Job

Is there a way to release a "lock" on an Apex class after the scheduled job that was using that class has been deleted? For some reason, this "lock" is still active and is preventing me from ...
2
votes
1answer
75 views

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

I created a managed package that, among other things, defines a custom object. I installed this package on my client's Sandbox and created several instances of this custom object. Now I've created a ...
2
votes
1answer
826 views

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

I have lightning components developed in our dev org. I want to put them in packaging org to package and distribute it(in test sandboxes first through beta managed package). Now as they have been ...
2
votes
1answer
242 views

Cannot undelete package components despite info saying you can

I have deleted a Visualforce page in my managed package, however, this is now preventing me installing a new Beta version. I am on the page for Deleted Package Components. It says: This list ...
2
votes
1answer
152 views

Upload beta package - how to bypass or speed up tests execution

We have our huge managed package (1st generation, i.e. classic one) and every time when we upload new beta version (even with just a few fixes) it takes up to 3 hours for the whole process to complete ...
2
votes
4answers
1k views

New picklist value not being added to upgraded package

I have a managed package that contains a picklist with some values (static values -not global). As my solution expanded I added a new value to this picklist, and created a beta package. After ...
2
votes
2answers
469 views

Cannot upgrade released managed package to beta because it is referenced by an extension package

We are trying to upgrade a released managed package to the next beta. I know this is possible as I have done it before. However, this time we are getting this error. Can anyone shed any light? What is ...
2
votes
1answer
44 views

Best way to demo while ISV Partner agreement in-process

We are working through the process to become an ISV but we have an app written. (I know, backwards) We would like to run demos with clients to show them that we are on track. What is the best way ...
2
votes
1answer
105 views

Error While installing Beta-managed Bolt Solution Package

I am facing this error while trying to install beta-managed package to my Dev Org (Platform version - Summer'17). I googled before posting the question, and found this link: Question link. However, as ...
2
votes
1answer
234 views

Unable to uninstall managed beta package throws internal server error

I've been trying to uninstall a managed beta package that I have in another dev org (3 dev orgs), but I keep getting an internal server error like below: I made sure nothing is dependent on the beta ...
2
votes
0answers
58 views

How to develop minor (1.x) AND major (2.x) features of managed package in a single DE org

I have a managed package were I constantly add smaller features (to big for patches) by increasing the minor release version: 1.12, 1.13, 1.14. Now I also want to work on some disruptive changes (for ...