The CreatorCon Call for Content is officially open! Get started here.

Create new UI action in form context for incident

geogeorge
Tera Expert

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.

5 REPLIES 5

@geogeorge ,

 

 

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");