Automatic folder/file increments

New Contributor

Hi everyone,


I'd like to create a file storage site on Sharepoint and wish for the folders/files to have an auto-increment number associated with them.


For example the first level of folders will be automatically numbered 1, 2, 3 etc. then if a subfolder is created within folder 1 it will be assigned 1.1 then if another subfolder is created within that 1.1.1 and so on. 


For the second folder is would go 2 -> 2.1 -> 2.2 etc.


Is this possible? We'd also like this auto numbering to be applied to any files within the folders too

1 Reply

@jamiew23 Hello,

I am quite sure that this is not possible to do "out-of-the-box. However, if you could work with PowerShell, then I am certain that you could apply a script that runs once a week/day to set the correct increment based on the custom value on the root folders (1,2,3,4 etc). I wish I knew a simpler way and maybe @Mark Kashman has a better answer? :)