file unlock script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2011 06:58 AM
HI,
i am facing some problem with the alfresco file locking mechanism..
Once the user opens 100 files, 10 files are locked after closed those files also.
Can you please provide the steps/ sample script.. how to unlock the excel files on daily basics..
Regards,
Murali
i am facing some problem with the alfresco file locking mechanism..
Once the user opens 100 files, 10 files are locked after closed those files also.
Can you please provide the steps/ sample script.. how to unlock the excel files on daily basics..
Regards,
Murali
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2011 07:14 AM
How are the files opened, via CIFS?
Is the case that if UserA opens 100 files (via CIFS?), then closes all these files in a short time period, about 10 remains locked?
Can you unlock those files in the web gui, try Alfresco Explorer (/alfresco).
To mee this looks like a bug that you should file at http://issues.alfresco.com.
And tell you users not to multitask and be superproductive on 100 docs a a time
Is the case that if UserA opens 100 files (via CIFS?), then closes all these files in a short time period, about 10 remains locked?
Can you unlock those files in the web gui, try Alfresco Explorer (/alfresco).
To mee this looks like a bug that you should file at http://issues.alfresco.com.
And tell you users not to multitask and be superproductive on 100 docs a a time

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2011 07:00 AM
HI,
I am connecting alfresco through web drive s/w. the web drive is able to lock the files in the alfresco server.. But when the user properly closes the file, file automatically unlocked in the server.. but during the network problem, some of the files are locked in the server.. is their any way to unlock the files by using code/script/query..
can you please provide any sample of this..
Regards,
Murali
I am connecting alfresco through web drive s/w. the web drive is able to lock the files in the alfresco server.. But when the user properly closes the file, file automatically unlocked in the server.. but during the network problem, some of the files are locked in the server.. is their any way to unlock the files by using code/script/query..
can you please provide any sample of this..
Regards,
Murali
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2011 07:26 AM
Here is an example of how it iterate nodes, modify the script above so that it meets your needs
http://wiki.alfresco.com/wiki/Iterate_Nodes
Then check
http://wiki.alfresco.com/wiki/3.4_JavaScript_API
there is an isLocked function there, but I'm not sure if there is an unlock function.
You can run javascript in the alfresco explorer client, if you want to do share I recommend http://code.google.com/p/share-extras/wiki/JavascriptConsole
http://wiki.alfresco.com/wiki/Iterate_Nodes
Then check
http://wiki.alfresco.com/wiki/3.4_JavaScript_API
there is an isLocked function there, but I'm not sure if there is an unlock function.
You can run javascript in the alfresco explorer client, if you want to do share I recommend http://code.google.com/p/share-extras/wiki/JavascriptConsole
