How to perform delete records in list component in ui builder(workspace)

roconmachine
Tera Contributor

I have a list component in a page. Now i am looking for deleting a record from the list component. 

for more info list component showing relationship data from cmdb_rel_ci table. 

 

how to perform delete operation ? 

 

Thanks in advance. 

1 ACCEPTED SOLUTION

Tai Vu
Kilo Patron
Kilo Patron

Hi @roconmachine 

Give a try by defining a new action in the Action Assignment [sys_declarative_action_assignment] table.

Sample below:

TaiVu_0-1696409505760.png


Result:

TaiVu_1-1696409562559.png

 

 

Let me know if it works for you!

 

 

Cheers,

Tai Vu

View solution in original post

3 REPLIES 3

Tai Vu
Kilo Patron
Kilo Patron

Hi @roconmachine 

Give a try by defining a new action in the Action Assignment [sys_declarative_action_assignment] table.

Sample below:

TaiVu_0-1696409505760.png


Result:

TaiVu_1-1696409562559.png

 

 

Let me know if it works for you!

 

 

Cheers,

Tai Vu

roconmachine
Tera Contributor

@Tai Vu how did you get this delete button in the list header section? 

Thank you very much for the response, Tai Vu.

Since this topic often appears in searches related to this issue, I'd like to take the opportunity to answer roconmachine's question:
The path to access the [sys_declarative_action_assignment] table and create the action is:
Workspace Experience → Actions & Components → List Actions.