/o//commerce-media/accounts/-1/images/18566360?download=true

Structure Field Max repeatable component
Icon
DXP App
18566309
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.
DEVELOPER
Mitul Khamar
DEVELOPER
17/03/16 0:00
Published date
May 3, 2017
Published Date
17/03/16 0:00
SUPPORTED OFFERINGS
Self-Hosted, Self-Managed
Supported Versions
6.2
Resource Requirements
Edition
CE, EE
PRICE
Free
help & support
Terms & Conditions
SHARE LINK
Copy & Share Link

HTML Example

A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. Paragraphs are usually an expected part of formal writing, used to organize longer prose.