Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

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

Avatar

Level 2

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?

14 Replies

Avatar

Level 7

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

Avatar

Level 2

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

Avatar

Employee Advisor

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

Avatar

Level 1

Hi @antoniom5495929 ,

How can we include the cq:allowedTemplate property in the code rather than updating the properties on experience fragment folder everytime.

 

Thanks.

Avatar

Employee

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

Avatar

Level 1

Hi sd55,

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

Avatar

Level 4

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

 

Hi @Sanket_Kumbharkhane ,   I have tried to do the same you have shown in the image, but it not allow me to move XF into other subfolders?  I also don't have any allowedTemplates and allowedPaths in any parent-child folder.     I want to move Source path:  /content/experience-fragments/myproject/frag1/footer to destination path: /content/experience-fragments/myproject/frag1/nav

And right now it is moving to /content/experience-fragments instead of my destination path

 

can you please help?

 

Thanks in advance!

regards,

Nikita M.

Avatar

Level 1

Observed, the orderedFolder has the issues to move XF in between, while non OrderFolder (nt:folder and else) are allowed to move XF.

I am able to move nt:folder XF to orderFolder, but not orderedFolder to orderedFolder.

Can anyone help me to resolve this?

Avatar

Level 3

This worked for me on 6.5.13.0 ... I just added it to the root of my XF content folders.

Avatar

Level 1

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.