Automatic folder/file increments

%3CLINGO-SUB%20id%3D%22lingo-sub-1720185%22%20slang%3D%22en-US%22%3EAutomatic%20folder%2Ffile%20increments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1720185%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'd%20like%20to%20create%20a%20file%20storage%20site%20on%20Sharepoint%20and%20wish%20for%20the%20folders%2Ffiles%20to%20have%20an%20auto-increment%20number%20associated%20with%20them.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%20the%20first%20level%20of%20folders%20will%20be%20automatically%20numbered%201%2C%202%2C%203%20etc.%20then%20if%20a%20subfolder%20is%20created%20within%20folder%201%20it%20will%20be%20assigned%201.1%20then%20if%20another%20subfolder%20is%20created%20within%20that%201.1.1%20and%20so%20on.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20the%20second%20folder%20is%20would%20go%202%20-%26gt%3B%202.1%20-%26gt%3B%202.2%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20possible%3F%20We'd%20also%20like%20this%20auto%20numbering%20to%20be%20applied%20to%20any%20files%20within%20the%20folders%20too%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1720185%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1720913%22%20slang%3D%22en-US%22%3ERe%3A%20Automatic%20folder%2Ffile%20increments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1720913%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F811762%22%20target%3D%22_blank%22%3E%40jamiew23%3C%2FA%3E%26nbsp%3BHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20quite%20sure%20that%20this%20is%20not%20possible%20to%20do%20%22out-of-the-box.%20However%2C%20if%20you%20could%20work%20with%20PowerShell%2C%20then%20I%20am%20certain%20that%20you%20could%20apply%20a%20script%20that%20runs%20once%20a%20week%2Fday%20to%20set%20the%20correct%20increment%20based%20on%20the%20custom%20value%20on%20the%20root%20folders%20(1%2C2%2C3%2C4%20etc).%20I%20wish%20I%20knew%20a%20simpler%20way%20and%20maybe%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F96%22%20target%3D%22_blank%22%3E%40Mark%20Kashman%3C%2FA%3E%26nbsp%3Bhas%20a%20better%20answer%3F%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
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
Highlighted

@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? :)