Deleting a specific document version
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2007 08:35 AM
Hi,
I am using Alfresco 1.4.
At the moment when I click on the "delete" button, the web client asks me if I want to delete all document versions.
I would like to know how to customize the web client application to allow deletion of a specific document version, for example the last one.
Thank you for your reply.
Bye
Paul
I am using Alfresco 1.4.
At the moment when I click on the "delete" button, the web client asks me if I want to delete all document versions.
I would like to know how to customize the web client application to allow deletion of a specific document version, for example the last one.
Thank you for your reply.
Bye
Paul
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2007 03:12 AM
You can override the "deleteSpace" dialog configuration to point to your custom JSP page with the extra option and also extend the DeleteSpaceDialog class to deal with the new option.
Have a look at the following wiki pages for examples of creating/customising dialogs.
http://wiki.alfresco.com/wiki/Adding_a_Custom_Dialog
http://wiki.alfresco.com/wiki/Customising_The_Create_Content_Wizard
Hope this helps.
Have a look at the following wiki pages for examples of creating/customising dialogs.
http://wiki.alfresco.com/wiki/Adding_a_Custom_Dialog
http://wiki.alfresco.com/wiki/Customising_The_Create_Content_Wizard
Hope this helps.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2007 08:52 AM
To delete document versions, I extended DeleteContentDialog (for the dialog "deleteFile") and created a specific jsp based off of delete.jsp
However, with a document listing these versions:
1.1
1.2
1.3
1.4
if I delete the node representing "1.3" such as "workspace://lightWeightVersionStore/0ab25820-ccad-11db-80e0-357d7053c850"
by using "nodeService.deleteNode(nodeRef)"
each document version node previous to "1.3" is also deleted and the result of the process is that only version "1.4" remains.
I'm trying to delete only version "1.3" without deleteing previous versions as well. Have any of yall found a way around this.
Thanks
However, with a document listing these versions:
1.1
1.2
1.3
1.4
if I delete the node representing "1.3" such as "workspace://lightWeightVersionStore/0ab25820-ccad-11db-80e0-357d7053c850"
by using "nodeService.deleteNode(nodeRef)"
each document version node previous to "1.3" is also deleted and the result of the process is that only version "1.4" remains.
I'm trying to delete only version "1.3" without deleteing previous versions as well. Have any of yall found a way around this.
Thanks

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2007 05:28 AM
Hi,
We don't currently support the deletion of individual version in a version history.
Probably the best way to go about doing this, should you need to, is to look at the structure of the version store and delete the version from there directly.
Once the version has been removed you will need to re-patch the version history sequence correctly.
Cheers,
Roy
We don't currently support the deletion of individual version in a version history.
Probably the best way to go about doing this, should you need to, is to look at the structure of the version store and delete the version from there directly.
Once the version has been removed you will need to re-patch the version history sequence correctly.
Cheers,
Roy

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2007 08:40 AM
Regarding something similar to this topic …
Is it possible to delete all versions except the last one?
The main problem i try to solve is that I set mandatory-aspect versionable for all content (large content ~4GB) , and now the repository is extremely slow when copying , updating or downloading from CIFS or FTP .
I think that the system becomes unusable when verionable is activated for all repository.
Note: I am using Alfresco 2.0 community version
Regards
Is it possible to delete all versions except the last one?
The main problem i try to solve is that I set mandatory-aspect versionable for all content (large content ~4GB) , and now the repository is extremely slow when copying , updating or downloading from CIFS or FTP .
I think that the system becomes unusable when verionable is activated for all repository.
Note: I am using Alfresco 2.0 community version
Regards
