# How to integrate JetEngine Relations with Bricks Query loop

**URL:** <https://forum.bricksbuilder.io/t/how-to-integrate-jetengine-relations-with-bricks-query-loop/4943>\
**Category:** How To\
**Tags:** how-to\
**Created:** [August 8, 2022, 5:48pm UTC](https://forum.bricksbuilder.io/t/how-to-integrate-jetengine-relations-with-bricks-query-loop/4943 "2022-08-08T17:48:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndresBernad](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@AndresBernad](https://forum.bricksbuilder.io/u/AndresBernad)\
**Post date:** [August 8, 2022, 5:48pm UTC](https://forum.bricksbuilder.io/t/how-to-integrate-jetengine-relations-with-bricks-query-loop/4943/1 "2022-08-08T17:48:48Z")

</div>

Hi! I’m having trouble loading a query loop in a CPT single page, with a list of related posts from other CPT, using JetEngine relations.

The scenario is the following:

- JetEngine CPT “Artist”
- JetEngine CPT “Album”
- JetEngine Relationship one-to-many: Artist(parent)-Album(child)
- “Artist” Bricks template (single) → here I have the query loop (type:posts, post type:“Album”)

The problems is that it’s loading all “album” posts, but I want it to only load the ones related to the current “artist”.

I installed Bricks version 1.5 and I saw in the changelog of July 2, 2022 that it was implemented: “Query Loop: Integration for Meta Box Relationships & JetEngine Relations” but I can’t found the way.

Thank you!

---

<div class="post-metadata">

**Author:** ![AndresBernad](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@AndresBernad](https://forum.bricksbuilder.io/u/AndresBernad)\
**Post date:** [August 10, 2022, 7:48pm UTC](https://forum.bricksbuilder.io/t/how-to-integrate-jetengine-relations-with-bricks-query-loop/4943/2 "2022-08-10T19:48:09Z")

</div>

I finally found it! I was looking for it in the options of the “posts” query, but it has to be set directly as the type of the query.  
 ![bricks-jetengine-relations](https://forum.bricksbuilder.io/uploads/default/original/2X/3/30824c41d7029d46d6804f69c1a4d148706fce8a.jpeg)

It makes sense, but coming from Elementor my logic was different 😕

---

<div class="post-metadata">

**Author:** ![frodelamoy](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/frodelamoy/32/6340_2.png) [@frodelamoy](https://forum.bricksbuilder.io/u/frodelamoy)\
**Post date:** [November 1, 2022, 6:09pm UTC](https://forum.bricksbuilder.io/t/how-to-integrate-jetengine-relations-with-bricks-query-loop/4943/3 "2022-11-01T18:09:38Z")

</div>

UPDATE/SOLVED: A very easy solution, I just needed to use {post\_title:link} instead of just {post\_title}. Only the latter is listed in the GUI. Here is the list of supported dynamic data filters: [Dynamic Data – Bricks Academy](https://academy.bricksbuilder.io/article/dynamic-data/)

* * *

Thanks for sharing this, I have a very similar setup. I now get the title of my JetEngine relations CPT. That’s great. But I also need to link back to that related post, but I can’t get that to work (from clicking the title).

Did you manage to do that or do you perhaps have a meta-field for the related post URL? In Elementor it worked without another meta-field. I would like to avoid that so that the client don’t need to also input the URL, just pick the related director (in this case).

 ![Screenshot-2022-11-01 3](https://forum.bricksbuilder.io/uploads/default/original/2X/e/e039addbb2aab492a3eb1cbf11968be13fbff6d8.png)

---

<div class="post-metadata">

**Author:** ![ribeirom4e](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@ribeirom4e](https://forum.bricksbuilder.io/u/ribeirom4e)\
**Post date:** [November 2, 2024, 12:06am UTC](https://forum.bricksbuilder.io/t/how-to-integrate-jetengine-relations-with-bricks-query-loop/4943/4 "2024-11-02T00:06:17Z")

</div>

If you use JetEngine, like the below post:

> [@Bricks Conditions - More Options with JetEngine](https://forum.bricksbuilder.io/t/bricks-conditions-more-options-with-jetengine/27554):
>
> Currently, we can use the Dynamic Data option to access CPT / CCT meta fields in the Conditions tab. The problem is that is very limited. Would be great to be able to access the Queries built with Query Builder also (it would need to work the same as a CPT / CCT is shown. (Query Builder - List of Queries // Query Builder (SQL) - List of Queries and Variables). It would avoid us the rastle to use a work around as described in the below posts. Best regards,
