Gridviews per User Jon (LabKey DevOps)  2018-07-11 13:25
Status: Closed
 
Hi Marcia,

It sounds like you're asking if you can create a filter that would be based on the individual user who is looking at the grid.

There is a special filter called ~me~ that assumes the user who is looking at the grid is the value desired.

From our docs: https://www.labkey.org/Documentation/wiki-page.view?name=filteringData#variable

"Using filter value variables can help you use context-sensitive information in a filter. For example, use the variable "~me~" (including the tildes) on columns showing user names from the core.Users table to filter based on the current logged in user."

So if you have a Name column that has the names of the users who are in LabKey, you can use that ~me~ filter to force the grid to only show the specific user rows that are tied to them and them only.

Regards,

Jon