Cata log group field

Kanhaiya_Verma
Tera Contributor

On catalog, I want to create a group field which only shows groups the user is part of.

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron

@Kanhaiya_Verma 

create a reference variable or list collector and use this in reference qualifier so that it shows only those groups which logged in user is member of

javascript: 'sys_idIN' + new global.ArrayUtil().convertArray(gs.getUser().getMyGroups());

AnkurBawiskar_0-1740752123075.png

 

Working solution here: Logged in user is member of 2 groups, so it showed 2 groups

logged in user group.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@Kanhaiya_Verma 

create a reference variable or list collector and use this in reference qualifier so that it shows only those groups which logged in user is member of

javascript: 'sys_idIN' + new global.ArrayUtil().convertArray(gs.getUser().getMyGroups());

AnkurBawiskar_0-1740752123075.png

 

Working solution here: Logged in user is member of 2 groups, so it showed 2 groups

logged in user group.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

@Kanhaiya_Verma 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.