Site module – Simultaneous modification to the same component/object
HI,
On Adobe Aem 6.4 Author, is it possible to prevent two editors, with the same permissions, from simultaneously modifying the same component/object within a page?
Thank you
HI,
On Adobe Aem 6.4 Author, is it possible to prevent two editors, with the same permissions, from simultaneously modifying the same component/object within a page?
Thank you
Hello @robertol6836527 ,
By default, AEM doesn't provide a built-in mechanism to lock individual components, but you have the option to lock the entire page.
For a custom solution, you can implement a mechanism to lock and unlock nodes based on specific events. This can be achieved by introducing custom logic that sets a property (e.g., cmpState) on the node. If cmpState is true, you can disable editing using the filter suggested by @nikita___garg .
Additionally, it's essential to establish a centralized place where users can find and unlock components, especially in urgent situations. Consider implementing a feature that allows users to release the lock (remove the cmpState property) when necessary.
This approach provides a flexible and customizable solution for component locking in AEM.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.