/
Creating Chatter Records
Creating Chatter Records
Creating a Chatter record requires using the GenericEntity class.
GenericSalesforceEntity feedItem = new GenericSalesforceEntity("FeedItem"); //The ParentId is the ID of the sObject that the Feed Item is attached to. In this case it is a Contact ID. contactFeed.InternalFields.SetField("ParentId", "0039000000Msoqj"); contactFeed.InternalFields.SetField("Body", "Some chatter text"); GenericSalesforceService chatterContactService = new GenericSalesforceService(GetSalesforceSession, "FeedItem"); SaveResult saveResult = chatterContactService.Insert(feedItem);
Related content
Create Multiple Records in Salesforce with One API Call
Create Multiple Records in Salesforce with One API Call
Read with this
Creating Chatter Records with an Attachment
Creating Chatter Records with an Attachment
More like this
Saving to Salesforce from an MVC form
Saving to Salesforce from an MVC form
Read with this
Working with the SalesforceGenericEntity
Working with the SalesforceGenericEntity
More like this
Upload Files to Salesforce Documents
Upload Files to Salesforce Documents
More like this
Adding Attachments to a Salesforce Record
Adding Attachments to a Salesforce Record
More like this