function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sunay - KVP Bus SolnsSunay - KVP Bus Solns 

Give provision to enter a unique code before installing the app for a user



We have developed a App and we need to create a work around as mentioned below. Can anybody suggest is this possible and if yes how to go about it:


Once a managed package is created and published, the user should be able to enter a unique code given by us before he installs the package. And once the unique code is entered, an API is called which will search our database if the code already exists or not, if yes what is the customer name, date of purchase, license validity and so on.


Hence we would like to know whether we can achieve this work around successfully.



Are you familar with the LMA (License Management Application)? It helps ISVs manage their applications (how many licenses are allowed, expiration date, status, who the customer is, ect). More information can be found in the ISVForce Guide

Sunay - KVP Bus SolnsSunay - KVP Bus Solns



Thanks for the reply. But our concern is while installing the package the user should see a field called "Customer Code" where he has to enter the code provided by us and has to be connected to the database. For instance as we have the password filed if the package is password protected. 


Please let me know if this is possible.