cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling Version on already uploaded documents

archana_bonkanp
Champ in-the-making
Champ in-the-making
Hi All,

We have enabled the version rule on a space,its working fine when a new document is being uploaded,but we want the version to be enabled for already uploaded documents(nearly 200) in that space.

we are using alfresco 2.1
3 REPLIES 3

tommorris
Champ in-the-making
Champ in-the-making
There is a 'reapply rules' menu option on the 'more actions' drop-down menu on the edit-rules page.
You can try that.
It does not cascade down the folder tree though (although it soon will, I'm told).

xerox
Champ in-the-making
Champ in-the-making
yes, the reapply rules doesn't work properly.

you can do it with javascript.
something like this:

setVersioning(space);function setVersioning(curNode){  if (curNode.isContainer)      {          var children = curNode.children;           for (var i=0; i<children.length; i++)           {                       setVersioning(children[i]);         }             }   if(curNode.isDocument)   {   if (!curNode.hasAspect("cm:versionable")){   var test = curNode.addAspect("cm:versionable");      }   }}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

archana_bonkanp
Champ in-the-making
Champ in-the-making
Hi All,

I have copied a space A and pasted as a link in space B.
If i upload any document its reflecting at 2 spaces and its working fine.
When i opened the link folder in ftp i couldnt see that Sapce which i pasted as a link in Space B
In application i can view the link folder.

I want to bulk upload the documents in the Space which i pasted as a link.

Please help us ? cant we see the folders which we pasted as a link in FTP.