Create new UI action in form context for incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 04:36 AM
I need to create new ui action in form context menu "create incident task" and it should be exactly working as click on new in related list for Incident task. I am not being able to find the code written for NEW button in incident task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 04:45 AM
There is already out of the box ui action Contex menu to create incident task
check it with name-Create Incident Task
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 04:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 04:50 AM - edited 03-29-2023 04:52 AM
You would have to do the following.
- Go to System UI > UI Actions
- Search for the UI action of New with the table of Global (Please don't modify the same button it will reflect all the places on the instance).
- You will get the appropriate table, copy the code from the button mentioned below:
4) Create a new button, choose the table "incident_task" and paste the code there and please check the "list context menu"/"form context menu" as true according to your requirement.
Please find the link here for more info HERE
Please accept the solution if it works 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 04:55 AM - edited 03-29-2023 05:09 AM
@Prince Arora There is no table as incident_task. We are creating the tasks inside table "task"