Thursday 2 February 2017

Web Content Structure Field Max Repeatable Component for Liferay



KA Structure Field Max Repeatable Component for Liferay

Download component war file by click on below button


Problem

Creating a structure with “repeatable: true”, it enables content writer to add numerous content box as per requirement. But what if you want to restrict the number of content box & restrict the content writer with a specific number of content box.  

Solution

KA Max Repeatable component provides the solution. With this component added you get the new setting option “max repeatable” while creating structure and you can set the appropriate value for that.

How to Configure:
Add following property to portal-ext.properties file and restart server
xml.validation.enabled=false  
Paste the War file in deploy folder on Tomcat Server
Set the value of “max repeatable” attribute on the repeatable field.




So now while creating content if the content writer tries to add more components or content box component then specified value it will restrict the user and display an appropriate notification.







No comments:

Post a Comment