Profile cover photo
Profile photo
Rasmus Melgaard
55 followers
55 followers
About
Posts

Post has attachment
Novem-IT presentation of enhancement to extended datalist module allowing huge datalists in excess of 100000

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Upgrading postgresql database from Alfresco installer
I had the pleasure to battle a little with postgresql installed by Alfresco installers. What I found out is that Alfresco tends to change the software; mainly the location of files, scripts and used libraries ... they probably have good reasons to do this, ...

Post has attachment
Rasmus Melgaard commented on a post on Blogger.
Extended version, which first tries a normal unlock:

var username = person.properties.userName;
try {
      document.properties["cm:lockOwner"]=username;
    logger.log("no lck access - locakowner: " + document.properties["cm:lockOwner"]);
    document.unlock();
    document.save();
} catch (e) {
//remove cm:lockable
document.properties["cm:lockOwner"]=username;
document.removeAspect("cm:lockable");
  document.save();
}

//residual values
delete document.properties["webdav:opaquelocktoken"];
delete document.properties["webdav:lockScope"];
delete document.properties["webdav:lockDepth"];
document.save();

Post has attachment
Monkey patching Alfresco Repo JS webscript
While Alfresco Share is now has many methods of overloading, overriding, changing, adding, removing functionality. Alfresco Repository have few, and a common pattern for larger solution is to replace existing files fully overriding functionality. While this...
Wait while more posts are being loaded