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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.