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

View Entire Topic

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