Unable to move experience fragments from one folder to other in AEM author | Community
Skip to main content
Level 2
September 4, 2019

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

  • September 4, 2019
  • 5 replies
  • 16354 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

antoniom5495929
Level 7
September 4, 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:

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

ShashisdAuthor
Level 2
September 5, 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

Adobe Employee
September 15, 2019

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

Adobe Employee
September 4, 2019

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

December 9, 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"

Sanket_Kumbharkhane
Level 4
April 23, 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.

 

 

June 15, 2020

Works, thank you. sanketk90166544

September 16, 2021

I have the exact same Problem.

I can move a FE to the Root node. But i can't move it to some subfolder.

 

Did someone find a Solution?

 

[EDIT]

I just found out if i add to every subfolder the Property cq:allowedTemplates with the correct templates it works.

So there must be a problem with the inheritance.