Hi! I want to sell my power app in appsouce and I have some questions about that....
1) I want to give the user the option to download a trial. after the trial period of one month, the trial should expire automatically. How can I achieve this? If the app is downloaded means that the app can be user by the whole organization, right? so I need to charge a fee per year for the whole organization? Or can I limit the app access somehow on user basis? e.g. only 1 user per organization is allowed to use that app? so I would be able to charge the fee per user per year?
2) after the trial period the user has to buy I licenze (e.g. for 1 year) from us. Is there a best practice how to set this up in power apps?
I was thinking of this:
- I would build an extra table in dataverse. Fields: Licence key, valid from, valid to.
- I would prefill the table with some licenze keys
- Build an extra screen for filling in the licence key (the key can be purchased directly from us or our website)
- if the user fills in the key on the screen the table fields are calculated: valid from = todays date, valid to = today + 1 year.
- the main screen of the app needs now to be restricted: If (todaysdate > dateto) ,'Not allowed Screen','App Screen') ... the formula is not correct but I guess you get the idea of it.
I think I can restrict the users companywide with this approach. right? That means all users of the company can user it with the key within given time period.
Will this be working? Or is there a better solution for it?
How could I restrict "per User"?
Thanks a lot! Have a nice day 🙂