Rename folder

cancel
Showing results for 
Search instead for 
Did you mean: 
imanez1
Active Member II

Rename folder

Hello,

I have the folder DEPARTMENT created as a folder model in Data Dictionary/Space Template as follows:

  • Parent folder: DEPARTMENT
  • Child folder: Client_DEPARTMENT

I want when i create a folder based on the Template folder (DEPARTMENT) and rename it (to the proper name department) to automatically rename the child folder.

How can i do that? How can I apply a script (I know how to rename a folder) to a folder and not a document?

1 Reply
cesarista
Advanced

Re: Rename folder

Hi:

Instead a folder template, you may try a Javascript script (/Data Dictionary/Scripts), executed in a rule when a folder is created. The script creates the subfolder based on the name given to the parent folder.

Kind regards.

--C.