Parsys lissues on the template | Community
Skip to main content
anelem1760873
Level 4
August 27, 2018
Solved

Parsys lissues on the template

  • August 27, 2018
  • 13 replies
  • 7436 views

Hi Guys,

I am tring to add parsys (10) onto the template in AEM 6, but for some reason i cannot drop components from par6 to par10.

So this is how i am referencing them on the template

<div data-sly-resource="${'ipar0' @ resourceType='wcm/foundation/components/parsys'}"></div>

<div data-sly-resource="${'ipar1' @ resourceType='wcm/foundation/components/parsys'}"></div>

.

.

<div data-sly-resource="${'ipar9' @ resourceType='wcm/foundation/components/parsys'}"></div>

is there a limit set for parsys in AEM 6.1

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

There is no limitation to put number of parsys in the template, You might not be getting add component options for some parsys because you didn't allowed any components for that parsys from design.

I checked same with 10 parsys in template in AEM 6.3 , working fine.

13 replies

arunpatidar
Community Advisor
Community Advisor
August 27, 2018

Hi,

I don't think so there is a limit to add number parsys in the component.

Which AEM version are you using ? I checked same in AEM 6.3. It works perfectly for 10 components. I can drop components in all the parsys.

Thanks

Arun

Arun Patidar
anelem1760873
Level 4
August 27, 2018

Hi Arun,

Yes I  can drop 10 components on a page, But what I want is to show 10 parsys (s) on a template and be able to edit/drop components onto them. I cannot get this working , on the 7th parsys i cannot drop any component, works only till the 6th parsys.

I am using AEM 6.1,

Thanks

anelem1760873
Level 4
August 27, 2018

So this is How am adding them :

<div data-sly-resource="${'ipar0' @ resourceType='wcm/foundation/components/parsys'}"></div>

<div data-sly-resource="${'ipar1' @ resourceType='wcm/foundation/components/parsys'}"></div>

.

.

<div data-sly-resource="${'par9' @ resourceType='wcm/foundation/components/parsys'}"></div>

smacdonald2008
Level 10
August 27, 2018

Are you seeing any log messages?

Ratna_Kumar
Level 10
August 27, 2018

Hi,

Why do you need 10 paysys components on the page.

You can use simple one parsys component on the page and you can include N number of components on the page.

If you want to restrict the component for certain parsys, then you can use multiple i.e., 10 parsys components or whatever.

Hope this helps!!

Thanks,

Ratna Kumar.

anelem1760873
Level 4
August 27, 2018

Hi Ratna,

I could have done that but if you have two components by default on a template, when you author the page you cannot drop another component in between them. so i was avoiding that here.

something like this:

<div data-sly-resource="${'ipar0' @ resourceType='wcm/foundation/components/parsys'}"></div>

<div data-sly-resource="${'banner' @ resourceType='app/components/content/banner'}"></div>

<div data-sly-resource="${'ipar1' @ resourceType='wcm/foundation/components/parsys'}"></div>

<div data-sly-resource="${'mycomponent' @ resourceType='app/components/content/mycomponent'}"></div>

.

.

<div data-sly-resource="${'par9' @ resourceType='wcm/foundation/components/parsys'}"></div>

Thanks

smacdonald2008
Level 10
August 27, 2018

This type of use case can be easily addressed when you use editable templates. You can lock components in place when using an editable template. However - since you are using AEM 6 - not 6.4 - you are correct - you can hard code them in the template.

When you do this...

.

<div data-sly-resource="${'ipar0' @ resourceType='wcm/foundation/components/parsys'}"></div>

<div data-sly-resource="${'banner' @ resourceType='app/components/content/banner'}"></div>

<div data-sly-resource="${'ipar1' @ resourceType='wcm/foundation/components/parsys'}"></div>

<div data-sly-resource="${'mycomponent' @ resourceType='app/components/content/mycomponent'}"></div>

.

.

<div data-sly-resource="${'par9' @ resourceType='wcm/foundation/components/parsys'}"></div>

Can you drop a component in the last parsys?

anelem1760873
Level 4
August 27, 2018

I cannot drop the component on last one

smacdonald2008
Level 10
August 27, 2018

I am gonig to test to see if i can reproduce you issue.

anelem1760873
Level 4
August 27, 2018

Thanks Scott.