Skip to main content
1-Visitor
October 19, 2018
Solved

Opening a mashup with a button

  • October 19, 2018
  • 3 replies
  • 2695 views

Is there any way to open a mashup by using a button widget instead of a navigation widget?

The reason why I want to do this is because I want a service to be executed when the user clicks on the widget, but the navigation widget does not have a Clicked event.

 

Thank you!

Best answer by CarlesColl

That's the right direction, but you don't need a validation widget.

 

Hidde the Navigation widget, just add a button which on click calls the desired service, and bind the desired service ServiceInvokeComplete to the Navigation Widget and  you are done.

3 replies

20-Turquoise
October 22, 2018

Let me try a few things and get back to this thread once I have anything.

1-Visitor
October 23, 2018

You could use a button & validator widget & a navigation widget. The validator is fired by your service invoke completed event. The validator would always return true & the 'true event could be used to fire the navigate on a navigation widget (which you could make invisible).

i.e.

Button clicked --> YourService -->ServiceInvokeCompleted-->Evaluate Validator-->true-->Navigation Widget (navigate).

 

1-Visitor
October 23, 2018

That's the right direction, but you don't need a validation widget.

 

Hidde the Navigation widget, just add a button which on click calls the desired service, and bind the desired service ServiceInvokeComplete to the Navigation Widget and  you are done.