As part of my company's sales presentation, we offer a demo of some of the Notes databases we've created to prospective clients. Is there a way to set up the Notes client so that after a certain number of days (we're thinking 90), the client ceases to open/run? I have explored an ID that expires fairly quickly, but am not happy with the results. Do you have any suggestions you could offer me?
QUESTION POSED ON: 17 JUN 2005
QUESTION ANSWERED BY: Mathew Newman
The whole client? Or just your databases?
If you want a Notes client to stop operating, I guess the easiest way to do this would be to write an agent in the address book template that checks to see if the creation date (maybe of a profile document, created upon database open) is more than 90 days old. If the profile date is more than 90 days old, then close the Notes client with @Command([ExitNotes]).
You won't, of course, be able to stop a "power" user from reconfiguring the Notes client to get around this.
A more effective way to do this and a way that may provide a better option for you and your clients might be the following option, which just locks down your demo databases.
- Set the ACL of the database to have default "Manager" access.
- Remove all other ACL entries (LDS, LDS, ODS, etc.).
- Create a generic profile form in the database with a "CheckDate" field.
- Write a database script, which in the initialize event of the DB checks to see whether a corresponding profile document exists; if it doesn't, create it and write to the CheckDate.
- Once you have a handle on the profile document, check the "CheckDate."
- If the "CheckDate" is more than 90 days old, change all the ACL entries to "Reader" (in case the demo tester has modified the ACL).
- Hide the design of the database.
By doing this, you will basically create a time-out for your database, where the application will be fully functional for 90 days, and after that period the user will be able to review and play in the database, but will not be able to edit or create any new information. In other words, they can still review the functionality, but will have to come back to you to continue using the application.
|
 |
|