resource reservation site

How to hide some site defined in resource reservation database for some users when they are trying to enter some calendar entry with rooms options. I try to hide site using document properties (security tab) in resource reservation DB but this didn’t help.
Any ideas?

Who is Participating?
ironcladsConnect With a Mentor Commented:
Since this is an IBM db, I'd recommend sticking with what they have available an not custimizing unless you need to.  On the site for this Reservation Resource db, it states:

- Restrictions for Rooms and Resources:

"None": All users can book the resource/room.
"Only owner can book resource": Everyone must go through the owner of a resource/room for approval (Note: Only one owner per resource is allowed).
"Only select list of people can book resource": No one but the listed users can book the resource/room. All others are declined.
"Only select list of people can book resource via autoprocessing - all others require owner approval": No one but the selected users can book the resource/room. All others must go through approval of the listed owner to book the resource/room (only one owner allowed per resource/room).
"Temporarily disable reservations": Removes resources/rooms from being reserved (Chairperson is notified via e-mail that the resource/room is removed).

I'm guessing you want the "only selected list of people" or the "only selected list of people can book resource via autoprocessing" option.  I'd read up on the links I provided and if it still doesn't do what you want, then and only then would I recommend customization, since you'll need to track your changes to keep from them being overwritten if you upgrade your design.  Again, something I've done many times before and can help you with if this is what you want.

Good Luck and let me know.


1. If these users have roles which are defined in your db's ACL, you could do a hide/when formula based on roles that they have.  That works well.  
2. You could pull values from a view and based on the roles the user has, you could pull in values from a different view.
3. You could even go so far as creating seperate subforms that have different values and based on the user/roles, have a particular subform display.

Just some thoughts.  If you could be more specific or tell me which method you prefer, I could include a code example.

Styria-it_hrAuthor Commented:
I thought that there is option for hiding sites in recourse reservation (from users that are using same directory but different resource reservation db). It’s quite strange that such option is missing.
 Anyway, users don’t have roles, but I could create one. So, pls if you have example for first option.
Styria-it_hrAuthor Commented:
Hiding sites in directory is not possible.
Everything is possible.  If you want to endeavor to change the code, even just as simply as changing the code/formula behind the "Choose Site" field, you could remove values from the list so the user, depending on their role/access in the db would see a subset of values.

If you could give me the formula behind that field, and what you'd like to do, perhaps I can help further, even though you closed this item.  I don't want you to go away unhappy or wishing you could do more, when you can.  It means any change to this field will need to be tracked by you so when/if the design changes you can put your custom code back in.

Let me know what you'd like to do.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.