-
Error while inserting the feedItem in Salesforce
I want to insert the feedItem.
List<FeedItem> fd= [select body from feedItem where parentId='5007F0000018WrE'];
List<FeedItem> it = new List<FeedItem>();
for(feedItem sa:fd){
FeedItem f1=new feedItem(body=sa.body, parentid='5007F000002ATW0');
it.add(f1);}
insert it;it is showing the following exception-
System.DmlException: Insert failed. First exception on row 1; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Body]: [Body]
Log In to reply.
Popular Salesforce Blogs
Salesforce CPQ Certified Specialists - All You Need To Know
Salesforce CPQ is a program developed for providing correct pricing for any product configuration scenarios as a selling tool for the businesses. It also allows…
Develop Your Small Business Into A Large Enterprise With The Right Salesforce Customization
Do you realize that Salesforce discharges tri-yearly updates? Do you additionally realize that Salesforce can oblige a great many customizations directly from your email suite…
Popular Salesforce Videos
How to Choose Salesforce Career Path | How To Start a Salesforce Career
With most of the businesses using Salesforce finding access to talent to be a ‘critical challenge’, it’s no wonder so many people are choosing a…
Salesforce Field Service Scheduling Optimization | AblyPro Webinar
Revolutionize and Level Up Your Game in Services Business With Field Service With Salesforce Field Service on your side, businesses can reduce travel time, improve…
Get Started with Salesforce for Recruitment and Admissions: Admissions and Onbaording
This webinar is designed for Salesforce admins and users who work in Recruitment and Admissions. We will cover all you need to know about using…