Kinetic Dashboard Filter - UserID

Hoping this is a simple one, but I can’t for the life of me figure out how to filter my Kinetic Dashboard based on the user that is logged in. In Classic, it looked like the picture below, but I am struggling to figure out the syntax for Kinetic. I am looking to do this on the View level, that way I can use the same BAQ for several grids, otherwise I would just do this on the BAQ level. I know where to put the filter and have got it to work with test conditions, but if someone could point me in the right direction for the new syntax, that would be great! I’ve tried things like callContextClient.CurrentUserID and Session.UserID but have had no luck. Thanks for any help you can provide!

1 Like

Might it be easier to put that in the BAQ that drives the dashboard? (and possibly more efficient) We do a lot of such stuff, and it’s always faster for the user to have it in the BAQ for us.

2 Likes

I had thought about that, but with what we are using it for, we have a grid that shows all the data, and then also a grid that is filtered down to show the items that are applicable to the user. By doing this, it allows us to not have to change multiple queries when we do have to adjust what is seen in this dashboard. Now, we can just change it in the one, and have it apply to both grids

3 Likes

Update: I was able to use %session.context.user% to successfully show my user ID in a dialog message, but have not found a way to use this in the filter. Not sure if I am just using the wrong syntax for it being in the Where List, but we are a little bit closer to where we need to be haha

3 Likes

Finally figured it out! Using ‘?{Constant.UserID}’ works!!!

5 Likes