Highlighted

Unable to move experience fragments from one folder to other in AEM author

sd55

04-09-2019

Hi,

I have experience fragments created under ''/content/experience-fragments/myproject/myfolder1/experience-fragment-1''.

When I try to move (from sites UI, not from crxde) to location '/content/experience-fragments/myproject/myfolder2' , i get following error

/content/experience-fragments/myproject/myfolder1/experience-fragment-1 (Experience Fragment Template) not allowed below /content/experience-fragments/myproject/myfolder2/experience-fragment-1


Any thoughts on this?

Replies

Highlighted

antoniom5495929

04-09-2019

Hi,

probably you have some allowedPaths or allowedTemplate property into the template used for myfolder1.

Try to check into the property in the template used for myfolder1 if you have some properties like the image below:

Screen Shot 2019-09-04 at 17.20.22.png

Let us know.

In order to test if it's related to this properties you can try to delete it temporary and test the move of your fragment.

Thanks,

Antonio

Highlighted

berliant

Employee

04-09-2019

You can also check the node type for /content/experience-fragments/myproject/myfolder2. Folders should use sling:OrderedFolder jcr:primaryType.

Highlighted

sd55

05-09-2019

Hi Antonio,

Thank you for the response. I have folder as sling:OrderedFolder (jcr:primaryType).

And i have only 'allowedPaths' in template mapping to value '/content/experience-fragments/myproject(/.*)?'

Still i am not sure about this issue

Highlighted
Highlighted

gregli

08-12-2019

Hi sd55,

Did you resolve the issue? I met with the exactly same issue with you.  And I didn't have "allowedTemplate" and "allowedPaths"

Highlighted

sanketk90166544

23-04-2020

I guess the Move operation is tightly coupled with default experience fragment components, try to add "/libs/cq/experience-fragments/components/experiencefragment/template" in Configure Experience Fragments settings along with your project template entry.

It works for me.

 

Screenshot 2020-04-23 at 2.53.25 PM.png