function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ydfycyxcvycydfycyxcvyc 

Inserting Chatter record feeds with Dataloader not possible

Hy,

 

I am trying to insert record feeds with the Apex Dataloader (through the command line) and I am not able to do this, because the mapping information for the feed items fail with this message:

 

ERROR com.salesforce.dataloader.action.progress.NihilistProgressAdapter  - Field mapping is invalid: MY_OBJECT__FEED.PARENTID=ParentId\:ExternalId__c

 

The line that fails is:

 

MY_OBJECT__FEED.PARENTID=ParentId\:ExternalId__c

 

ExternalId__c exits on MY_OBJECT__c and is an external id. So this is not the reason for the error. But strangly when I want to check the relation name by doing a getDescribe().getRelationName() on MY_OBJECT__FEED.PARENTID it returns a NULL.

 

???

 

Can anyone help with that?

 

Regards Robert

 

 

rsoese@systecsrsoese@systecs

By the way: I found out that I cannot insert to the MY_OBJECT__FEED object directly as this is not allowed by the API. But inserting to the general FeedItem IS INDEED possible when done manually with the dataloader. So my problem exists only when done with the Dataloader commandline and External Id mappings.

 

I am the same person as the one from the post above...different accounts ;-)!