Oh yes, that has changed in OpenCms 7. Just use lockResource(resource, CmsLock.TEMPORARY) Roman -- View this message in context: http://www.nabble.com/creating-a-file-tp19178157p19197240.html Sent from the OpenCMS - Dev mailing list archive at Nabble.com.