How to Extend Field Fetch for Linked Data in Custom LinkMultiple Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomasrotek
    Junior Member
    • Sep 2024
    • 3

    How to Extend Field Fetch for Linked Data in Custom LinkMultiple Field

    Hello,

    We’re working on a project where we have a custom field in the Lead entity called "parcels". This field is set up with a LinkMultiple type and links to data from the Parcel entity. Our goal is to fetch additional data for this field without extra front-end requests.

    Specifically, we need to retrieve additional parameters from the Parcel entity as well as data from a related entity, OwnershipList. Each Parcel has a connected OwnershipList, and we need to pull in the OwnershipList name to display it on the front end.

    We've tried extending entityDefs to include this extra data, but we’re unsure how to do it correctly. All the extra fields we need are for read-only display on the front end, so we only need to retrieve this data without any editing capabilities.

    Has anyone successfully extended field fetching in a similar way, or could anyone provide guidance on the best approach?

    Thank you in advance for any insights!
  • Vadym
    Super Moderator
    • Jun 2021
    • 345

    #2
    Hi tomasrotek,

    You can implement the desired by creating additional fields and using Formula Script for data retrieving:

    Comment

    Working...