Forums/Help from the Community/Tips & Tricks

Desktop Manager : How to close any open databases when closing the Notes client ?

John
posted this on November 28, 2011 12:42

A customer recently asked : We need to close any open databases when closing the notes client, does Desktop Manager contains a function to do this ?

Desktop Manager is already using a function to make sure the local DskMgrStart.nsf database is closed : function ClearDskMgrWindow of the DskMgrSubLib script library. See the attached file to see the code of the function.

The result : This function adds the line ClearDskMgrWindow= into the DskMgr.ini like :
ClearDskMgrWindow=replica_id(notes_path,notesini_path,dskmgr_dll_path,xml_file_path)

Example :
ClearDskMgrWindow="C12578B0004CF66A"("C:\Program Files\Lotus\notes7\","C:\Program Files\Lotus\notes7\notes.ini","C:\Program Files\lotus\notes7\data\DM\DskMgr.dll","C:\Program Files\lotus\notes7\data\workspace\.metadata\.plugins\com.ibm.rcp.personality.framework\personalityWindowState\com.ibm.rcp.platform.personality.config.xml")

So, if you need to close a specific database at the close of the notes client, you can use (call) this function in an Agent thru a Task or Profile.

Regards,