Lookup using List - default Principle Class for RITM and SCTASK Configuration Item

Bret Smith
Giga Guru

Is there a way to set the default up on Lookup list for Configuration Item?

Where/How can i set Lookup list for the Configuration Item to the Principle class?
or 
is it somethin to set in the Dictionary Entry for Configuration Item 

 

BretSmith_0-1722453379393.png

 

 

 

7 REPLIES 7

AnirudhKumar
Mega Sage
Mega Sage

You answered your own question.

Yes, Dictionary -> Reference Qualifier

and what would I update on the Dictionary Entry (with the correct syntax)

to list by Principle Class

BretSmith_0-1722454839925.png

 

Attributes:

edge_encryption_enabled=true,encode_utf8=false,ref_ac_columns=sys_class_name,ref_ac_order_by=sys_class_name,ref_auto_completer=AJAXTableCompleter,ref_contributions=AddNewCI;task_show_ci_map;show_related_records

 

Reference qual:
javascript: ['incident', 'problem'].indexOf(current.sys_class_name + '') == -1? '' : 'operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateTask').join()

Hey Bret,

In your first screenshot, I see an RITM record. Were you trying to filter the Configuration Item records only on the RITM?   The dictionary entry on the second screenshot is on the Task table.

Be careful there.

If you right click on the Config Item field on the RITM, and it still took you to the Task Table dictionary, then you will have to add a Dictionary Override (should be a related list on your second screenshot).

 

I was trying this out in my PDI, and the system gives the below as the filter for Principle class:

sys_class_nameINjavascript:new%20PrincipalClass().getPrincipalClasses()

where does that code go?  
Reference qual or attributes
what is the full syntax for what is currently there and what needs to be added