Solved

resource reservation site

Posted on 2010-11-17
5
822 Views
Last Modified: 2013-12-18
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?

RR.jpg
0
Comment
Question by:Styria-it_hr
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:ironclads
ID: 34159250
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.

-TIM
0
 

Author Comment

by:Styria-it_hr
ID: 34162698
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.
0
 
LVL 3

Accepted Solution

by:
ironclads earned 500 total points
ID: 34165514
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).

http://www-01.ibm.com/support/docview.wss?rs=0&uid=swg27003347
http://www-01.ibm.com/support/docview.wss?uid=swg27002648
http://www.ibm.com/developerworks/lotus/library/ls-Resource_Reservations/
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/94f36f9970cc096c85257176000e6ce1?OpenDocument
http://books.google.com/books?id=59ojQVA0SWwC&pg=PA313&lpg=PA313&dq=Only+select+list+of+people+can+book+resource+via+autoprocessing&source=bl&ots=_j0XBlo8oB&sig=W3bkeXHVrevfsxWiCXVmAbAZfwo&hl=en&ei=IlflTNHcH5P0swPGq_ywCw&sa=X&oi=book_result&ct=result&resnum=4&sqi=2&ved=0CB4Q6AEwAw#v=onepage&q=Only%20select%20list%20of%20people%20can%20book%20resource%20via%20autoprocessing&f=false

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.

-TIM


0
 

Author Closing Comment

by:Styria-it_hr
ID: 34283180
Hiding sites in directory is not possible.
0
 
LVL 3

Expert Comment

by:ironclads
ID: 34284161
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.

-Tim
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question