How to implement Import by Chatter
Editor to share with you how to achieve Chatter import, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!
Chatter Import
Import team
Import team members
When importing FeedItem, there are places related to the file: Body: (sfdc://0696F00000CQaXOQA1) RELATEDRECORDID word, if HasContent is set to true to false HasLink, if true is set to false RelatedRecordId, this is because if HasContent is true, then RelatedRecordId must have a value if HasLink is true LinkUrl must have a value Type record is the current type first modified to textpost, first import the data into the system = = ContentVersion:068 (body) ContentDocument:069 (RELATEDRECORDID) = =
ContentDocument does not support insert, so it can be seen that it is automatically generated by SF after insert ContentVersion, but the version information will be lost.
FeedItem-- > FeedAttachment-- > (ContentVersion/ContentDocument)
To see the ParentId of ContentDocument corresponds to (0586F000000xtjCQAQ) ContentWorkspaceDoc
The above is all the contents of the article "how to import Chatter". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!