In case if you have to turn off re indexing all Journal Article version then you can do this by placing below property in portlet-ext properties file. Yes its portlet-ext.properties not portal.properties.
In Liferay DXP portlet specific property has been moved to portlet.properties file and all portal specific property can be found in portal.properties.
Any property of portlet.properties can be overridden by portlet-ext.properties similar way we override portal.properties by using portal-ext.properties file.
Multiple out of box modules can have its own portlet.properties file but multiple portlet.properties can be overridden by one property file called portlet-ext.properties.
You need to keep portlet-ext.properties file under below location of app server.
How To Include Static Resources (CSS/JS/Images) In Liferay OSGI Module
How To Include Custom Portlet In Theme - Liferay DXP
How To Specify External Jar Dependency In Liferay DXP
How To Specify Module Dependencies In Liferay DXP
How To Read Portlet.Properties File In Liferay DXP
#
# Set this to true to index all article versions. Set this to false to index
# only the last indexable version.
#
journal.articles.index.all.versions=false
In Liferay DXP portlet specific property has been moved to portlet.properties file and all portal specific property can be found in portal.properties.
Any property of portlet.properties can be overridden by portlet-ext.properties similar way we override portal.properties by using portal-ext.properties file.
Multiple out of box modules can have its own portlet.properties file but multiple portlet.properties can be overridden by one property file called portlet-ext.properties.
You need to keep portlet-ext.properties file under below location of app server.
Read other posts on Liferay DXP
[Liferay_Home]/webapps/root/WEB-INF/classes
How To Include Static Resources (CSS/JS/Images) In Liferay OSGI Module
How To Include Custom Portlet In Theme - Liferay DXP
How To Specify External Jar Dependency In Liferay DXP
How To Specify Module Dependencies In Liferay DXP
How To Read Portlet.Properties File In Liferay DXP
0 comments:
Post a Comment