Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Best Practices for the License Management App

Follow these best practices when you use the License Management App (LMA).
  • To take advantage of entitlements that are unique to ISV partners, use your partner business org as your License Management Org.
  • Create a list view filter for leads created by installed packages. The filter helps your team separate subscriber-based leads from leads coming from other sources.
  • Use the API to find licensed users. The isCurrentUserLicensed method determines if a user has a license to a managed package. For more information, see the Apex Reference Guide.
  • Treat the LMA custom objects as read-only. Use the Modify License page to edit licenses. Don’t attempt to directly or programmatically edit license records.
  • The LMA automatically creates package, package version, and license records. Customizations, such as adding required custom fields or creating workflow rules, triggers, or validation rules that require custom fields, can prevent the LMA from working properly.