I hope I am completely overthinking this and that there is an easy & obvious answer 🙂
Use Case - When a page that contains a table loads, I need to be able to apply the “Current User Id” as the default filter value on a table (e.g. List Accounts Where Where OwnerId = $User.userId). The filter field needs to be searchable and provide an “All” options as well. In short, the records are filtered initially by the current user but the user can change the filter value and has visiblity to all “Users” in the system for searching as well as the “All” option.
Question - Is there a way to declaratively achieve this?
Things I’ve tried:
1) Looked for a way to apply a default value to an automatic table filter - No dice
2) Tried using a manual filter who’s default condition value is the current UserId but model conditions with “Specific Value” don’t apply merge syntax and treat the value as a string literal
3) Tried using a combination of conditions and models and the “Add Effect” feature of table filters to turn off/on different conditions but no dice
Am I overlooking a declaritive way to do this or is javascript the only answer?
Question
Applying a default value to a table filter that is based on reference field

Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.