The CreatorCon Call for Content is officially open! Get started here.

Related List, when placed in a Tabbed Section, is missing some features

cc11
Tera Contributor

I have two screenshots below.

In screenshot 1, the related lists 'Attachments' & 'Escalations' 'were simply added to the form's view (not in any section). It displays 'New' button & also the count of number of records & some other useful List features.

In screenshot 2, I created two sections on the form- 'Attachments' and 'Escalations' - in order to place the respective related lists on them.

I placed the same related lists on their respective section, (Tabbed or non-Tabbed layout, that wont matter).

Now, it wont display the 'New' button nor the count and other list features.

Anybody knows what I am missing and how to achieve that?

screenshot 1:

find_real_file.png

screenshot 2:

find_real_file.png

You may ask why I am doing it this way - Because, if you see screenshot 2, I have an additional Tab( or section) called 'General'. There I am placing all form fields. And I need other related Lists to be displayed adjacent to my General tab.

Any help would be appreciated,

Thank you,

Yogesh

Message was edited by: yogesh deshpande

1 ACCEPTED SOLUTION

antin_s
ServiceNow Employee
ServiceNow Employee

Hi Yogesh,



This is what I explained above. Please check my   2nd reply.



"Other option is to create a UI Formatter and add the formatter to the section. Example is 'Table's' Embedded list as shown below. It has 'New' and 'Search' options."



This comes from the the Formatter 'table_col_embedded'   - https://instancename.service-now.com/sys_ui_formatter.do?sys_id=5a2795d4bf7030001875647fcf0739d7&sys...



Thanks


Antin


View solution in original post

32 REPLIES 32

related list can't be available under the section. it will always appear below the form. and if you create new record and until you will not save the form it won't be visible on form.


but in embedded list it will be available in both scenario. and you can add embedded list in section.


if i am not wrong in your screenshot 2 you have added it through form layout.


still you have question feel free to ask.


Thanks Harsh Vardhan,



That was very helpful. Yes, you are right, I added the lists on the form section from the Layout.


I have just one question along the lines of embedded lists in your response.



Did you mean, if I created Embedded List objects (if such a thing was possible), and used them on my form's section, I would be able to view/create/update the records similar to a Related List? That would be awesome!



Thank you,


Yogesh


if it's related list or embedded list both are handle through the relationship.


system definition > Relationship> search for Attachments



a big YES . you can delete,view and update like we do in related list but the major difference is UI. in related list you will see New button and if you want to delete and then you need to select the check box and then delete. but in embedded list it's quite different.                



i usually don't play with embedded list .


Thanks Harsh Vardhan,



I will try Embedded List to see if it fits to my requirement.


So, in conclusion, we could say that the List object (any List object for that matter), wont give us its full features when placed in a form's section as a 'Related List' would, when 'not' placed on a form's section.


Hope that makes a sense.



I will mark your response as correct and also thank Auntin for his contribution.



Regards,


Yogesh