Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Notifified when a layout is deleted
There is a way to execute my code or knows when a page/layout is removed?.I have been seeing the sourcecode when a layout is removed but there it doesn't leave signal which one page has been removed. Cheers.
Add a model listener on the entity and you can be invoked before deletion for logging or whatever. Cheers.
Also there is Event triggered on Layout Update /Add/Delete (layout.configuration.action.update/layout.configuration.action.delete).
You can refer may be this also helps you
You can refer may be this also helps you
Thanks u very much guys, it works!