Question

Is it possible to manipulate "Choose New Status" dialog value based on some value of the task?

  • 26 July 2023
  • 7 replies
  • 29 views

Badge +2

Is it possible to control the possible value displayed in “Choose New Status” dialog based on the value of some task’s field?

E.g., Show “Accepted” when the Plan Start of task is empty and “Booked” when Plan Start field is populated.

 

Thanks and best regards,

Beng Suang

 

  


7 replies

Userlevel 6
Badge +26

Hey @cclooklook 

You can achieve this with a custom screen.

Create a new screen and add 2 fields - ‘Current Status’ & ‘Next Status’

Then populate the ‘Next Status’ field according to your logic with a client script.

 

Unfortenatly, the button on the quick action bar is not configurable.

Cheers!

Userlevel 4
Badge +12

Hi @cclooklook ,

As @Shneor Cheshin  mentioned, the quicklink bar is not configurable with scripting logics. You will require a simple code level modification to achieve this requirement on the mobile. You can request this change from IFS if it is mandatory.

Badge +2

Thanks @SAMLK & @Shneor Cheshin.

 

@Shneor Cheshin, are you able to point me to the class to change in Android Mobile?

Thanks.

 

 

Userlevel 6
Badge +26

Hey @cclooklook 

No calss.

Configurations only.

Custom screen and client script. No need to overrode product code in any way

Cheers!

Badge +2

Hi @SAMLK , to achieve at the code level, which Java class to modify for Mobile App?

Userlevel 4
Badge +12

Hi @SAMLK , to achieve at the code level, which Java class to modify for Mobile App?

The class is MetrixQuickLinkBar.java under the architecture ui

Badge +2

Thanks @SAMLK  & @Shneor Cheshin !!

Reply