How to add button in Embedded lists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2024 11:37 PM - edited 07-14-2024 12:46 AM
Hi All,
I just want to know that can we add button on
Embedded lists
each records. I want to add approve button on that records. kindly let me know how to add this.
Thanks & Regards
KP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2024 11:41 PM
Hi there,
What table exactly? Or are you talking about a custom table? Are you actually using approvals on that table, or is it more like just having a UI Action that changes the state of the record?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 12:04 AM
Hi Mark,
Sorry it's my mistake that's not table that is Embedded Lists, Can I add button on that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2024 08:44 AM
Nobody can seem to answer this question. I don't want a related list. I want an embedded list and I want to have UI action button to do WHATEVER I want the button to do. Is adding a button to an embedded list impossible? Does anyone know?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2024 03:35 AM
Yes, definitely possible:
You need a column of type "UI Action List":
You might have to change the reference qualifier on sys_dictionary.internal_type though (I think UI Action List is not supported OOTB), e.g. clear the ref qual completely.
Afterwards you need to set the value of this (in my case "action") field to a list of comma-separated UI Action SysIDs, e.g. with a Business Rule.
If you want a client UI Action note that there is a variable available in the client script which you can use to identify the SysID of the row that was clicked: 'rowSysId'