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
MUHAMMED SHANID E KMUHAMMED SHANID E K 

hi, please explain a solution to this problem

I need to create a folder when each time a new opportunity is created in salesforce, and i have to perform actions like create, delete folders and files in those folders and display items in each folders, search file name. Please explain a solution for this problem.
Raj VakatiRaj Vakati

Do you need to create a folder ?? or attachment ?? 

Can you explain what you are trying to do ..
 
MUHAMMED SHANID E KMUHAMMED SHANID E K
This is that i am trying to do

Each time a new opportunity is created in salesforce, a default folder structure should be
created inside the opportunity.
 Analyse and implement relationship with opportunity and folder object and the uploaded file.
 Develop trigger to create all the folders for each newly created opportunities.
 Develop Visualforce page for folder hierarchy
 Create controller to perform actions like create, delete folders and files in those folders and
display items in each folders, search file name, etc.
 Develop methods to upload documents.
 Share files to chatter.
 Develop test classes.
 User can delete and add folders and sub folders
 Number of files inside the folder should be displayed on the folder.
 For folders with subfolders, an indicator (like a plus sign) should be present which indicates the
presence of subfolders and the option to expand.