The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Is there a way to show old more information text in SCTASK and RITM

Ajay Singh2
Tera Contributor

Hello All,

 

Is there a way to show old more information text in SCTASK and RITM and hide for new more information for same variable.

 

 

Thank You!!

6 REPLIES 6

Uncle Rob
Kilo Patron

Unclear what you mean here.
Is there a variable on a Catalog Item called "more information"?   Are you asking to retrieve older values in that variable after it has changed?

Hi Rob,

Yes there is a variable action on selection of action dropdown option is there with Create New and Modify. So what my requirement is when i select Create New a new variabble is visible with abc and this variable is having More Information text. which is visible on Create new but I need to hide that variable when action is Modify than that More Information text should hide. How to achieve this with Client script. So it should not affect old data.

 

Thank You!!

SrilakshmiKH
Tera Contributor

@Ajay Singh2 yes u can use on change client scripts for ur requirement by adding info message u can retrive the old value and new values as well

Hello SrilakshmiKH,

 

I have tried with client script but issue is on both selection means when Action = Create New or Modify same variable is visible with More Information text which is already in help_text field. If I hide with client script it will hide the Historical data also. Can you tell how to do that if its possible.

 

function onChange(control, oldValue, newValue, isLoading) {

   if (isLoading) return;

 

  var action = g_form.getValue('action');

  var helptextfield = 'show_help';

    if (action == 'Create New') {

        alert('create');

        g_form.setDisplay(helptextfield, true);

    }

   

    else if(action == 'Modify') {

        alert('test');

        g_form.setDisplay(helptextfield, false);

    }

 

}

 

Thank You!!