Only two components can be added to page otherwise it gives error.

Avatar

Avatar

shahidwaris

Avatar

shahidwaris

shahidwaris

14-05-2020

If more than two components are added, below error should pop-up.

How can I achieve this? Please help me out here.

shahidwaris_0-1589463778681.png

@kautuk_sahni @Arun_Patidar 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839
Arun_Patidar
MVP

14-05-2020

Answers (2)

Answers (2)

Avatar

Avatar

bilala23933647

Avatar

bilala23933647

bilala23933647

14-05-2020

Hello @shahidwaris, The solution @Arun_Patidar  has given is handy and easy to implement, but if your project architecture doesn't allow acs-commons to be installed in the instance, you can look at this approach - https://wcmaem.blogspot.com/2013/12/copy-parsys-component.html. It's old and incorporated on 5.6.1, but I believe it will work on your AEM instance too. Couple years ago I came across the same situation and @kautuk_sahni suggested that solution.

 

Thanks,

Bilal.

Avatar

Avatar

shahidwaris

Avatar

shahidwaris

shahidwaris

18-05-2020

Can I have little more details on how to implement this functionality?