New folder name validation

%3CLINGO-SUB%20id%3D%22lingo-sub-1762689%22%20slang%3D%22en-US%22%3ENew%20folder%20name%20validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1762689%22%20slang%3D%22en-US%22%3E%3CP%3Ehello%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20have%20a%20scenario%20that%20i%20have%20a%20tab%20connected%20to%20SharePoint%20document%20library.is%20it%20possible%20to%20have%20some%20kind%20of%20validation%20when%20the%20user%20clicks%20the%20new%20folder%20button%3F%20The%20scenario%20is%20for%20example%20to%20limit%20the%20folder%20name%20to%2020%20characters%20without%20any%20special%20characters%20on%20it.%3C%2FP%3E%3CP%3Ethank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1762689%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1763360%22%20slang%3D%22en-US%22%3ERe%3A%20New%20folder%20name%20validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1763360%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825872%22%20target%3D%22_blank%22%3E%40andtrds%3C%2FA%3E%26nbsp%3B%3A%26nbsp%3B%20%26nbsp%3BBest%20way%20to%20handle%20the%20folder%20name%20validation%20is%20in%20SharePoint%20itself.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1763362%22%20slang%3D%22en-US%22%3ERe%3A%20New%20folder%20name%20validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1763362%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F826137%22%20target%3D%22_blank%22%3E%40Rama-MSFT%3C%2FA%3E%26nbsp%3B%20thanks%20for%20reply%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20ideas%20how%20can%20i%20do%20this%20from%20SharePoint%3F%20Because%20there%20is%20no%20name%20validation%20settings%20in%20document%20library%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethank%20you%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1951517%22%20slang%3D%22en-US%22%3ERe%3A%20New%20folder%20name%20validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1951517%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825872%22%20target%3D%22_blank%22%3E%40andtrds%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20please%20go%20through%20this%20%5Bdocument%5D%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftabs%2Fhow-to%2Ftabs-in-sharepoint%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftabs%2Fhow-to%2Ftabs-in-sharepoint%3C%2FA%3E)%20about%20share%20point%20customize%20tab%20with%20validations.%20We%20can%20handle%20this%20validation%20in%20JavaScript.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1968264%22%20slang%3D%22en-US%22%3ERe%3A%20New%20folder%20name%20validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1968264%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825872%22%20target%3D%22_blank%22%3E%40andtrds%3C%2FA%3E%2C%20There%20is%20no%20way%20to%20do%20this.%3C%2FLINGO-BODY%3E
New Contributor

hello 

i have a scenario that i have a tab connected to SharePoint document library.is it possible to have some kind of validation when the user clicks the new folder button? The scenario is for example to limit the folder name to 20 characters without any special characters on it.

thank you

3 Replies

@andtrds :   Best way to handle the folder name validation is in SharePoint itself.

@Rama-MSFT  thanks for reply

 

any ideas how can i do this from SharePoint? Because there is no name validation settings in document library

 

thank you 

@andtrds, There is no way to do this.