How do I filter getResources results by TV being empty or filled?

I’m trying to build a podcast feed that only includes resources where the “mp3_file” template variable has been filled in. Ignore all resources where that TV is empty.

I assume that would be done with the tvFilters property, but I’m not sure how to tell it to ignore resources with an empty TV. What kind of property call would work for this?

I believe this should work:

[[getResources?
    ...
    &tvFilters=`mp3_file!==`
]]

What is that saying basically? mp3_file not equal?

Select the resources where the TV “mp3_file” is not equal to an empty string.

WHERE mp3_file != ''

That does seem to work. 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”.