java - How to apply cm:autoVersionOnUpdateProps to false in Alfresco 4.2.4 -
hi , in advance help
i have aproblem when change property in alfresco, document versioned minor version on alfresco 4.2.3.3
so if upload document alfresco via cmis (create document 1.0) , after taht modifiy property version 1.1 keep 1.0 version modified property. want version if content changed.
what have done far
set value of property cm:autoversiononupdateprops in created document. have done diferent options:
- try set value of property cm:autoversiononupdateprops. says property doesnt exist, may in aspect cm:versionable?
- add aspect cm:versionable, cmis doesnt exist type 'p:cm:versionable' unknown!
- tried cmis:versionable: cmis keep saying type 'p:cmis:versionable' unknown!
this errors when calling session.gettypedefinition sending p:cm:versionable , false. or p:cmis:versionable , false method.
i have custom type can modifiy, dont know how change overrides value of property. possible?
not option
i cannot change contentmodel.xml set default property cm:autoversiononupdateprops false inside aspect cm:versionable because other documents use aspect need work property true.
questions
is there way override value of property types?
can via cmis 1.1 set value of property cm:autoversiononupdateprops someway?
any other option avoid behavior?
enviroment:
- alfresco 4.2.3.3
- on tomcat 7.0.53
- code in java cmis 1.1 , apache opencmis 0.12
no cmis doesn't see cm:versionable aspect or it's properties. i'm not sure if that's bug or not, solved site rule sets cm:autoversiononupdateprops false (uncheck checkbox).
you can write javascript triggers on rule of write behaviour. our cmis application writes 1 site, easier create rule it.
Comments
Post a Comment