Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [isv]

ISV (Independent Software Vendor) partners are those who build applications for the Salesforce ecosystem rather than simply providing consulting services or one off solutions.

3
votes
1answer
31 views

Second-Generation Managed Package Security Review

Generally, the question stands as what steps need to be done in order to send 2-nd generation managed package for security review. Current conditions: I have developed 2-nd generation managed ...
2
votes
0answers
11 views

packaging/patch org on newer version than subscriber orgs: how to patch?

Every time Salesforce rolls out a seasonal update we face the following problem: our packaging org as well as all patch orgs linked to it are on a node that is in the first tranche of orgs being ...
2
votes
0answers
18 views

Integrate external app using IFrame (not Canvas) and Security review

I have a customer that wants to integrate an external Java App with a Managed Package. As the endpoint (domain name) of the external Java App(s) is not static but differs from customer to customer we ...
0
votes
0answers
12 views

Use Free License Profile to restrict subscriber support (“Grant Login Access”) to my app

When a customer installs my Managed Package I as the ISV get powerful access to his Org. The access is not restricted to my app and its metadata but by the profile of the user that grants access. To ...
2
votes
0answers
27 views

Managed Package Install takes too long to show Config page

As Post Install Scripts are too limited for my purpose I added a custom Config page to my Managed Package because it displays nicely after the installation is done. The problem is that the ...
0
votes
1answer
14 views

Minimal Salesforce License to use LMA and Subscriber Support

I couldn't find any information on what's the minimum Salesforce license to grant a support person permissions to do Subscriber Support in the LMA. Can someone please point me to such information?
6
votes
1answer
113 views

Email Service via Metadata API fails to create from Managed Package

As Email Services can't be packaged in a Managed Package, I allow subscribers to create it after the installation. The code which works in my packaging org fails in productions orgs with: An Apex ...
4
votes
1answer
31 views

Flow from Unlocked DX package can not be changed in subscriber org. Why?

I just installed an unlocked package containing flows in a customer sandbox and was a bit shocked to see that the flow cannot be opened and adjusted by the customer/subscriber. I thought that's the ...
1
vote
0answers
13 views

LMA count not being updated by CMA

One of my clients purchased an additional license 4 days ago but it is still not available in the LMA. In the CMA correctly shows the license count, but I can't figure out how to get the LMA to update....
2
votes
1answer
105 views

Is there a way to use a private custom lwc Component (isExposed=false) in a flexipage that will be deployed in a managed package?

We are an ISV partner and are working on a managed package that we will release soon. We are mostly using LWC components and found that if we try to include one of our custom LWC component into a ...
2
votes
2answers
130 views

Unable to deploy metadata from Partner Developer scratch org because of extra fields

