Skip to Main Content
Categories Expression Engine
Created by Guest
Created on Jan 28, 2025

Linked Entity Access - Any, All, ForEach

Please, fill in the below fields to enable the processing of your idea.

Who would benefit?

Anyone using expression engine

What impact would it make?

Ability to aggregate data up


You should be able to access multiple lined entities to evaluate All, Any, or ForEach type functionality.

Why is it needed?

Allow aggregation of data up a model's hierarchy or the evaluation of linked entities.

Example: A product can have multiple items, I want to have the ability to mark a Product as "Ready" if ANY or At Least One of the linked items is in a "Ready" state.


Additional feedback, background, or context:


  • Attach files
  • Sarvani Thatiparti
    Reply
    |
    Jan 30, 2025

    I fully support this idea. This feature would be extremely useful to concatenate and display values from all linked entities. In my use case, I want to retrieve the field values from all child entities linked to a parent entity and display them as a concatenated string.

    Currently, the Expression Engine only fetches data from the first linked entity, making it impossible to achieve this without custom extensions. Adding ANY, ALL or FOREACH support would be extremely helpful for automating such data aggregation.