
How can I do this? I'm using Jitterbit Cloud Data Loader, ard I don't see a Files object. Is there a way to do a mass import while associating Files with an Opportunity record? I would prefer to use Jitterbit, but can use the SF Data Loader if that's needed.
1 resposta
Lauren,
I believe you'll have to upload your files to the FeedPost object. Reverse engineer it. In your sandbox upload a file to an Opportunity (as a "Salesforce (Chatter) File"). Then do an export of just that record from the FeedPost object. Look at the ContentData column to tell you where the file is stored. Once you figure it out, upload your files, then data load your chatter to the FeedPost object pointing to the appropriate Opportunity records.In the data load you would have to populate the following FeedPost fields/columns:
- ParentId (specify parent contact id)
- Body (text for chatter post)
- ContentData (Path to attachment on the local file system)
- ContentFileName (file name that shows up in Chatter post)
- ContentDescription (file description that shows up in Chatter post)