Skip to main content
Nintex Community Menu Bar

K2 Custom Control Property not updating from script file

  • Nov 15, 2022 12:29 PM UTC
  • 4 replies
  • 68 views
  • Translate All

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
  • Nov 23, 2022 6:59 PM UTC
Are you first clearing out the old value?
Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • Nov 24, 2022 5:32 AM UTC

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,

Translate

Frankie
Forum|alt.badge.img+7
  • Rookie
  • Nov 30, 2022 3:21 AM UTC
Try setting the property to blank (to clear the old value) before setting the new value.
Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • Nov 30, 2022 5:36 AM UTC

Hi,

i clear the values. but still not working.

Regards,

Translate