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 05:15 AM
Okay, I am assuming the table is in the related list of some table let say "xyz"
Can you try with the above mentioned steps and choose the table as "ticket", I have not tested this but you can give it a try!
OR
if we are comparing with the incident task "New" button it will open a new empty record to fill the details, you can achieve the same functionality by below the following steps:
1) Create a new Server side UI action
2) Mention the code as below:
action.setRedirectURL("/ticket.do?sys_id=-1");