Room Reservations DB - Allow bookings from within DB, but prevent bookings from Notes Calendar

I’ve created a customized Room Reservations database, with code that prevents certain groups of users from booking rooms more than a week in advance, and other custom booking features. The database works from both the web and Notes clients.

The rooms need to be booked 24/7, without approval. But the custom code that restricts certain bookings is called directly from the Reservations forms. I want users to be able to book rooms directly in this database, but not from the Calendar.

I can’t seem to find a way to prevent the list of Rooms from showing up in the Calendar forms, for both regular and iNotes clients. They have to be able to book MOST of the rooms, just not the rooms in this particular custom Reservations DB. Since the function that does the free time lookup - @FindFreeResource - is undocumented, I can’t find a way to look up free time for a set of rooms that aren’t in the ($Rooms) view in the Directory. It seems that the rooms need to be in this list to be found by the function. If they aren’t, they can’t be found. If they’re in the list, then the Calendar client can book them, which circumvents my rules.

AHH! I’m stumped. Any ideas?

Karen

Subject: Room Reservations DB - Allow bookings from within DB, but prevent bookings from Notes Calendar

You are correct, but making them disappear from ($Rooms) is not fool-proof because the name of the room can be manually typed in. It will also validate because the rooms are also shown in other views like ($Users).

What happens if you remove the mail-in documents for those rooms ? Will busytime.nsf still work (it should use the calendar profile in the reservations database) ? Will the reservations database itself still work ?

Maybe you can try it ? Copy/paste the documents somewhere else to have a backup.