Questions tagged [lma]

License Management App (LMA) for managing App Exchange packages deployed to subscribers.

Filter by
Sorted by
Tagged with
3
votes
1answer
25 views

License Management Application (LMA) in scratch org

We would like to do some sort of exploration of License Management Application, i.e. play with it, look at new objects added to SF schema, maybe write some triggers etc. Is it possible to spin up a ...
3
votes
0answers
49 views

How to use the Feature Management App (FMA) to grant access for a defined number of users?

The FMA allows named booleans, integers and dates to be set by the creator of a managed package so they can turn package features on and off per customer. The boolean option is pretty obvious: every ...
8
votes
2answers
197 views

Use FMA Features for per-user licensing

As I understand the Salesforce FMA, you can enable certain Boolean toggles per LMA license. But those licences are per org, either: As Site-wide license for all users of a subscriber org An amount of ...
3
votes
1answer
36 views

How do I access the full debug log for an managed email service Messaging.InboundEmailHandler?

I have a Messaging.InboundEmailHandler class that is packaged and distributed as part of a managed package. It is then configured against an Email Service in subscriber orgs. How can I access the ...
3
votes
1answer
49 views

Site-wide licence for QA org is reset in LMA on package upgrade

For each of our customer apps, we create an Enterprise org for acceptance testing. We always create them using our ISV Environment Hub. We now struggle with doing testing in one of those QA orgs as ...
1
vote
0answers
16 views

Adjusting a Customer's AppExchange Subscription

We offer a monthly and annual subscription to our AppExchange package, and we use LMA and CMA along with Stripe to manage and see all the subscribers and their payments. A situation came up where a ...
1
vote
1answer
74 views

Managed Package: Subscriber Support via LMA - Access to protected settings and custom metadata

Let's say, we had LMA (License Managing Application) configured for our managed package and subscriber granted us permission to log in on their behalf via Subscriber Support tab. If we logged in, ...
0
votes
0answers
14 views

Does Licence management application access subscribers Credits

Please advice, Licence management application (LMA) have a Subscribers. In the LMA Subscribers tab i have a Subscribers that Subscribers have accessed my application from AppExchange. That application ...
0
votes
0answers
12 views

Issues while creating Service Order (Channel Order Application) programmatically

Facing an issue while creating a Draft Service Order programmatically and then trying to view (and submit) it (via COA_Order VF page). I'm able to successfully create a draft service order of type "...
1
vote
1answer
43 views

LMA - install on Partner Business Org or our Production org?

I've done a lot of reading on LMA (nice overview here), and it's an app that can technically be installed on any org, although docs and this trailhead module generally suggest to install it on a ...
1
vote
0answers
22 views

Validate LMA/FMA Before Publishing To AppExchange

Is it possible to validate that your LMA/FMA code functions correctly before you ever upload a package to the AppExchange? I have an existing, released managed package that I need to try using LMA/...
0
votes
2answers
99 views

Get NamespacePrefix for a given Package Id (in org with LMA app)

Is there a way to get the Namespace Prefix of Managed Package where I just have the Id of? Maybe it is helpful that my code sits in the same org as the LMA app in with its sfLma__Package__c objects. ...
0
votes
2answers
58 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?
2
votes
0answers
76 views

How can I get Debug Logs for Apex code in my Managed Package which is invoked via Execute Anonymous on the Subscriber Org?

I have installed a Managed Package and connected it via the LMA. The subscriber org shows up under the Subscribers-Tab. An user on the subscriber org has granted me (as package provider) login access. ...
1
vote
0answers
20 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....
0
votes
1answer
79 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, ...
2
votes
1answer
134 views

FMA parameter update in LMO org using apex

