######
#  Set the Version Stamp to actual time and date
#
#  Author:        Christoph Stoettner
#  Mail:          christoph.stoettner@stoeps.de
#  Documentation: http://scripting101.stoeps.de
#
#  Version:       2.0
#  Date:          2014-06-04
#
#  License:       Apache 2.0
#

print "\nSet Version Stamp in LotusConnections-config.xml to actual Date and Time\n"

path = raw_input( "Path and Folder where config is temporarily stored: " )

execfile("connectionsConfig.py")
LCConfigService.checkOutConfig(path,AdminControl.getCell())
LCConfigService.updateConfig("versionStamp","")
LCConfigService.checkInConfig(path,AdminControl.getCell())
synchAllNodes()

######
#  Set the Version Stamp to actual time and date
#
#  Author:        Christoph Stoettner
#  Mail:          christoph.stoettner@stoeps.de
#  Documentation: http://scripting101.stoeps.de
#
#  Version:       2.0
#  Date:          2014-06-04
#
#  License:       Apache 2.0
#

import ibmcnx.functions

print "\nSet Version Stamp in LotusConnections-config.xml to actual Date and Time\n"

# Check properties if temppath is defined
if ( ibmcnx.functions.tempPath() == '' ):
    path = raw_input( "Path and Folder where config is temporarily stored: " )
else:
    path = ibmcnx.functions.tempPath()

execfile("connectionsConfig.py")
LCConfigService.checkOutConfig(path,AdminControl.getCell())
LCConfigService.updateConfig("versionStamp","")
LCConfigService.checkInConfig(path,AdminControl.getCell())
synchAllNodes()

Add option to get temppath from properties file
Add option to get temppath from properties file
