How to create a button on related list of a form

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2023 09:02 AM
I need to create a button in related list of a form. Please provide me solution on this.
Thanks & Regards
Utsav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2023 09:49 AM
Hi UTSAV
By using UI Action you can create a button on any table under a related list.
For example: Here is the incident table and under the related list -> outage -> Create a new button : As shown in below image.
Solution:
On the left navigation search bar Search for ->
UI Action -> under Table Filter Incident table -> under Name filter NEW -> Open "Related Lists for Incidents" as comments.
you can able to see how the "New" button is added please take this as a reference and change the label name as per your requirement and its functionality.
Thanks you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2023 11:18 AM
Hi @Utsav JAISWAL ,
Usually in the majority of the tables, we will see either new or edit buttons in a related List.
We can simply enable and disable these buttons by right-clicking on the related list field and selecting List Control.
If omit new check box is selected then it will not show the New button same for the new check box as well.
If you are looking for some other button in the native UI then please provide more details.
Please mark my solution as helpful, if it helps you!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2023 02:50 PM
Hi @Utsav JAISWAL ,
You can create a UI action and select the 'list banner button' checkbox, if you want this button to be visible only in related lists, then you need to add this condition in the UI action.
RP.isRelatedList()
If it is a many to many related list then you can use RP.isManyToMany() along with the above condition and if it is one to many, you can use RP.isOneToMany()
Ex. I created a UI action 'Remove All' on the 'task_sla' table with this condition
Related List of incident:
Task SLA table list view:
If my answer has helped with your question, please mark this as helpful and accepted solution
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2023 03:53 PM
Hello @Utsav JAISWAL ,
What kind of action do you want to create? Do you want to add customized action OR just bring in the OOB actions ? if later then it is already explained by the members here.
Regards
Nilanjan