Override Events Using Hook in Liferay 6.1

Here is the example to override events using hook in Liferay 6.1.

Specify below property in your liferay-hook.xml

Now create portal.properties inside example-hook/docroot/WEB-INF/src.

Specify events you wants to override in portal.properties file

You are done ..!! create CustomServicePreAction to override above event.

Next PostNewer Post Previous PostOlder Post Home