alfresco share duplication of document releated issue in alfresco repository -


in alfresco share how can avoid duplication of file when 1 file share between 2 different folder. example suppose 1 file abc.txt shared 2 folders folder , folder b.now when checked out 1 file folder editing how can lock same file 1 never checkout file folder b.

if saying abc.txt literally same object linked multiple folders (which possible in alfresco repository) checking out abc.txt in either folder lock in other folder because same object.

if saying folder a/abc.txt , folder b/abc.txt 2 different objects have same name, you've got lot of work do. write customization would:

  • replace out-of-the-box checkout ui action in share own. new action query custom service (see next step) on repository file check out. repository respond whether okay or not.

  • the custom service on repository implement above logic have know how find matching files. matching on file name bad idea. better idea follow association. downside require users link files association.

of course raises kinds of issues such as, happens when checks out linked file (sitting in folder b) in between time service checked , said no 1 had linked file checked out , time ui action decides invoke checkout on file sitting in folder a.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -