Enable Smart Folders - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

As an admin user, you must enable Smart Folders, and specify a Smart Folder Template for use.

A predefined template is available by selecting the System Smart Folder aspect. You can add other customized templates, and if they are uploaded to Repository > Data Dictionary > Smart Folder Templates, they are then available by selecting the System Smart Folder aspect. If you store templates anywhere else in your repository, you can use them by selecting the Custom Smart Folder aspect.

  1. Stop Alfresco Content Services, and edit your <tomcat>/shared/classes/alfresco-global.properties file to enable Smart Folders:
     smart.folders.enabled=true

    Advanced Smart Folders settings are provided in the <tomcat>/shared/classes/alfresco-global.properties.sample file.

  2. Restart Alfresco Content Services.
  3. If you’re using the default Smart Folder template, you’re ready to go.

    If you want to check the template, or upload your own template, follow step 4.

  4. In Alfresco Content Services, go to the Repository > Data Dictionary > Smart Folder Templates directory.

    The default Smart Folders Template is visible: smartFoldersExample.json. You can upload your own template here, and can see any other templates that you’ve already added.

    If you use your own template, make sure that you change the type to Smart Folder Template.

    If you store templates anywhere else in your repository, navigate to the template and select it. You can use them later by selecting the Custom Smart Folder aspect.

    There’s no need to restart Alfresco Content Services. When you edit properties on nodes that have the Custom Smart Folder aspect applied, the new Smart Folder is included in the Smart Folder Template menu.

    If you need to customize the template, see Applying a Smart Folder Template for information on the sample file structure, and Smart Folder Template syntax for guidance on the Smart Folder Template JSON format.