Forum Discussion
Hemant2004
Dec 16, 2021Copper Contributor
Want to folder size in sharepoint online as a column or any easy way ( i am user not admin)
Want to folder size in sharepoint online as a column or any easy way
Paul_HK_de_Jong
Dec 16, 2021Iron Contributor
OOTB this is not possible. You will have to add logic.
One way is to develop an SPFx app that collects the "child" details for that particular folder. Another way is to create a list with all items in that library (one-off) and then using logic to determine the number of items, sizes etc.. for that folder and all other items.
The latter approach is quite an expensive operation, you will need to cater for LVT and stay below requests threshold. If you use REST queries and multiple threads you will probably get details at a rate of of say 100 items per second. If your library holds 100000 items this action will take 1000s.
One step back: why do you need this functionality? manage the contents of your library? or ...
Paul
Hemant2004
Dec 16, 2021Copper Contributor
any simple way to make SPFx app & is it possible for non IT person
- Paul_HK_de_JongDec 16, 2021Iron ContributorShort answer: Nvo
SPFx is very powerful but has a serious learning curve.