How to filter rows of an inline repeats with attachment?

Hi Bernadette,

Make sure that you are using A12 202306-ext3 or later (thanks @felix-blazing-river). If not, there is an issue with subgroup filtering.

If you are on an older version of A12 this might be a workaround:
Please not that my example is filtering based on “original_filename” instead of “category” field

  • I created a helper field (FieldForExpression) in my repeat so that I am able to access data from the attachment. (Data Model)
  • This helper field is filled by a computation, basically copy/pasting the value of attachment/original_filename into my helper field. (Data Model)
  • The filter expression is then referencing my helper field like follows:
[FieldForExpression] = "test.png"

So only attachment with this file name will be displayed inside my upper repeat while the lower repeat is displaying all entries.

Best
Henner

SME 10.4.1 (A12 2023.06-ext4)
ExpressionsRepeat_DM.json (9.6 KB)
ExpressionsRepeat_FM.json (3.1 KB)