In Alfresco Share, click
Repository and Data Dictionary, and copy
claimsApplication.json from Smart Folders tutorial files into the Data
Dictionary/Smart Folder Templates folder.
You'll see the smartFoldersExample.json sample file (and any other templates you have added) already in this folder.
- Select the claimsApplication.json file. In Document Actions select Change Type and select Smart Folder Template as the new type, and OK.
- Click the site Document Library and drill down to the Smart Folders Tutorial folder.
Hover over the Claims Application folder and from the menu select
More then Manage Aspects. Add the
System Smart Folder (smf:systemConfigSmartFolder) aspect, and
Adding this aspect allows you to select a Smart Folder Template that is in the Data Dictionary/Smart Folder Templates directory.
Alternatively, select the Custom Smart Folder (smf:custom-ConfigSmartFolder) and select a template from anywhere in your repository.Note: You can add a single template only to a folder. If you select both the System Smart Folder (smf:systemConfigSmartFolder) and Custom Smart Folder (smf:customConfigSmartFolder) aspects, the system aspect overrides the custom aspect.
- Hover over the Claims Application folder and from the menu select Edit Properties and All Properties.
In the Smart Folder Template field, select the
claimsApplication.json Smart Folder Template.
If you need to navigate to the template, it lives in Repository/Data Dictionary/Smart Folder Templates.
In the site Document Library, click the Claims
You'll see the new folder hierarchy displayed, showing Claims by type, My open claims, and Policy documents. These Smart Folders are displayed in addition to the Smart Folders we set up under the Claims Application folder.