A managed package is a fully-upgradeable container used to distribute everything from an individual component to a set of related apps.

learn more… | top users | synonyms

2
votes
2answers
18 views

System.AssertException not allowing me to convert Leads into Opportunities

I'm trying to convert a lead into an opportunity (on a managed package), so no access to the triggers. I just want to know if there's a solution to an Assertion Failed. This is part of the Error ...
0
votes
1answer
40 views

Programatically change checkbox field default value?

We have a checkbox custom field on Account that defaults to false. It's part of a managed package that we provide. Because it is in a managed package, our customers who install the package can't ...
6
votes
0answers
18 views

Adding remote site to managed package. Can we push to customers?

We will be adding a remote site to our existing managed package that currently does not have any. We have found some documentation on the effects of such an action but we have one remaining question. ...
1
vote
0answers
34 views

Getting error when clicked on preview for lighting

I am working with lightning. This is first time I am trying it out. I have create a app, apex controller and js controller. I am just trying to get some information form my accounts and want to ...
1
vote
1answer
12 views

Does runalltests run test cases for managed packages?

Does this parameter run all the test classes for the managed packages Or does it run only for the unmanaged packages ?
1
vote
1answer
32 views

Can Support undo the (not yet released) deletion of a managed field?

The CustomChild__c object was tied to CustomParent__c using a mdr_BadlyNamed__c relation. I planned on replacing it with a better named field and knew that this meant some migration on each customer ...
0
votes
1answer
9 views

Validation rule and Managed Package

I have a Validation rule in ShippingPostalCode in Account Object. Validation rule check for US Standard format and field should be required. When I run runAllTest from Developer Console. Managed ...
0
votes
0answers
34 views
+50

Issue with inline VF page from Managed package on org where SSO is setup

I am facing weird problem on one of customers org. The inline VF page is not working on one specific org when we use SSO to login on that org. If we use normal login then it works fine. When we login ...
0
votes
2answers
21 views

Can hidden classes in managed packages be scheduled programmatically?

My use case: Any time I update code that is related to a currently scheduled job, that job has to first be unscheduled, then rescheduled after the code update. Doing this manually is a pain! My plan ...
0
votes
1answer
32 views

Dynamic Query in Managed Package Salesforce

How can we write below dynamic query in managed package to pass Security review. set<id> idsList=new set<id>(); // list will have ids string query= 'select ...
11
votes
0answers
93 views
+100

Detect if Apex Flex Queue is enabled in an Org

