Asset folders, unable to set policies | Community
Skip to main content
Level 3
June 28, 2022

Asset folders, unable to set policies

  • June 28, 2022
  • 2 replies
  • 2579 views

I had an instance that crashed. I was working on content fragments and had set policies to only allow certain content fragment models to be under some folders to organize data. I have stood up a new instance but the policies tab does not show in the folder configurations so I can change which content fragment models may be seen. If I apply a package that had the old settings, clicking on the folder causes errors.

 

What do I need to set to enable the policies tab on folders?

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

2 replies

SantoshSai
Community Advisor
Community Advisor
June 28, 2022

Hi @robertharper ,

Could you please tell us which version of the AEM you are using?

Regards,

Santosh

Santosh Sai
Level 3
June 28, 2022

6.5

service pack 6.5.11 installed

 

SantoshSai
Community Advisor
Community Advisor
June 28, 2022

@robertharper I am also using same 6.5.11 and it works for me, Please try starting fresh AEM instance without your code and check if it works.

Although you can make it work configuring in Cloud Services.

The Content Fragment Models allowed for a folder are resolved as follows:

  • The Policies for Allowed Content Fragment Models.
  • If empty, then try to determine the policy using the inheritance rules.
  • If the inheritance chain does not deliver a result, then look at the Cloud Services configuration for that folder (also first directly and then via inheritance).
  • If none of the above deliver any results, then there are no allowed models for that folder.

Please visit these 2 links: 

  1. https://experienceleague.adobe.com/docs/experience-manager-65/assets/content-fragments/content-fragments-models.html?lang=en#deleting-a-content-fragment-model
  2. https://blogs.perficient.com/2020/03/18/how-to-allow-content-fragment-models-in-particular-asset-folders/

 

Santosh Sai
Level 3
June 28, 2022

Also, I had an old package with the content fragment definitions in it and there were policy nodes on the folders that specified which content fragments to allow. This doesn't seem to be working because the specified models are not shown when I try to create a new fragment.