Follow

Databases - Auto-Create Folder on Record Creation

Auto-Create Folder on Record Creation

When a Database/Register has a Sequence ID field enabled, the database can now be set to automatically create a Folder or folder structure. This will occur anytime a new record/entry is added to one of your project databases, making it easier to manage a larger number of supporting documents.

When a record is added within the selected database, a folder is then automatically created with the same custom permissions:

- View on the Record will give Access (view) permission to the folder
- Edit will give Publish (upload) permissions to the folder
- Admin on the Records module will enable Admin on all folders automatically created.

To enable this feature on a Database, your Database/Register must contain a sequence field. This is in order to ensure no duplicate folders will be created.

With this field enabled, you can go to your Database Settings.

Here, you there is a setting called Auto-Create Resource Folders, which is Off by Default.

Selecting On will enable you to choose exactly where in the Resources area the folders will be automatically created.
2017-03-29_17-03-04.png

If you wish to clone an existing structure of folders that will be created as sub-folders on record creation, use the Clone Existing Structure setting to select which structure to copy. 

 2017-03-29_17-03-39.png

Note that the parent folder of the cloned structure will not be cloned. So only sub-folders within the selected Folder will be cloned as part of this process.

You can then select how the permissions should be applied to this new cloned folder structure. 

- Keep Original will apply the original permissions for the existing folder structure to the newly cloned version.

- Map Record Permissions will apply the permissions of the record to the new folder structure, so users will have the same level of permissions to the new folder and contents as they do to the corresponding record. 

- Merge Permissions will apply the highest level of permission between the cloned folder & records to the new folder and the files within. 

Auto-Created_Permissions.png

If you wish to have specific files copied to each new Auto-Create folder/s, a new setting in your Database settings allows this. Under Copy Resource Options, is a setting called 'Copy content of original resource's auto-created folder(s) to the new folder(s).' 

CopyRecordOptions_Settings.png

If enabled, any resources that are within the original auto-created folder/s will automatically be copied to the new folder once each new record (and subsequent folder) is created. 

If you need specific release forms or procedures to always appear within any of your folders, this is an easy shortcut to ensure that they are always available. 

  

Related:

Generating a Sequence ID

  

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk