Skip to main content
Nintex Community Menu Bar

K2 Custom Control Property not updating from script file

  • November 15, 2022
  • 4 replies
  • 36 views

Forum|alt.badge.img+2

Might be I am missing very small thing. But scenario is not working.

 

Below highlighted is the custom control. With Category Display

27136iA25C654072A24094.png

 

 

I dragged two controls on item view as below.

27138i8FF7D4A3F4086C8D.png

 

 

What I want to achieve is.

On button click rule. I am setting custom control properties and just displaying values in message box.

 

27137i254BAEC09517E4B1.png

 

27139iABCB22F04128E438.png

 

 

In the message box, its displaying old value not the new one.

 

script files also attached if anyone can help please.

4 replies

Frankie
Forum|alt.badge.img+7
  • Rookie
  • November 23, 2022
Are you first clearing out the old value?

Forum|alt.badge.img+2
  • Author
  • Rookie
  • November 24, 2022

Hi,

thanks for your response.

first i am setting properties of the custom control in a rule (using set property).

then i am displaying that property in message box. but its showing old value. its not showing the value which i am assigning from set property rule.

Regards,


Frankie
Forum|alt.badge.img+7
  • Rookie
  • November 30, 2022
Try setting the property to blank (to clear the old value) before setting the new value.

Forum|alt.badge.img+2
  • Author
  • Rookie
  • November 30, 2022

Hi,

i clear the values. but still not working.

Regards,