cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Question about the global parameter of the Collection

seanccc
17-Peridot

Question about the global parameter of the Collection

Hi, 

It seems that the global parameter only works after the page get rendered , otherwise the value is always undefined,  is it true ? 

 

For example,  if you have text box and bind it to a global parameter and bind the <ParamterName>Changed event to a service in the inner mashup,  then you change the text box after the page get loaded , you'll see the global parameter get assigned in the inner mashup . so it works.  

But,  if you put some initial value to the text box and expect the initial value can be passed as global parameter, then whatever event you bind in the inner mashup(including the expression with auto evaluate),  the global parameter in the inner mashup is ALWAYS undefined.  

 

Regards,

Sean

1 REPLY 1
PaiChung
22-Sapphire I
(To:seanccc)

It sounds like the system isn't taking the 'default' value as defined in the Widget Properties.

Not sure what the actual behavior should be, but as a work around, you can put that value into a Textbox (invisible) and bind that to the Widget.

And whatever service brings back the next values bind to that textbox.

Top Tags