Monday, June 7, 2010

Lotus domino-->Database Redirect

This is used when you want to move the datbase to another server:

Add the below script  in the database script scetion of Notes database

@If( !(@Contains(@Subset(@DbName; 1);"old server name here")); @Do(



@PostedCommand([FileOpenDatabase];"new server name here":"directory\\db_name_here.nsf");


@Prompt([Ok];"Database Moved To A New Location";"The " + @DbTitle + "database has been moved to a new location. You will be automatically redirected to the new location."+ @Char(13) + @Char(13) +"Please click Yes in the next window (it will say ”Remove selected items?”) You will only be asked to do this once for this database.")


No comments:

Post a Comment