0

I'm actually working on a backup and restore procedure of my salesforce data, and my client wants the ability to restore their chatter feed also.

I saw in the documentation (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_feeditem.htm) that the upsert() call is allowed on the feedItem object. But what has not been specified, are the fields that are used to determine the update or insert.

Has anyone been able to do and upsert on the feeditem object ? What are the fields on which the update is determined ?

0

The update or insert is determined by the FeedItem's ID, so it's not all that useful. If the ID exists, it's an update. But if the ID doesn't exist, then you'll get an error because IDs can only be generated by Salesforce.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.