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

4
votes
2answers
42 views

Can I restrict a client System Administrator field access in a managed package?

I'm writing a managed package, and I'm using a number of fields that are controlled by the system and written to from apex. Of course, I can restrict access to the fields via a profile, but I don't ...
5
votes
1answer
61 views

stackTrace is null within managed code

public class TestEx{ try{ //some code }catch(Exception e){ string errmsg=''; errmsg+=e.getmessage(); errmsg+='\n'; errmsg+=e.getCause(); errmsg+='\n'; ...
11
votes
0answers
53 views

InstallHandler runs under a special ghost user. What rights does it have?

When you install a managed package with a post-install script, Salesforce creates a special ghost user under which all of the post install activities occur. I think this is undocumented. Here are some ...
1
vote
1answer
63 views

Class is not visible in managed package

I have created a VF page and extensions for VF page a extension. I am using custom object as standardController and create a field set in the object which I am using in the VF page. On this VF page ...
3
votes
1answer
31 views

In a managed package, how should you reference static resource images from css defined in a static resource?

The following works in my dev org and the packaging org, but not in an environment with the package installed: .edit-step-icon { background: url("png_list_edit_icon") no-repeat top left; ...
2
votes
1answer
29 views

Salesforce Manage Package Org API Usage Limit

I'm thinking about doing including some HTML parsing/screen scrapping html to get the Org current API Limit Usage/Max API limit, though there is report to say the total limit in last 7 days it didn't ...
2
votes
1answer
36 views

Install Canvas app managed package to Professional and Group edition

I developed a canvas app that display a custom section in the account's page, so that I uses: canvas app virtualforce page page layout profiles (to assign which users can see the application) I ...
2
votes
0answers
18 views

Authorization Required - While accessing VF page of managed package on sites

We have developed a managed package and as a part of package it has VF pages, extension classes, custom objects etc. When the VF pages of the package are accessed on the developed environment they ...
6
votes
2answers
77 views

Capture Stack Trace in Managed Package

Can you capture and store stack trace information in a managed package? This page says that the idea was delivered, but that's not what I'm seeing. The same code stores this stack trace in the ...
0
votes
1answer
32 views

testMethods and Managed Packages

When running testMethods which test logic I've built to interact with a managed package, it seems the triggers in the managed package are not firing, therefore I cannot test if my trigger is ...
1
vote
1answer
28 views

Security Review Step 5 issue

I've reached Step 5 of the Security Review submission for my new Managed Package. I've created a new Developer Org, installed the package and then proceeded to continue with the review. At step 5, ...
3
votes
2answers
38 views

Get Organization Type during postinstall

I have a managed package that can be installed in multiple organization types. Attempting to use the following query causes install failure when used in my postinstall script. [SELECT ...
1
vote
1answer
40 views

Retrieve Installed packages using partnerWSDL

I am creating an application for Salesforce Integration. I am trying to retrieve the installed packages from a particular account as I am able to do by using APEX class but now I want to retrieve the ...
4
votes
2answers
34 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 ...
2
votes
1answer
26 views

How to append new tab to the list of selected tabs for all users and apps?

I have a VisualForce tab that is included in my managed package. I have also created a Permission Set for the VisualForce tab that makes the tab visible and available. When I created the tab, the tab ...
2
votes
0answers
27 views

Salesforce Managed package distribution

I´m creating a Salesforce managed package with all my components. I would like to distribute it adding the URL INSTALLATION LINK on a web page of my site (not pushing the App on the AppExchange ...
1
vote
2answers
52 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 ...
1
vote
1answer
30 views

Add wild card in Remote Site Settings for Managed Packages

Is it possible to add Wild cards in the remote site settings for HTTP Callouts. For example I have a web service called foo.com. My customers have accounts on my service as customer1.foo.com , ...
5
votes
1answer
35 views

Remove App from managed package

I have a released managed package which contains App. In new version I added Connected App to this package and wanted to remove old App. Is it possible? At least I would like to remove link to it, ...
4
votes
3answers
71 views

Automate assignment of managed package licenses?

We have a managed package that requires a license. We've purchased enough licenses for our entire company (2,500+ users). Assuming I know the SELECT statement that will get me a list of all these ...
1
vote
1answer
43 views

ISV development process [closed]

What is typical dev process for managed packages. Which orgs it is reasonable to have? I think partner dev orgs for each developer, next - create Partner Dev org(based on EE) for qa where unmanaged ...
3
votes
1answer
41 views

Check managed app is installed or not

I am integrating Salesforce with ASP.NET application using APEX code. Currently I want to know how can I fetch either the particular managed app is installed in this account or not. As I am not able ...
3
votes
1answer
33 views

Managed Package 'Push Upgrade' with System Administrator profile privileges

When I push upgrades to organizations that have already installed my applications, new Apex Classes and Custom Fields get created by a user with the 'Package Manager Profile' even though the package ...
0
votes
0answers
32 views

Salesforce Managed Package Installation Error Sandbox

I am installing Package in Sandbox , It will not Installing I am installing same in Developer Edition Installing fine. What is reason not installing in Sandbox
1
vote
1answer
45 views

Re-ownership of scheduled job from managed packages

One of my orgs has a managed package in it, and was installed by a previous user, who has now been deactivated. Firstly therefore, this means I notice that on the package detail page, it is "Installed ...
2
votes
1answer
36 views

Can the name of a managed package be changed after it's released?

I know you can change package names when unmanaged, but what about managed ones after being released? If I'm going to release a new version, can I give it a new name before the new release? I'm ...
1
vote
0answers
37 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: ...
2
votes
2answers
35 views

Set the major version number of a managed package

Can I set the version of managed package to a desired version number? I've a managed package whose version number is something like 1.x. I would like to set the version number to 2.0 for the next ...
2
votes
1answer
35 views

Changing a Case Insensitive field in Managed Package

I have a "Dupe Detector" field in a couple of objects that is Unique (Case Insensitive). It is a Text(255) whose value is updated by a Workflow Field Update. We have recently had the problem that ...
6
votes
1answer
97 views

Determining Namespace Prefix in JavaScript and Apex

When you have a dedicated Visualforce Page and can use modern JavaScript Remoting techniques, this is seldom an issue. But I'm looking at some historical code in a managed package like this: ...
0
votes
0answers
21 views

How to hide shadow account in NPSP's 1:1 and 1:M model

Considering NPSP's 1:1 and 1:M model(Which B2C option to choose?) what are the options to hide shadow/parent account in managed package (OWD for Account&Contact are Private). Thanks in advance.
2
votes
2answers
33 views

Test for presence of specific object or managed package?

I am writing a test class that needs to be instance-agnostic. On some of our instances we have a managed package that affects the outcome of the test, so I need to insert some test data that will be ...
0
votes
0answers
12 views

Unable to login to subscriber org after Salesforce update

Previously, to debug managed package issues I have used the Grant Login Access menu option in the Setup area. Salesforce has recently replaced this with Login Access Policies, and no matter what ...
4
votes
1answer
48 views

Is it possible to downgrade a managed package?

Have any of you gurus ever successfully downgraded a managed package? I'm aware that officially, you are not able to downgrade to earlier versions. And I appreciate many component types are one-way ...
1
vote
2answers
45 views

“Uninstalling Package Failed” error persists in Production Org

Problem in uninstalling package from production Org. Error Code : Error Number: 1418461257-25979 (2077356007) Solved all Dependency Errors while uninstalling package that were received .But still ...
1
vote
0answers
38 views

Picklist Dependencies lost when Managed Package Upgrade Installed

Whenever we install a new version of our managed package in a client's org, we are losing the field dependencies that the client specifies locally for a managed package object. Is this expected ...
6
votes
1answer
55 views

Package Installation Option: Automatically attempt to rename conflicting components in installing package

One of the steps when installing a namespaced managed package is shown below. What will the Automatically attempt to rename conflicting components in installing package option do when there's a ...
0
votes
0answers
23 views

Related to Conga composer

In conga composer Managed package if type of licensed is site licensed then manage package automatically assigned to all users as documented Click here. So will this package name will be available in ...
1
vote
0answers
24 views

New field permission during Push update

The question is about permission for newly added custom field in a managed package. Consider the situation when we have a managed package (say version 1.0), and we're going to Push upgrade on ...
2
votes
1answer
27 views

Version Control “Referenced Packages” metadata when developing managed package

Is there a good reason to add all the "Referenced Packages" metadata to version control when developing a managed (extension) package? Or is there a good reason NOT to do it?
4
votes
1answer
47 views

How to deactivate a managed trigger in a customer org for Mass-Data migration

We have to do a major data migration on a customer org using our ISV product. We need to delete and insert large amounts of records who in some cases have complex triggers. Is there a way to ...
1
vote
0answers
24 views

Upgrade of Managed package fails with <Data Not Available> error email

When I tried to upgrade a customers org with the newest version of our managed ISV package I received this error email minutes after I finished the installation wizard: Your request to install ...
5
votes
1answer
85 views

invalid type sobject type ApexClass is not supported

I'm in a test org where I've installed my managed package. I have a javascript button that is utilizing the AJAX Toolkit to get the namespace dynamically but its not working in this org (it works fine ...
2
votes
1answer
62 views

are custom fields deletable from a managed package?

I see this has been asked before but this doc seems to indicate that custom fields are developer deletable (pg 29), am I missing something? I don't see any way to delete them. ...
3
votes
1answer
35 views

exclude button from page layout in package doesn't seem to work

I have a managed package where I've updated the standard page layout for a custom object to exclude the New button from a related list like so: <relatedLists> ...
3
votes
1answer
55 views

Extend/Overwrite trigger behaviour in Extension Package?

We have a core app (managed base application) and want to extend it with add-on products. We plan to use managed extension packages for this. It is crucial that we can extend and/or overwrite ...
0
votes
0answers
30 views

Trialforce Source Organization managed package error

I have installed latest version of managed package into TSO. In our manage package we have overridden many tabs and buttons with VF pages. Now after installing manage package into TSO, for some ...
3
votes
1answer
48 views

Getting “TestMethod does not support Web service callouts”, callout is in managed trigger

I'm getting an error when trying to test a Lead conversion trigger that the TestMethod doesn't support Web service callouts. (As an aside: it's Scott Hemeter's code for setting Primary and a Role on ...
2
votes
1answer
101 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
36 views

Is there any way to automatically deploy a page layout update in a package?

I have added new page layout and component in the managed package and created a new version, but when I'm doing push upgrades, the changes are not getting into the org. Is there any way to ...