As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi all,
I m using Alfresco community 5.2 version. There is a smart folder template in data dictionary and I want to use this template in a site using rest api.
How can I add this template as smart folder to site ?
Thanks in advanced..
Hi:
I suppose the procedure is somehow similar to the one for setting a smart template in Share:
- Add smf:customConfigSmartFolder aspect to documentLibrary folder of your site, for example.
- Add smf:custom-template-association association to the folder, pointing to the defined smart template noderef.
You may check it in Node Browser.
Hope it helps.
Regards.
--C.
Thank you so much for reply Cesar But when I give a new aspect as "smf:systemConfigSmartFolder" with resp api, smart folder is created automatically.
Well, this may be enough for case of a system smart folder smf:systemConfigSmartFolder but if you plan to define and assign a custom template you should use smf:customConfigSmartFolder. The case is slightly different and more general.
Type-based, System, and Custom Smart Folders | Alfresco Documentation
Yes you are right, I want to ask another question to you. When I added smart folder , I can not upload, create a document inside this smart folder as shown below image. It doesn't allow create-upload or any process in smart folder. How can I solve this problem? If you know it, please please help me .