When comes Desktop Manager installation, some customers choose to modify Mail Template.
From the documentation, Client Installation document, you can find the following code, which is added in the QueryClose Event of the Mail Template :
REM {Desktop Manager Database Location};
db_name := "<Desktop Manager database path>";
server_name := "<Desktop Manager database Server>";
REM {Open the Desktop Manager database if the local DskMgrStart.nsf database is missing};
@If(@IsError(@DbExists("":"DskMgrStart.nsf")) | @DbExists("":"DskMgrStart.nsf") = 0;
@If(@IsError(@DbExists(server_name:db_name)) | @DbExists(server_name:db_name) = 0;
@Success;
@PostedCommand([FileOpenDatabase];server_name:db_name));
@Success)
The common mistakes are :
- Don't forget the quote between the path, you really need to get something like :
db_name := "cooperteam\dskmgr.nsf";
- The server_name line needs to get the Server Canonical name, like :
server_name := "cn=MyCityMail01/ou=NewYork/o=Cooperteam";
Cheers,
Comments
0 comments
Please sign in to leave a comment.