Adding a component to designs | Community
Skip to main content
Shubham_borole
New Participant
October 7, 2019
Solved

Adding a component to designs

  • October 7, 2019
  • 3 replies
  • 2920 views

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

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 Shubham_borole

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

3 replies

Shubham_borole
Shubham_boroleAuthorAccepted solution
New Participant
October 9, 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

Ankur_Khare
New Participant
October 9, 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.

Ankur_Khare
New Participant
October 9, 2019

What is the component group for this component?