How do I filter files in an attachment macro to only show files with a certain file name, such as "status"? Also exclude those same files in another macro.
Hi Joe,
The Attachments Macro does have a way to filter to specific File names based on a Regex Expression added to the macro. I'm not the best regex'er, but you should be able to use something similar to:
.*[Ss][Tt][Aa][Tt][Uu][Ss].*
^((?!.*[Ss][Tt][Aa][Tt][Uu][Ss].*).)*$
Bracketed Letters are used to catch any Camelcase that may be in the filenames and it's wildcarded out so that it's looking for "status" anywhere in the name.
You might also consider using some Labels on your Attachments as the Attachments Macro does filter on Multiple Labels using an AND. This means you could have macros that display "Status Active" or "Status Inactive" and just update the labels on the Attachments when they're Active/Inactive.
Cheers,
Shawn
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.