Hide UI Action "Propose Solution" in Case Type

Giuseppe Mastro
Tera Contributor

HI All

 

I have defined a new Case Type in CSM module. For this Case Type I need to disable the UI Action "Propose Solution".  As suggest in Guided Setup I try to add the script include call in the UI action condition for this. 

But Condition lenght is 254 char and when I add condition the total the length is greater.

 

How I can solve this?

 

Regards

 

 

6 REPLIES 6

Sruthi17
Mega Sage

Hi @Giuseppe Mastro ,

 


If the condition length exceeds 254, 

then try merge the existing conditional check into your custom script include method

 

Example:

Existing condition is: 

Sruthi17_0-1753281153992.png

Ideally you have to add your new conditional check to this like below:

Sruthi17_1-1753281255647.png

But because in your case its already exceeding 254, you can add the existing conditional checks in your new script include method and just call the new script include method here

Sruthi17_2-1753281436740.png


Please make correct or helpful if it has helped you 🙂 

 

Markus Kraus
Kilo Sage

The answers so far in this post are mind-boggling. Either you should disable the whole UI Action (wtf!), customize the condition or use domain separation functionality.

The best practice for "hiding" a UI Action inherited from the parent table is of course without laying hands on the parent table's UI Action.

Simply create a new UI Action with the same action name, and then have a more restrictive condition:

  • Table: "your case table"
  • Action name: "proposeSolution"
  • Active: true (check)
  • Show insert/update: true (check)
  • Form Button: true (check)
  • Condition: false
  • Workspace Form Button: true (check)
  • Format for Configurable Workspace: true (check)
  • MarkusKraus_0-1759217059562.png