Use TV output within another tag

I want to use a TV’s output to fill a migxLoopCollections where query like so:

[[migxLoopCollection? 
  ...
  &where=`{"id:IN":[ [[*tv.output]] ]}`
  ...
]]

Unfortunately this way the output of the TV (a comma separated list of IDs) is not rendered. I assume, because of the additional square brackets in front of the tag. Is there a way to make this work? I tried replacing the outer square brackets to ( and { but without luck.

When I test it (with the exact syntax you posted), it works.

1 Like

Oh my… I thought I had tested that before. Thanks!

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.