Lookup using List - default Principle Class for RITM and SCTASK Configuration Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 12:23 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 12:25 PM
You answered your own question.
Yes, Dictionary -> Reference Qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 12:42 PM
and what would I update on the Dictionary Entry (with the correct syntax)
to list by Principle Class
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()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 12:57 PM
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()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 01:07 PM
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