Highlighted

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

Avatar

Avatar

sd55

Avatar

sd55

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

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

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

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

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

Avatar

Avatar

sd55

Avatar

sd55

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

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

15-09-2019

I believe Antonio is right, try setting up "allowedTemplate" to * and retry the use-case

Highlighted

Avatar

Avatar

sd55

Avatar

sd55

sd55

16-10-2019

Hi Jaideep,

I tried all that, still i have same issue

Highlighted

Avatar

Avatar

gregli

Avatar

gregli

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

Avatar

Avatar

sanketk90166544

Avatar

sanketk90166544

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

 

Highlighted

Avatar

Avatar

javi

Avatar

javi

javi

15-06-2020

Works, thank you. sanketk90166544