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

how to get the LIST ID in embedded list?

Yuri Yoshinami
Tera Contributor

Could you tell me how to fetch the list ID in embedded list?

I'm working on getting the row length in the embedded related list before submitting the button. and what I found is I need the list ID as followings. I guess "change_request.change_task.change_request"  is the list ID in below.

 

    var list = GlideList2.getByName('change_request.change_task.change_request'),

https://community.servicenow.com/community?id=community_question&sys_id=bc200361db98dbc01dcaf3231f961971

I have looked through the post @Subhadip Samanta below and tried inspecting in my browser but only to found that in the current version there is no specific data-list id and it seems changing in every record.

 

https://community.servicenow.com/community?id=community_question&sys_id=b6f7c865db80b41014d6fb243996196d

find_real_file.png

0 REPLIES 0