Paragraphs uses "parent_id" and "parent_type" properties instead of entity references to track relationships.
This should be available to Related Entity IDs to map to lookup / master-detail fields in Salesforce.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aaronbauman created an issue. See original summary.

AaronBauman’s picture

Issue tags: +Release blocker
AaronBauman’s picture

Status: Active » Needs review
FileSize
6.02 KB

This patch changes logic in field mapping field plugins to look for field using any "Reference" handlers - instant support for paragraphs, media, or any other entity reference fields.

  • aaronbauman committed ed4ad8d on 8.x-3.x
    Issue #2912539 by aaronbauman: Reference ID support for Paragraphs
    
AaronBauman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

brooke_heaton’s picture

I'm unclear on if this functionality made it to version 5.0.x. I have a Paragraph type in Drupal 9 that is related to a User (Parent ID would be user ID). I'm unable to expose this relationship when mapping the Paragraph to a Custom Object on Salesforce. I see all other Entity Reference fields, including the Paragraph Type, but not the Parent ID. Is this functionality not in version 5?

Screenshot of Salesforce Mapping UI for Paragraph entity showing no Parent ID is an option for Related Entity ID

brooke_heaton’s picture

brooke_heaton’s picture

FileSize
33 KB
brooke_heaton’s picture

Version: 8.x-3.x-dev » 5.0.x-dev

This fix somehow disappeared. This is not in version 5.

brooke_heaton’s picture

Version: 5.0.x-dev » 8.x-3.x-dev