cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS versioning after upload

jerrycooper
Champ in-the-making
Champ in-the-making
Hello,
is there ease way to switch off versioning of file, when it is upload through CMIS? I mean to upload file without versionable aspect, not remove versionable aspect after upload. Because when I upload a file, its everytime versioned.
I tried to change content model and alfresco-global.properties - no changes in behavior.


PS: Now I use Apache Workbench for testing
5 REPLIES 5

jpotts
World-Class Innovator
World-Class Innovator
My hunch is that the versionable aspect is required in order for us to be spec-compliant and therefore cannot be removed. Well, it actually can be removed through the UI or a script, but the next time you check something in via CMIS it will be added back again.

If you want to change the binary content without creating a new version, use setContentStream.

Jeff

eddiev
Champ in-the-making
Champ in-the-making
Hi Jeff,

Is there any way to create a version of something after updating its content using setContentStream? If not, what method should I use?

Thanks in advance.

jpotts
World-Class Innovator
World-Class Innovator
If you checkout the document then check it back in, a version will be created, but perhaps I'm not understanding the question.

Jeff

cezarmihai
Champ in-the-making
Champ in-the-making
Hi Jeff, is there any way to save the metadata of the files for each version?

jpotts
World-Class Innovator
World-Class Innovator
No, because in Alfresco versions are not really independent objects.