icon

Structure Field Max repeatable component

icon
Mitul Khamar
Data Modeling & Business Logic
An unexpected error occurred.
Description
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
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 of structure element.

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 as shown in screen shot.
Liferay is trademark of Liferay, Inc., Liferay International Limited and/or Liferay Affiliate, registered in the United States and/or other countries.
Release Summary and Release Notes
Version Change Log Supported Framework Versions Date Added
1.0
Liferay Portal 6.2 CE GA6+
Liferay Portal 6.2 EE GA1+
2017-03-16
DEVELOPER
Mitul Khamar
Published Date
March 16, 2017
Version
1.0
Supported Versions
6.2
Edition
EE, CE
Price
Free
Help & Support
Terms & Conditions
SHARE LINK

Installation Instructions

This is a Legacy App that is no longer available in the new App Marketplace. You are able to acquire it from your installed DXP or CE instance and install it by following the instructions below.

Acquiring this App through the legacy Liferay Portal Store

  1. Review app documentation for any specific installation instructions.
  2. Login to your Liferay Portal instance with administrative permissions.
  3. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Store.
  4. If needed, login to your Liferay.com account by choosing Sign In.
  5. Search for the app name in the Search dialog.
  6. Once the app is found, click on the app in the search results.
  7. On the app details page, choose to acquire the app by selecting the Free, Buy, or Trial button.
  8. Follow the instructions on the screen to complete the acquisition.

Installing this App through legacy Liferay Portal Purchased Apps

  1. After acquiring the app, login to your Liferay Portal instance with administrative permissions.
  2. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Purchased.
  3. If needed, login to your Liferay.com account by choosing Sign In.
  4. Click the Install button to install your app on your Liferay Portal instance.

See the legacy App Marketplace help documentation for more information.