02-03-2020 05:53 AM
Hello,
I want when i create a folder based on the Template folder and rename it (to the proper name department) to automatically rename the child folder.
How can i do that?
02-03-2020 08:25 AM
Are you asking if you can do this programatically? You can do this with a JSON script and folder rules most likely - not really sure without a use case/example.
02-03-2020 02:56 PM
Alfresco folder templates implement just a simple deep copy including rules and metadata. There is no support for a placeholder replacement mechanism. As a work around you could run a script afterwards by walking thru the copied tree to rename folders based on self defined conventions.
If you're looking for somthing more advanced we have a solution (ecm4u Filing ) which doesn't create the folder hierarchy in advance but let Alfresco create the required folder structure on the fly based on the file's metadata and/or external context data. You could define multiple filing rules for different conditions which defines the path and metadata in a placesholder config which has acces to metadata, scripts and external data. Please check blog article describing Dynamic Filing (File Plans)
Explore our Alfresco products with the links below. Use labels to filter content by product module.