We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

UI action 'New' on incident

MukeshRK
Kilo Contributor

How can I hide the "New" UI Action on a related list based on the parent record's state?

On the Incident form, we have a related list showing Child Incidents. This related list includes a "New" UI Action (button). I want to hide this "New" button whenever the parent Incident is in the On Hold state. What's the best way to achieve this?

1 ACCEPTED SOLUTION

RaghavendraGund
Tera Contributor

Hello Mukesh 

There is something called LIST control, you script in there as per requirement
Step 1:  Go to Application Navigator(Type in sys_ui_list_control.LIST  refer screenshot 1)or you got List Control on the incident form itself.
Step2: enter the script in the omit new condition and save.

Please Mark Helpful if it helps you!!

View solution in original post

5 REPLIES 5

Aditya_hublikar
Giga Sage

Hello @MukeshRK ,

 

Try @Sarthak Kashyap  approach it will help you .

 

If this helps you then mark it as helpful and accept as solution.

Regards,

Aditya