What defines the OOB name of the Related Lists

DirkRedeker
Mega Sage

Hi

Lately, I was searching for a Related List, which (by table relations) must be there...

In fact, I wanted to show the "Available for groups" Related List from the Groups perspective, Normally, you can find this Relation (M2M table) as "Available for Groups" on the Catalog Item Form.

After scrolling through hundreds of Related Lists, which are available for the "Group" [sys_user_group] table, I found the one, but with a completely different name. It was not named "Available for Groups", but instead it is named "Items orderable by group".

This describes the sense, but I cannot find where this name is defined.

find_real_file.png

I know that you can rename the Related List by "Configure > List Control", but there is no definition captured here:

find_real_file.png

I now searched for a while, but cannot identify, where this name comes from.

Can anyone show me how this name is set in the system (not how to RENAME, but WHERE the OOB name for this particular Related List can be found).

Thanks a lot for your help and research.

BR Dirk 

 

15 REPLIES 15

Hi @valarmathi.kannan@servicenow 

Thanks for getting back on this question.

Sorry, I did not see your answer before, as is appears before the answer of Harshvardhan and he answered first - hmm curious.

however... I see a chance to understand, about what you are writing. And it sounds like a plan...

Anyhow, I do not understand, if I can find the information somewhere in the system, or not?

I tried to look at the XML of the table dictionary, but it looks completely different to what you pasted as XML into your answer. Furthermore, I do not get, where you extracted that XML form?

When I open the XML of the dictionary for the "sc_cat_item_group_mtom" table, it looks like shown below:

 <xml>
<sys_dictionary>
<active>true</active>
<array>false</array>
<array_denormalized>false</array_denormalized>
<attributes>update_synch=true</attributes>
<audit>false</audit>
<calculation/>
<choice>0</choice>
<choice_field/>
<choice_table/>
<column_label/>
<comments/>
<create_roles/>
<default_value/>
<defaultsort/>
<delete_roles/>
<dependent/>
<dependent_on_field/>
<display>false</display>
<dynamic_creation>false</dynamic_creation>
<dynamic_creation_script/>
<dynamic_default_value/>
<dynamic_ref_qual/>
<element/>
<element_reference>false</element_reference>
<foreign_database/>
<function_definition/>
<function_field>false</function_field>
<internal_type display_value="Collection">collection</internal_type>
<mandatory>false</mandatory>
<max_length>40</max_length>
<name>sc_cat_item_group_mtom</name>
<next_element/>
<primary>false</primary>
<read_only>false</read_only>
<read_roles/>
<reference/>
<reference_cascade_rule/>
<reference_floats>false</reference_floats>
<reference_key/>
<reference_qual/>
<reference_qual_condition/>
<reference_type/>
<sizeclass>15</sizeclass>
<spell_check>false</spell_check>
<staged>false</staged>
<sys_class_name>sys_dictionary</sys_class_name>
<sys_created_by>system</sys_created_by>
<sys_created_on>2018-05-24 22:46:36</sys_created_on>
<sys_id>935d1d915d921300651727c3e282e8e4</sys_id>
<sys_mod_count>3</sys_mod_count>
<sys_name>sc_cat_item_group_mtom</sys_name>
<sys_package display_value="Service Catalog Platform" source="com.glideapp.servicecatalog.platform">805dd5915d921300651727c3e282e86c</sys_package>
<sys_policy/>
<sys_scope display_value="Global">global</sys_scope>
<sys_update_name>sys_dictionary_sc_cat_item_group_mtom_null</sys_update_name>
<sys_updated_by>system</sys_updated_by>
<sys_updated_on>2020-06-10 08:26:09</sys_updated_on>
<table_reference>false</table_reference>
<text_index>false</text_index>
<unique>false</unique>
<use_dependent_field>false</use_dependent_field>
<use_dynamic_default>false</use_dynamic_default>
<use_reference_qualifier>simple</use_reference_qualifier>
<virtual>false</virtual>
<widget/>
<write_roles/>
<xml_view>false</xml_view>
</sys_dictionary>
</xml>

This does not reflect your content at all.

Can you tell me, where you found the XML supplied, and if I can find it as well somewhere in my Instance?

Thanks a lot & BR

Dirk

 

 

 

Hi Dirk,

I couldn't see any information from the ServiceNow UI about where the label is retrieved from. I checked the ServiceNow codebase.

 

I took the XML from the 'sc_cat_item_group_mtom' dictionary table which exists as part of the code. Unfortunately, as mentioned already we couldn't get this information anywhere else in the system.

 

You could raise a request to ServiceNow to incorporate this fix as part of the PRB.

Hi

Thanks again for your quick response. 

If I get you right, you have access to some internal Code at ServiceNow, which holds this information, but it is not exposed to the pubic, right?

I am wondering, if

a) this is the only place inside of ServiceNow, where the Name of the Related List is so confusing in the slushbucket (I guess there may also be others) AND

b) nobody else came across this during the last 10 years.

Maybe someone just became happy, to have found the right and matching Related List.

To be honest, I had doubts several times before, about the names of Related Lists and to find them in the slushbucket (to add the to the Form).

Do you think, this may be some easy thing to add to the "public"? So that I (we) can also see the Label of the Related List in the Slushbucket (and even maybe can rename it)?

It seems to be an existing Dictionary entry, and if I got you right, the Dictionary Entry you supplied above is NOT reachable for me - and has some different XML Layout as well, right?

Just let me know. Meanwhile, I try to raise an HI Ticket via my company - if the accecpt.

Thanks a lot again &

BR

Dirk

Hi Dirk,

 

I guess it would be a simple fix. I am not sure if someone had faced the same issue in the past. i couldn't see the details of that label in sys_dictionary as well. 

 

Let's wait the reply for the ticket raised.

Harsh Vardhan
Giga Patron

I doubt here you will find the name , i am not sure about the reason why its not visible in system. but plenty of other related list i had seen in past which i did not find the name.  

 

https://<instance ID>.service-now.com/sys_ui_related_list_entry.do?sys_id=da4c69b12f19dc10f68d5ff62799b6d9&sysparm_view=&sysparm_record_target=sys_ui_related_list_entry&sysparm_record_row=1&sysparm_record_list=related_listSTARTSWITHsc_cat_item_group_mtom.sc_avail_group&sysparm_record_rows=1

 

i would suggest you to open HI Ticket for this for further details about this  related list name visibility .