So in my case, I'm creating an application with two data cards with attachments
Attachment Name - "HardwareGoods" and
another Attachment Name - "Invoice"
OnAddFile -
Clear(CollectingIncorrectNames);
ForAll(
Self.Attachments.Name,
If(
Not("HardwareGoods" in Name),
Collect(
CollectingIncorrectNames,{Name : Name}
));
If(
CountRows(CollectingIncorrectNames)>0,
Notify("Change Attachment Name to 'HardwareGoods' on the file name", Error); Reset(Self))
On Items - How do I filter only Attachments which has a name with 'HardwareGoods' only not the 'invoice'