+ Start a Discussion
Swathi MiryalaSwathi Miryala 

Folder Hierarchy for content libraries

Has anyone build folder hierarchy for content libraries using APIs.  I am able to build the content folder but cannot view it on UI. when i query on it, i can see the that it got created. What is the correct approach? Basically I want to build Folders and Sub Folders in Libraries.

ContentFolder c = new ContentFolder();
c.Name = 'New Project Folder1';
insert c; 
Please guide me.