Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I filter ConfiForm Table view based on user mention in Field

Dhiraj Kr_ Gupta
Contributor
May 1, 2024

There is a column of user name User. I want to show only those records to users whosev name is mentioned in the column. For eg if there are 20 records and the name of user is mentioned in 5 records. So only those 5 records to be shown for user. And there is one user For eg Dhiraj, all records shown to Dhiraj

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
May 1, 2024

Are you talking about filtering data in a form based on current logged in user?

Dhiraj Kr_ Gupta
Contributor
May 1, 2024

Not exactly. Suppose There is a Confiform Table view

Name Work

John.     X

Cris.      V

John.     B

Alex.     N

John.     A

So when John open this page or Confiform Table view, only those record are shown where Name is John and apart from this there is a universal user to whom every record can bee shown

Dhiraj Kr_ Gupta
Contributor
May 1, 2024

Or if only mentioned user in the name can edit Their respective record

Alex Medved _ConfiForms_
Community Champion
May 1, 2024

So, how ConfiForms should know that it is John? Is it the user who is logged in currently?

Dhiraj Kr_ Gupta
Contributor
May 1, 2024

Yes the user is logged on and Field name contains userId or users name which is recognisable by confluence

Alex Medved _ConfiForms_
Community Champion
May 1, 2024

In the view macro set the "Filter to apply on entries dataset" parameter to

Name:[entry._user]

Alex

Dhiraj Kr_ Gupta
Contributor
May 1, 2024

Thank you very much

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events