We have a requirement to allow a widget on a dashboard to be only visible if you are part of a certain team. This may or may not be your default team. Is there an easy way to accomplish this or can someone share some guidance, please?
I tried the expression below but that seemed way too easy and it failed.
Any help would be greatly appreciated!
I believe the left-side needs to be the ID of the user and the right-side needs to be the TeamID of the team.
CurrentUserRecID() Is member of [teamid]
That did the trick, thanks Steve!
I have something similar. I only want to include team members not a member of a specific team. Is this possible? I have used expressions before in onesteps to check if a team member and then choose true or false for that expression. But I can't figure out how to use an expression in a search to do this. Expression is not an option in a group clause of a search.
Yes, you'll need 2 expressions. The first expression should be a stored expression that is the positive (member of team). It will return TRUE if the current user is a member of the teamid you specify.
The second expression is the one you want to put on your link/widget, etc.... It evaluates the results of the first expression and will return TRUE if the first expression does not return TRUE.
sorry, I responded without reading your full request. You want to do this in a search and that changes things a bit...
Are you looking for something like this: Show all tickets where the current user is not a member of the owned by team?