function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Timmy AhluwaliaTimmy Ahluwalia 

create folder while creating a group

Hi,
I want to create a folder when I am creating a Group. Please help in writting the apex.
Thanks.
Best Answer chosen by Timmy Ahluwalia
Maharajan CMaharajan C
Based on my search there is one option you can use Metadata API:

Please refer the below link: step by step procedure
https://forcespider.wordpress.com/2015/08/07/creating-folder-using-metadata-api-in-salesforce/

Can you please Let me know if it helps or not!!!

If it helps don't forget to mark this as a best answer!!!


Thanks,
Maharajan.C

All Answers

Maharajan CMaharajan C
Based on my search there is one option you can use Metadata API:

Please refer the below link: step by step procedure
https://forcespider.wordpress.com/2015/08/07/creating-folder-using-metadata-api-in-salesforce/

Can you please Let me know if it helps or not!!!

If it helps don't forget to mark this as a best answer!!!


Thanks,
Maharajan.C
This was selected as the best answer
Timmy AhluwaliaTimmy Ahluwalia
Thanks Maharajan, i will look into and reply.