Need assistance on reference qualifier.

dhineshkumar
Tera Guru

Hi Team 

I have the catalog item and have three fields When I select any user A field it automatically pop up the managers name(I appled the catalog data lookup definition). Now I want to show the third field (user B) number of users respective manager. 

dhineshkumar_0-1726743585757.png

 

Thanks in advance.

 

1 ACCEPTED SOLUTION

Nishant8
Giga Sage

Hello @dhineshkumar, if you wish to display a list of users under the manager of user A, then you can write advanced qualification as follows: javascript:'manager='+current.variables.user_a.manager;

write this script under type qualification as below:

Nishant8_0-1726754585298.png

 

 

View solution in original post

11 REPLIES 11

Amit Verma
Kilo Patron
Kilo Patron

Hi @dhineshkumar 

 

@Rajesh Chopade1  has given a solution to your requirement using an On-Change client script. If you still prefer to use reference qualifier, you can take logic from the Script Include provided by him to get the count. Please note that the Script Include will not be Client Callable in that case so be aware of the syntax. This Script Include you can call within your reference qualifier to get the number of reportees under a manager.

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Nishant8
Giga Sage

Hello @dhineshkumar, if you wish to display a list of users under the manager of user A, then you can write advanced qualification as follows: javascript:'manager='+current.variables.user_a.manager;

write this script under type qualification as below:

Nishant8_0-1726754585298.png