Skip to main content
17-Peridot
August 17, 2019
Question

Question about the global parameter of the Collection

  • August 17, 2019
  • 1 reply
  • 757 views

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

22-Sapphire I
August 19, 2019

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.