Skip to main content
1-Visitor
March 2, 2014
Question

Checkbox changed event to fire navigate service

  • March 2, 2014
  • 3 replies
  • 1319 views

I have a service set up in a mashup that returns a true or false value. I have that result tied to a checkbox widget. I have the checkbox changed event tied to a navigation widget navigate service. When the original service in the mashup runs, it changes the checkbox value from a default of false to true, however the navigation widget does not initiate its navigate service. If I manually click the checkbox, the navigation widgets navigate service will fire.


Any help would be appreciated.



    3 replies

    1-Visitor
    March 2, 2014

    Hi Michael, what you can do is to use the Service Invoke Completed to fire the Navigation Widget as well.

    If it should only fire on a True or False from the Service, then you can wire it through a Validation Widget.

    1-Visitor
    March 2, 2014

    Pai,


    Thank you for the quick response. Is there a way I can have the expression field for the validator check the value of a returned selected row from a service and if it equals a certain value, return true? Not sure exactly how I could reference service results within the expression field of the validator.



    1-Visitor
    March 2, 2014

    Pai,

    Thanks for the direction.


    I was able to figure it out. Added the parameter for the true/false value from the service to be brought into the validator. Then simply set the validator expression to "Output = Navigate_Boolean" and have the true event set to the navigation widgets navigate event.