We recently started using FMA app to manage some features in our managed package app. One of the requirement we have right now is on License create/update we need to update one of our FMA parameter (...
1
vote
0answers
47 views

Delisting the app from AppExchange but keeping LMA features

We have a package which will be delisted from AppExchange for a number of reasons (our decision). I would like to know if any one has similar experience and would this process influence the LMA Login ...
1
vote
1answer
38 views

When do we charge our customers in CMA and LMA app?

When our subscribe install our package ,CMA and LMA provides us a feature where we let user pay after installation.What does after installation means here?
1
vote
1answer
20 views

Are installHandlers executed after the LMA creates the license?

I have an app on the appexchange, when a subscriber installs the app, it will run an install handler process on his org. LMA will also create a license for the subscriber on my org. My question is: ...
0
votes
1answer
64 views

Do installing a Managed Package (listed in AppExchange) via Salesforce CLI, create a License & Lead in package developer's LMA org?

Can anyone confirm if this is the case. Though I don't really think this should be allowed, but I'm suspecting random licenses occurring and it's a hunch that they are being generated because it is ...
2
votes
1answer
155 views

What happens when I reduce Seats for a license in LMA

We have managed packaged App in appexchange and we use 'Seats' field to assign licenses to our Clients in LMO. My question is what happens when someone is assigned 5 seats and they are using all 5 but ...
0
votes
2answers
815 views

Any way to debug Process Builder flows?

We have two flows that were built using process builder. One runs when something changes in the License via the LMA app, so when there is a change in the object sfLma__License__c (change of version, ...
1
vote
1answer
106 views

FMA Feature parameter records do not show up for every license record in LMA

We just released a new version of our appexchange app to set of customers. This new version includes FMA (Feature Management App). The issue is some org's licenses (in LMA) do not show Feature ...
1
vote
1answer
1k 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
43 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
1answer
58 views

LMA - notification on licence change

I dont know if this is the right place to post such question, but after endless hours googling, i didnt find the answer to this. I have this usecase: A org buy our application via AppExchange and it ...
8
votes
2answers
489 views

Alter Lead Assignment Notification when lead created by the LMA (License Management App)

I feel defeated asking this but I am stumped..... Ok so I am trying to figure out how to route or in any way affect the Lead Assignment notification when the lead is created by the LAM (License ...
2
votes
0answers
29 views

How to access Base package code with Extension packages without running into licensing issues

I have couple of question regarding Extension packages and love to hear some clarification/answers: We want to release an extension package to our Base package (which is already in the appexchange). ...
1
vote
1answer
72 views

Don’t install the LMA in the Developer Edition org where you created a managed package

I have developed and uploaded managed package from my developer edition org. I have created listing in my partner account. I have set the price etc. To link my app in LMA I am following this link ...
1
vote
0answers
95 views

Managed package not listed on appexchange

We have created a managed package that is going through security review and is not yet listed on appexchange. We have a potential customer who wants to try out our app. We are unsure as to how to go ...
3
votes
0answers
234 views

Granting Login Access via Licence Management App by Users

We are an ISV partner and our customers use our package 24/5 on for a mission critical purpose. We are using LMA to support them using "Grant Login Access" feature. The problem we are dealing with is ...
3
votes
1answer
65 views

Managed package license timeline

We have a managed package ready to go in for security review . We have yet to fully understand the LMA org and it's functionalities. I wanted to know can we associate licensing for the managed ...
2
votes
2answers
722 views

Managed package license checks for users [duplicate]

I want to enable licensing for my managed package and had few questions: The licensing would be on a per user basis. My managed package runs a scheduled job in system context and performs some ...
1
vote
1answer
60 views

Managed package licensing

I have a managed package that would be used by System administrators and Sales Managers. However, Sales Reps and AEs would indirectly be referenced by the app for reading attributes off of them. I ...
1
vote
0answers
19 views

Is it possible to restrict the number of users per ORG when we set the app expiration date in LMA?

Is it possible to restrict the number of users per ORG when we set the app expiration date in LMA (License managed Appexchange)?
12
votes
1answer
94 views

Apex performance drops between Anonymous Apex and Trigger. Then further when using LMA login

Short version using approximate Apex CPU timings. Anonymous Apex can run a loop over 200 opportunities in ~10ms. The same loop in a trigger takes ~80ms. If you use an LMA login the trigger loop ...
6
votes
3answers
4k views

Access to debug logs in managed package

Should you need a custom logging class for your managed package? I'm aware that you can use subscriber support but is there any benefit of using custom logging? If you do implement a custom logger, ...
1
vote
1answer
965 views

Single Sign-On Error when viewing Subscriber org in LMA

I am getting a Single Sign-On Error when attempting to view one specific Subscriber Organization in the LMA (License Management Application) The error message is: We can't log you in. Check for an ...
7
votes
1answer
916 views

Granting the “Debug Apex” permission for the Apex Debugger as an ISV Partner

I'm following the instructions under Get Started with the Apex Debugger. I'm up to the point where I create a Permission Set for the debugger user to enable the "Debug Apex" permission under System ...
2
votes
1answer
535 views

How the LMA(License Management Application) works in Salesforce?

My client wants to use LMA Application in Salesforce Application and i have found that is used for creating leads and licence offering for customer installation.But i think that LMA installs only in ...
1
vote
1answer
195 views

No subscribers under Subscriber Organizations tab in license management app (LMA)

We have installed License Management App (LMA) into our business organization for one of our packages. Now we want to use the LMA to login to our customer orgs that have installed other packages. I ...
1
vote
0answers
93 views

Access the subscribers functionality in the salesforce community

I want to access the subscribers functionality on the community which is used by the Licence Management App by a visualforce page. Visualforce Page: <apex:page > <script> ...
0
votes
1answer
29 views

How to switch an app to a per-license model?

I have an app on the App Exchange. I know the LMA is used on the app owner's side to control who can/cannot use their app based on the allotted licenses they've handed out per installation. From the ...
0
votes
1answer
19 views

Changing the Duration of the License Management App Trial

Is it possible to change the duration of the Trial status for the License Management App? I see that it is normally 90 days. Can I change it to 30 days?
4
votes
1answer
71 views

Associating a Package License Management App

We have an app on the Salesforce App Exchange right now and I am looking into using the License Management App (LMA) with. I am cautious to just go ahead and link our managed package with the LMA ...
5
votes
1answer
148 views

How to implement per user Licenses with LMA for an AppExchange App

I'm wondering how to implement user restrictions to an SFDC AppExchange App based on Licenses with the LMA. The idea is that only users within a customer's org who have been assigned a license have ...
2
votes
1answer
52 views

LMA (License Management App) problem in sfLma.updateCustomerLicense

We are getting this error when trying to increase licensed seats through the "Modify License" button: sfLma.updateCustomerLicense: execution of BeforeUpdate caused by: System.UnexpectedException: ...
2
votes
0answers
21 views

LMA Packages Latest Version Merge Field Not Populating

I'm trying to create an email template that uses the Lead.Name merge field and sfLma__Package__c.sfLma__Latest_Version__c merge field. When I "Send Test and Verify Merge Fields" - choosing a Lead ...
2
votes
0answers
122 views

“insufficient access rights on cross-reference id” error when modifying a license with the LMA

After clicking Modify License and changing (for example) the expiration date of a license in the License Management App, I get an "insufficient access rights on cross-reference id" error. This doesn'...