Folder preview from Document Library in Sharepoint Online using JSON formatting

Copper Contributor

I have a Document Library with Folders & Files, using column formatting I can preview the files but I am wondering if anyone knows how or if it is possible to preview a folder to show its contents as a preview.  I have been trying to use customCardProps and customRowAction but I dont think these have the capacity for this.  Any tips would be welcome. In addition I would like to show the different previews from the same screen,  ie. if I hover a folder on the list I see its contents and if it is a file I still have the filepreview 


Many thanks 

0 Replies