Reduce selection of CI classes in Configuration Item field

Arthur Sp
Tera Contributor

When I try to select a CI in reference field "Configuration Item" it shows me all CI´s existing in all CI classes.
I would like to reduce the available CI classes to our principle classes while typing the CI name to the reference field.

I know that there is a view "Principle Classes" I could use to filter on principle classes.
But I want to select the affected CI directly when I type the name to the reference field and not open first the table, change the view and then search for the CI.

I have already tried to reduce the amount of classes by creating a dictionary override.
But this has not worked because the field to enter an encoded query with all princple class names is limited.

Can somebody help with this?

1 ACCEPTED SOLUTION

Hi Arthur,

 

Happy it worked for you.

If you believe my answer helped kindly mark it as helpful and accept the solution.

 

Thanks!

Pedro

View solution in original post

4 REPLIES 4

Pedro Grilo1
Mega Sage

Hi,

 

I believe the best option would be to apply a reference qualifier to the reference field with the same criteria you apply to the "Principle Classes" view.

 

I hope it helps!

Pedro

Arthur Sp
Tera Contributor

Hi Pedro,

 

 

I have now used the the condition query of filter "Principle Classes" and added it to my reference qualifier.

The query is: sys_class_nameINjavascript:new PrincipalClass().getPrincipalClasses()

This has worked fine. Thank you!

Greetings

Arthur

Hi Arthur,

 

Happy it worked for you.

If you believe my answer helped kindly mark it as helpful and accept the solution.

 

Thanks!

Pedro

 

I have checked Principal class in Window server in CI Class manager and then in incident->reference->configuration Item dictionary updated the above query in reference qualifier field.

When opened new incident and clicked configuration item field. It’s still loading all the CI class.

Could you help me on this issue where would have missed the step? 

 

Thanks,

RT