
Asked in Deloitte
Write a batch Apex job to move all attachments to files.

AnswerBot
1y
Batch Apex to move attachments to files
Create a Batch Apex class that implements the Database.Batchable interface
In the start method, query for all attachments that need to be moved
In the execute meth...read more
Help your peers!
Add answer anonymously...
Top Salesforce Consultant Interview Questions Asked at Deloitte
Q. What are the 15-character and 18-character Salesforce IDs?
Q. Write a batch Apex job to move all attachments to files.
Q. How can page layouts be displayed based on user location?
Interview Questions Asked to Salesforce Consultant at Other Companies
Top Skill-Based Questions for Deloitte Salesforce Consultant
Salesforce Interview Questions and Answers
150 Questions
Triggers Interview Questions and Answers
50 Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

