← All apps
Structure Field Max repeatable component logo

Structure Field Max repeatable component

by Mitul Khamar

Data Modeling, Process & Business LogicLiferay Self-HostedLiferay PaaS

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.

Source: Liferay's official Marketplace

More in Data Modeling, Process & Business Logic

Activiti Workflow Engine

by EmDev Limited

This plugin allows users and admins to use Activiti BPMN workflow engine for publication process (for example instead of default Kaleo). It almost fully supports BPMN 2.0 specification and may fully r

Address Validator

by Rivet Logic Corporation

The Address validator plugin enables the validation of addresses entered by the user. It uses some third party services or APIs for that purpose. The initial implementation uses Google Geocoding API,

Adobe Connect

by E2 Software India Pvt. Ltd

About Adobe Connect : Adobe Connect gives you complete control over the look and functionality of your virtual rooms. Create experiences that incorporate branding and content. Position functional pods

AdvicedAssets Portlet

by Tune IT

Portlet for Liferay that allows to show list of tematically-related content near every post in blog. Content list can include other blog posts, journal content articles and document library resources.