Link to home
Start Free TrialLog in
Avatar of Styria-it_hr
Styria-it_hr

asked on

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?

RR.jpg
Avatar of Tim Williams
Tim Williams
Flag of United States of America image

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
Avatar of Styria-it_hr
Styria-it_hr

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Tim Williams
Tim Williams
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.

-Tim