I have a managed package that starts a batch job. Right now, before attempting to start the batch it does a check like: integer batchJobLimit = 5; integer currentBatchCount = [SELECT count() ...
1
vote
0answers
19 views

Managed Package Field API

I have a managed package installed in my dev org. In one of the objects belonging to the managed package say Object1__c there is a custom field with the API 'namespaceprefix__abc__c'. I have added a ...
1
vote
1answer
22 views

Enable Environment Hub

I want to enable Environment Hub in the DE org that contains a managed package. Will this cause any issue when try to upload a new package version or push an upgrade. Any Idea? Thanks
2
votes
2answers
15 views

Call webhook when permission set assigned?

We have a connected app that we will be selling to customers in the form of a managed package. Once the customers have purchased the managed package, it will be installed into their org. They will ...
3
votes
0answers
19 views

Duplicate Management - Packaging Matching Rules

Matching Rules and Duplicate Rules are a new feature in Salesforce. I see that matching rules can be pulled as metadata xml, but I can't find any documentation about packaging them. Can matching ...
2
votes
2answers
41 views

Querying Managed package version from Apex

Is it possible to query the version number of an installed managed package? I do not find any information in the PackageLicense object. If not, what is the alternative approach?
-1
votes
1answer
21 views

How do I hide a component on some layouts but still perform work?

I have a component that we only show on some layouts for an object. It has a polling function that monitors changes to the object (an object from a managed package). One function of the polling is to ...
1
vote
0answers
61 views

Is it possible to remove namespace prefix from a managed package?

I have installed a managed package. I need to remove my managed package. I am not able to uninstall the manage package. Is it possible to remove? Please can any one help me out what do I need to ...
2
votes
1answer
27 views

What's the best practice for providing this functionality?

I have a web app that I want to allow users to create cases in Salesforce with. Currently I have a developer instance where I call the REST api to create a case. However, I want other people to be ...
0
votes
0answers
23 views

Managed Package Static Resource URLFOR redirect

It seems that following activation of the Summer '15 critical updates that when accessing static resources that are part of a managed package then although the URLFOR now resolves to a relative ...
1
vote
0answers
12 views

Custom Field Limit Error on Installation of Managed Package

I'm running into an issue where in attempting to install a managed package I get an installation error about hitting the custom field limit. My understanding of Managed Package is that it doesn't ...
1
vote
1answer
30 views

Aura event namespace lightning component package

I went through an example showing contact list search etc. In the SearchBarController.JS we have this line: var myEvent = $A.get("e.**namespace**:SearchKeyChange"); And this works fine where ...
0
votes
0answers
20 views

Managed Package - check for Person Accounts with post install script [duplicate]

So I was wondering if I can make a managed package with Person Accounts referece and install it on orgs w/ and w/o Persons enabled and then checking in code if it has or hasn't Persons enabled.
0
votes
0answers
25 views

Salesforce usage metrics - event tracking?

We are looking to do some event tracking in our Salesforce managed package to assess our app's usage. Google Analytics would serve our purposes quite well, but we'd ideally like all of this data to be ...
2
votes
1answer
57 views

Sanbox refresh and manage packages

When we refresh sandbox all the metadata and some data is refreshed and it makes replica /subset of production. I have one managed package installed on my production (its not app exchange app but ...
1
vote
1answer
18 views

Agile Accelerator (GUS) Source Control connector

Since this is a managed package I am not able to dig into the code and figure out how stuff works but it appears that the SF Agile Accelerator AKA GUS has links into GIT and a couple of other source ...
2
votes
1answer
30 views

Change Class access modifier in Managed Package

I have created a sample app in developer org and set the class modifier as global and then released its final version as managed package. Now it was caught in security review , now I have to make it ...
1
vote
0answers
10 views

Managed Package installation

We recently installed a managed package with setting 'install for all users' with limited number of licenses. Now every time a new user is created he/she is automatically assigned a licenses. Can we ...
1
vote
1answer
14 views

Managed Package Installs

Is there a way I can get a report from the App Exchange that shows who all has installed my app? I see that there is a report in app exchange that shows the number of installs, but I would like to ...
0
votes
1answer
36 views

Why does it say my VisualForce page 'does not exist or is not a valid override for action Edit?' It exists and is valid!

I am developing a managed package that has a VisualForce page for configuration. Before I packaged everything up, I made some buttons on the page that the user can click to automatically set their ...
1
vote
1answer
14 views

Abort package install if dependent package doesn't exist

I'm trying to figure out the best way to prevent a managed package from being installed if another managed package isn't already installed. I've looked at this question which basically explains what ...
0
votes
0answers
43 views

Custom field visibility error on managed package installation

I have a managed base package and an extension package. The base package had a remote site as one of the components but I had to remove it. Since I couldn't remove the remote site from a released ...
1
vote
1answer
63 views

How can I display a document image in a VisualForce page so it works in a managed package?

I am making a managed package that contains an app that uses a document type image as a logo. I use the same logo on a VisualForce page in the same package, but that file is actually stored as a ...
5
votes
2answers
78 views

Custom Settings - Visibility Protected - Managed Package

I have a requirement to create a protected (visibility) custom setting which will be part of managed released package, now in the next release we need to make the visibility to public. I know there ...
1
vote
1answer
51 views

Salesforce code limit

We have a fairly large salesforce product with a large code base. We are going to hit the code limit of 3,000,000 very soon. I have read in forums that salesforce can increase the limit if we can ...
1
vote
0answers
17 views

Assign new Record Types on Managed Package object on upgrade?

We have an object in a managed package, that in previous versions had no record types. In the next version, it has two. On install of test versions of the package, all profiles are assigned Master ...
1
vote
2answers
44 views

Upload disabled due to “Managed Deletable References Detected ”

...because the Upload button is disabled and the following error is displayed. Managed Deletable References Detected An extension package cannot Refer to any managed deletable components in ...
0
votes
0answers
23 views

Ghost Schedulable Classes Blocking Uninstalls

I am seeing a similar issue as Ghost Schedulable Classes Blocking Deployment on the opposite end (uninstalls are being blocked). As advised we've been having Salesforce support run the "fix for ...
1
vote
2answers
82 views

Managed Package Important Questions

I have read many blogs and documentation for this but would love to hear from someone who can share his/her own personal experience. Please condone if the questions seem naïve. I am aware of most of ...
1
vote
2answers
61 views

ISV-internal interface between Base and Extension Package - Best Practises?

We are an ISV with multiple managed packages that build on each other. EXTENSION builds on data in BASE. We now want to start to add Apex code in EXTENSION that uses and enhances code in BASE. How ...
3
votes
1answer
22 views

Can I publish a managed package on AppExchange that was made in a different developer org?

I have a regular developer org on which I have developed a managed package. I now want to publish it on AppExchange. I just read that I need an ISV partner account in order to do this. It seems this ...
2
votes
2answers
79 views

Apex: Getting namespace prefix

We have a scenario where we need to make assignments to fields using the method put(String, Object) Ref: ...
2
votes
1answer
28 views

Mismatch Version

I have created unmanaged package in sandbox(Enterprise Edition). And link after uploading package in sandbox is like https://test.salesforce.com/packaging... And I am trying to install it in ...
3
votes
0answers
38 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 ...
1
vote
0answers
53 views

Can a version of your managed package be changed from Released to Beta?

During our latest release we removed several Visualforce pages and Apex controller from our managed package. As we were removing all references to these pages we did not think 2 releases would be ...
1
vote
0answers
49 views

Control Managed Package Connected App Permission Set from managed code

I'd like to deploy a Canvas Connected App as part of a managed package and be able to dynamically assign users access to it via a Permission Set. The Canvas App is using the Signed Request (Post) ...
0
votes
1answer
38 views

no such column 'lastreferenceddate' on object in one org but not the other

I have an object thats part of our managed packaged. It has the standard field lastreferenceddate as well as lastvieweddate in a customer org but not in our packaging org. Any idea why this might be?
1
vote
1answer
45 views

Managed Packaged Appication Help (Zap Scanner)

I am doing apex rest callout to third party web service but when I ran zap scanner using SOAP UI, it gave me results which are specific to client side but not on server end like xframe options etc. ...
2
votes
2answers
60 views

Deploying an Apex class with a dependency on an older managed package version

I'm working on automating the deployment from source control to a sandbox that will be used by a single developer. I want to be able to deploy to the sandbox so that it mirrors the chosen source ...
0
votes
1answer
43 views

SOQL Implications of Using Declarative Lookup Rollup Summaries

I am a big proponent of using Andrew Fawcett's Declarative Lookup Rollup Summaries tool. However, I need to have a better understanding of how it affects my governor limits. Specifically, I have an ...