[SalesForce] Maximum number of folders in a library
Is there a limit for the number of folders a library can have? If so, what is the limit?
Best Answer
Salesforce documentation has not mentioned this limit. There is a limit for the number of folders in a library, Maximum 500 folders could go in a library.
Attached the images showing error messages while trying to create a folder in a library that has 500 folders, Dev log while trying to add a folder from a VF page.
People, people, ... hold your whoreses (yes, pun)!
It's much easier than that!
Pre-steps:
1. Know the ID of the library you want to move stuff to (to know this, go to the library and copy the id from the url, or do an export on 'ContentWorkspace' and select Name & Id)
Operation:
1.
Open dataloader and choose Export
object 'ContentDocument'
select Id, Title & ParentId
open in spreadsheet
find all documents you want to be moving (by filtering, sorting ...) and replace the 'ParentId' with the Id of the destination
library
make a csv out of it
dataloader --> update, choose ContentDocument, choose the csv you just made
Play Kool & the gang, and dance the rest of the day (you were otherwise spending moving stuff manually or fixing errors)
From the overview: "Folderize provides the missing folder structure for Salesforce Content Libraries. Create a hierarchy of folders like in a file system; then link documents from existing libraries to one or more subfolders."
Best Answer
Salesforce documentation has not mentioned this limit. There is a limit for the number of folders in a library, Maximum 500 folders could go in a library.
Attached the images showing error messages while trying to create a folder in a library that has 500 folders, Dev log while trying to add a folder from a VF page.