05-22-2018 02:40 AM
Hi,
I am using ADF 2.3.0 and ACS 5.2.1 and using built-in lock handler in content actions like below
In Release Note 2.3.0, it is mentioned "you can lock or unlock a file". However, when a file is locked, I don't see any option to unlock it. How does it work?
05-22-2018 05:36 AM
If you reopen the lock dialog and click on the checkbox the file is unlock
05-22-2018 07:10 AM
Hi Eugenio,
Since there is a handler available for lock/unlock functionality, I added few other properties and events of content actions to it.
The (permissionEvent) and (success) events does not seems to work. I added these so I could show a pop-up on permission failure and reload the document list respectively. Ideally, Lock action should be made available to the owner only. I am sure Alfresco has plans to enhance the feature in coming releases. In the meantime, we were looking for a workaround to work best for our client.
05-22-2018 07:37 AM
Hi, note that the success action works only:
Emitted when the action succeeds with the success string message. Applies to copy, move and delete actions. |
So it is not goign to work with the unlock or lock. This is the link to the documentation:
If there is an error about the permissionEvent you can open a bug on the GitHub repository explaining how to reproduce the problem
Thanks
Explore our Alfresco products with the links below. Use labels to filter content by product module.