+ Start a Discussion
swatijainswatijain 

Create a folder in Documents from .net Code

Hi,

 

I want a situation where a user from my .net UI can create a folder under documents and add documents to it.  Now, I can figure out how to create documents in a pre existing folder.  But, I can not figure out how to create a folder under documents.

If anyone has any ideas, please share.

 

Swati 

Best Answer chosen by Admin (Salesforce Developers) 
ryan_marplesryan_marples
There's a Folder standard object you should be able to insert records into. Then when you create Documents you can assign the FolderId.

Ryan