Formula for item type in SharePoint
-
10-12-2019 - |
Question
In SharePoint, is there any formula to get item type (Folder or File)?
I have a calculated field on the list, which value is depend on if item is a Folder or not.
Solution
I don't think it's possible out of the box! calculated fields are based on the data and not the container type!
You either have to do it through custom code or through a workflow! or have an extra column that denotes whether it's a folder as bool yes else no and use the calculated field on that column
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange