cancel
Showing results for 
Search instead for 
Did you mean: 

Alert messages in Screen Personas 3.0

damy_vidal
Participant
0 Kudos

Hi Experts

I can guide them appreciate, I designed flavors for NWP1 transaction, presently need to find out if it is possible to improve the warning messages that have been placed according to customer processes.

I'm working with Screen Personas 3.0 with SP02.

Alerts come with this design.

Thanks

Cheers!.

Damy Vidal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Damy,

As Tamas already mentioned, you can use the "session.utils.showOptionDialog()" functionality.

Underneath you can find an example:

session.utils.showOptionDialog("Confirmation", "Are you sure you want to proceed?", session.utils.MESSAGE_TYPE_QUESTION, session.utils.MESSAGE_OPTION_YESNO , onOptionDialogClose, "1");

function onOptionDialogClose(dec, id){

  if(id === '1'){

  var decision = "The decision was: " + dec;

  session.utils.showOptionDialog("Decision", decision.toString(), session.utils.MESSAGE_TYPE_INFORMATION, session.utils.MESSAGE_OPTION_OK, onOptionDialogClose, "2");

  }

}

This will result in the following outputs:

In case of "Yes":

In case of "No":

Kind regards,

Niels De Greef

damy_vidal
Participant
0 Kudos

Thank you very much.

problem solved with session.utils.showOptionDialog().

Regards

Damy Vidal

Answers (1)

Answers (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos