Skip to main content
Skip table of contents

Add Query to Tag Logic (Legacy)

If you want to query data that match conditions or values from a Related List, you need to add the query  to the Tag Logic of the related list's child element. Data from query created in a Tag Logic of an element can be used only for that specified element.

In Document Template , select the desired element

In the right pane, select Tag -> Attributes -> Logic to open the tag logic

image-20240109-093810.png

In the left pane, type "Query" to the Filter box

Drag and drop the query tag to the workspace

image-20240109-093816.png

Give a name for the query's var

image-20240109-093822.png

In select attribute, type the SOQL syntax or select "..." button to open the Query Editor

Learn more how to:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.