You have to protect all views in Web application. You can have $$ViewTemplate for <View name>, for all view to be displayed. You should also create a $$ViewTemplateDefault and add below given code.
This will redirect users to home page.
Create $$ViewTemplateDefault Form.
add JavaScript as shown below.
No Access
[<SCRIPT>document.location = '**** '</SCRIPT>]
Note : **** represent a field. Please remove **** and create a computed field and enter below given formula in Value event.
"/" + @Text(@ReplaceSubstring( @Subset(@DbName;-1); ""; "/"))
Nagaraj Sanjeevi
http://snraj1998.tripod.com
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in November 2000