Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs

data-sly-resource not editable - in 6.3


Level 4

I just ran into the same exact issue from this posting: data-sly-resource Not Editable

All the same except the solution from that post doesn't work in AEM 6.3.

My template's page is a single line:

<div data-sly-resource="${@path='productCard', resourceType='mysite/components/content/productCard'}"></div>

It "almost works" except the referenced component is not editable.

Adding data-sly-unwrap makes no difference.

How can I make the component editable?

4 Replies


Level 4

I just noticed it works if I add     sling:resourceSuperType="wcm/foundation/components/page" to the template page.

Is there any way to avoid this? I don't want all the standard page properties to show up.


Level 3

Make sure that your component's primary type is cq:Component!

Check the .content.xml file to see if you have added the line jcr:primaryType="cq:Component"


<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="" xmlns:cq="" xmlns:jcr=""
   jcr:title="Title of your component"
   componentGroup="custom group"/>


Level 4

Yes, it was already cq:Component. The problem is really the page type. Which is annoying because I didn't want to include the standard page properties tabs.