As I hoped for higher limits I created my scratch org as a "Partner Developer" org. { "orgName":"myns", "edition":"Partner Developer", "features":[ "CascadeDelete", "DebugApex", "...
3
votes
2answers
90 views

Platform Cache for ISVs

I have used Platform Cache as a customer a while ago but never heard any story about ISVs using it. So, I'm wondering: is there any ISV out there using it and if there is any, how?
2
votes
1answer
53 views

Step-by-step guide to migrate existing managed package to DX

I have a managed package in Bitbucket and want to work on it using DX. There are tons of articles on how to migrate to DX but I am still looking for a one page checklist that I can use for every ...
3
votes
0answers
43 views

Prevent modifications to Named Credential in Managed Package?

The background of my question is described in Managed package upgrade fails as Named Credential seems to have modified. The upgrade of a managed packaged failed with a modification error on a ...
2
votes
1answer
28 views

Managed package upgrade fails as Named Credential seems to have modified

But the Named Credential hasn't changed between current and new version. So this Known Issue doesn't apply: https://success.salesforce.com/issues_view?id=a1p3A000000mCFtQAM&title=cannot-modify-...
0
votes
1answer
23 views

How to restrict Sandbox LMA License to match Production License Status/Count?

How to restrict Sandbox LMA License to match Production License Status/Count? If your AppExchange package includes a free trial, in Production the app installs well with TRIAL as the status. However, ...
1
vote
2answers
48 views

How to raise a case with salesforce from ISV developer org from where we create the managed package?

I am working as a developer for an ISV salesforce partner. We have some issue and we want to raise a case with salesforce for that. The isssue can be reproduced on our partner developer org from where ...
7
votes
1answer
411 views

How do I publish apps on AppExchange for free as a freelancer?

I want to publish apps on AppExchange for free, can I do that as a freelancer without using any corporate email address and without paying any partners fee to Salesforce? I have tried to register as ...
1
vote
1answer
74 views

Can custom metadata type records be deployed from post-install script?

Looking at limitations of post install script there's no mention of CMDt's, but it also seems like post install stuff does get that much attention and given how many limitations CMDt's have - its wise ...
1
vote
0answers
80 views

How to work with patch orgs in Einstein Analytics apps

I think Einstein Analytics apps are incompatible with Patch orgs. Why that? To develop our software we build Einstein analytics apps and dashboards. We learned it the hard way that we cannot add those ...
2
votes
0answers
27 views

Apex code to know if an ChildRelationship is in my package

I am working out of a managed package and want to find out what lookups are created by customers of my package. So fields that are unpackage. for(ChildRelationship rel : myType.getDescribe()....
4
votes
1answer
88 views

After modifying dashboard SAQL in template downstream apps fail to create

What we have done: Created a trivial Einstein Analytics app with the most simple dataflow and dashboard. Created a template for this app Successfully created a (downstream) app from this template (to ...
0
votes
1answer
53 views

Adding Reports To Managed Package Failing For Folder Already Exists?

We have a managed packaged with reports and Dashboards in folders. If we add a report to an existing folder and deploy it to customers, the package install keeps failing with: "This folder unique ...
2
votes
0answers
25 views

Workaround for “Install Managed Package Into Sandbox Fails on All Lightning Component Bundles”?

We're experiencing this issue - "Install Managed Package Into Sandbox Fails on All Lightning Component Bundles" that is affecting other vendors as well, where our package with new Lightning components ...
3
votes
0answers
97 views

How to specify namespace and partition for Org Cache when creating managed package?

I'd like to make an ISV App / Managed package that uses the Platform Org Cache. The clearest directions on how to do this are described in this trailhead. However, when writing my code, I am unclear ...
0
votes
1answer
84 views

Managed package Visualforce page URL on subscribed organization?

When I develop a package and use a Visualforce page with additional parameters as custom button, URL button link doesn't work in subscriber org. For example, my page has name MyBeautifulPage and URL ...
3
votes
2answers
56 views

Query managed package components (including dependencies) from releasing org

In an org that releases a managed package, the package detail page lists the components in the package (recently added components, previously released components, indirectly added components). Is it ...
5
votes
1answer
88 views

Querying Managed package versions from Apex in 2018

This was asked in 2015 - Querying Managed package version from Apex - (and in other posts here) but I want to check that there has been no change to this in the last 3 years. We have several managed ...
3
votes
1answer
113 views

Managed Package: Catch exception and then re-throw asynchronously?

I'm working on a managed package in which our customer (the company that asked us to develop the package) runs into certain exceptions in edge case UAT scenarios (e.g. API has gone bonkers for 10 ...
4
votes
2answers
1k views

“ERROR: entity type cannot be inserted: Second Generation Package.” when trying to create Second Generation Package

I am attempting to create a Second Generation package using the Salesforce CLI. I have a Dev Hub organization connected in which Second Generation packages are enabled. I run the following command to ...
1
vote
1answer
496 views

Can't see managed package code/logs when logged into subscriber org with LMA

Based on the Troubleshooting in Subscriber Organizations guide, it seems that when a subscriber has granted you access to their Salesforce organization, you should be able to see obfuscated code and ...
0
votes
1answer
32 views

In LMA is there a field or something that marks push upgrades or user upgrades?

Is there a way I can query the LMA objects to find if a package version was upgraded via AppExchange or if it was a push upgrade? Which object/field? The idea is to have a trigger so if it was a push ...
1
vote
0answers
71 views

Grant access to connected app only to managed package licensed users

I have a fully working connected app, and now I want to authorize only managed package licensed users. Let's assume the managed package namespace is xyz. Scenario: ISV A releases xyz Company B has ...
1
vote
1answer
307 views

2nd-generation packaging: Ready for prime time yet?

I'll be building my first managed package as part of a client project. Because we're writing it on behalf of another company, eventually it will be released under a namespace that belongs to them, and ...
5
votes
0answers
77 views

Can't delete deprecated packaged Custom Object as it has a Flexipage?

Is it true that there is no way to remove a packaged Custom Object with a Flexipage attached to it? Flexipages can't be removed and the Flexipage itsself can be edited when it is packaged. If so, ...
3
votes
1answer
77 views

Tooling API from Visualforce - OK in managed package?

I'm working on a project that will have us create a managed package which can be used for integration between Salesforce and our client's platform (let's just call it Cloud Product). Our client will ...
1
vote
1answer
50 views

Seeking clarification “OAuth consumer Id” from docs

We are new ISVForce Partners and need to create an Oauth 2 flow in our component to make REST API calls. I am following the official docs and there is a sentence I don't really understand: ...
1
vote
0answers
43 views

Issues in upgrading Managed Package

We are trying to upgrade our managed package from V3.2 (Managed Release) to V4.0(Managed Beta). The installation seems to fail stating - 'Insufficient Privileges You do not have the level of access ...
6
votes
1answer
160 views

SOQL inside a While loop is not detected in Security review

Noticed a weird thing, SOQL inside a for loop is a bad practice but in a while loop isn't? Force.com security scanner has not detected a SOQL inside a while loop and also note that our paid ...
1
vote
1answer
31 views

Pattern to determine whether a given URL is for a Salesforce org

My web application receives web hook registration requests for Salesforce instances. Applications other than Salesforce may also register a web hook. What pattern(s) could be used that would reliably ...
21
votes
2answers
429 views

Friction-free process to switch to SalesforceDX with existing managed package

Dreamforce '17 made it crystal clear. Salesforce DX is ready for prime time. With Second-Generating Packaging SGP even for ISVs. Salesforce DX is awesome, nonetheless we fear that getting started ...
5
votes
2answers
562 views

When and where should a connected app be created during DX managed package development?

I'm developing a new managed package that will include a connected app. I created a connected app in a scratch org and committed it to version control. Then, when pushing the source to a new scratch ...
11
votes
3answers
556 views

Strike vs. Lightning Base components - How to stay fast and maintainable?

With Winter '18 Salesforce.com released a bunch of new Lightning Base Components. Components that we were desperately missing half a year ago. Back then Strike Components where our rescue. Now we ...
0
votes
0answers
74 views

How to work around data skew problem?

We have a custom object that is a detail of Account. Every account may end up with tens of thousands of records of this object type. We have the business need to actually have those records under the ...
6
votes
1answer
197 views

Status of Usage Metrics - Is it dead or is there a roadmap?

The current version of Salesforce Usage Metrics for ISV apps as describe here https://www.salesforce.com/video/192805/ is quite limited and seems to suffer from a lot issues. Is this a dead tool that ...
2
votes
1answer
25 views

Is retrieving data from REST API in Apex consistent with ISV security guidelines?

I'm working on an ISV app that needs to query a large number of records- more than is allowed by the native SOQL query governor limits. If the ISV application calls the Salesforce REST API to retrieve ...
0
votes
1answer
80 views

Can't remove Apex Sharing reason from managed package. Why?

In my managed package I had a CustomObject__c with an Apex Sharing reason. I now want to delete the object from the package. But I can't. Because I need to delete the Sharing reasons before. Which I ...
1
vote
1answer
126 views

What are most commonly used ways to do automated testing in Apex?

We are an ISV partner and looking for ways to automate our tests for our package. We are looking for something like Mockito for Java and have found ApexMocks library, which is built on top of Stub API....
0
votes
0answers
112 views

Why does developer org say “Trial Expired” when I try to log in and how do I fix it?

I have a developer edition I use to develop app. It was working fine, today then I try to log in it says Trial Expired as far as I know developer edition does not expire. Is Request Partner Benefits ...
0
votes
1answer
31 views

Can I list a paid manage package from my sales force developer account

Can I list (publish a managed paid package on AppExchange) a paid manage package from my sales force developer account? What are the prons and corns? Documentation say's: Checkout Management App can ...