AnsweredAssumed Answered

Lockable Aspect

Question asked by lilyh on Feb 4, 2010
Latest reply on Feb 4, 2010 by derek
Hello,
In a webscript to resize and create renditions for an uploaded image, I have added the aspect cm:lockable.

   // lock the object
   var props = new Array(2);
   props["cm:lockType"] = "READ_ONLY_LOCK";
   props["cm:lockOwner"] = "admin";
   transformedNode.addAspect("cm:lockable", props);

Using the Node Browser, I have confirmed the properties lockType and lockOwner are applied to my content.
It also appears in my modified items.
Problem is, the lock icon (with key) does not appear next to my content.
Does anyone have any idea why the lock icon doesn't display?

Thank you.
Regards,
Lily.

Outcomes