cancel
Showing results for 
Search instead for 
Did you mean: 

Personas 3: Change borderColor with own F4-Input Field

Thomas_Mangler
Active Participant
0 Kudos

Hello Experts,

after Upgrade from Personas SP01 to SP02 it's not longer possible to change the border color of an user defined F4 input field.

In my Script i want to give the user a messagebox and a red border color if there is an invalid manual input.

This code works with SP01:

session.findById("wnd[0]/usr/ctxtPersonas_1467186939923").setProperty("borderColor", "

In SP02 i get this script error:

"setProperty(): The property name 'borderColor' is invalid for a 'GuiCTextField' control. -  sap.personas.scripting"

Master Note 2222774 is implemented (Kernel 742, PL 300).

Regards,

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

floriansauerland
Explorer
0 Kudos

Hello,

in SP03 works:

session.findById("wnd[0]/usr/btnPersonas_146461413335460").setProperty("backgroundColor", "rgba(0,116,4,1)")

Regards

Florian

Thomas_Mangler
Active Participant
0 Kudos

Hello Florian,

thanks, i think its an issue of SP02.

I get the following message from the Chrome debugger:


"Error during script execution:

setProperty(): The property name 'backgroundColor' is invalid for a 'GuiCTextField' control. -  sap.personas.scripting"

Regards,

Thomas

Answers (0)