+ Start a Discussion
Vin BVin B 

How can I create a document folder using trigger in salesforce?

I want to create document folders dynamically in trigger.But DML operations on folders is not allowed.How can achieve it?
GauravGargGauravGarg
Hi SFDC,

Salesforce didn't expose this functionaltiy. 

Please create a folder manually via setup menu, and utitlize the same in apex. 

Thanks,
Gaurav