-
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 Classic vs. Salesforce Lightning - Which Is Better
There's really no denying that technology has taken huge leaps in the past decades. With the advent of app development reaching newer and higher levels…
How to Integrate SMS with Salesforce CRM
Salesforce CRM is the main platform for dealing with customer data, sales processes, and service schedules. Nevertheless, numerous organizations continue to use outside tools in…
Improving Customer Experience With an Integrated System
The Challenges The client was using two separate systems – Salesforce for customer support services and JIRA Software Cloud to track and release development operations.…
Popular Salesforce Videos
Salesforce Summer 20 Dynamic Forms
Salesforce’s Summer ’20 Release Notes have now been published, we can now dive under the hood to see what the top features are! Historically, Summer…
Salesforce Starter Suite and Pro Suite
Selecting and implementing a new customer relationship management (CRM) software can be daunting for a small business. Luckily, Salesforce offers its Starter and Pro Suites,…
Simplified Non-Functional Testing for Salesforce Developers
Testing is indispensable to measure, optimize performance, and improve user experience. Watch this video to see how you can measure performance across physical mobile devices…