Adding a component to designs

Avatar

Avatar

snbaem

Avatar

snbaem

snbaem

07-10-2019

Hello All,

I am facing a weird issue for a simple scenario. I am trying to add a new component I created (component1) under "/apps/settings/wcm/designs/myproject/jcr:content/mytemplate/contentArea" On the 'contentArea' node I have added a property "components" and value to be the path of the component. Another property is "sling:resourceType" and value "foundation/components/parsys".

Regardless of this, when I create a page and try to check the parsys, I am unable to see the component available. What can i be missing?

When I try to add the component via design mode. The component is added under "/libs/settings/wcm/designs/default/jcr:content/mytemplate/contentArea"

Also, the error logs shows following, not sure if its directly relevant.

07.10.2019 12:58:24.494 *ERROR* [0:0:0:0:0:0:0:1 [1570467504387] GET /mnt/overlay/wcm/core/content/sites/jcr:content/views/column.0.40.html/content/myproject/en HTTP/1.1] com.day.cq.wcm.core.impl.designer.DesignerImpl No design at /apps/settings/wcm/designs/myproject. Using default.

Using AEM 6.4.3

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

snbaem

Avatar

snbaem

snbaem

09-10-2019

There was an issue in filter.xml which was wiping off some properties/nodes under /apps/settings. After adding mode = update in the filter.xml issue is avoided. The component is available now in the parsys.

See -Jackrabbit Filevault - Workspace Filter  for reference

Answers (2)

Answers (2)

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

09-10-2019

Few more questions-

1. Why are you creating component under this path-

/apps/settings

2. Can you try creating a component under we retail and add component group as we retail and check the same on we retail page whether you are able to see you component.

If not then please share the component node details.

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

09-10-2019

What is the component group for this component?