widget using adobe bracket

0
Hi All, I'm working on a widget using adobe brackets.i want to call a microflow from adobe bracket so as to perform some java action through the microflow on submit to perform some action. can any one suggest me how to achieve this in adobe bracket.
asked
3 answers
0

You should take a look at the client documentation (available on https://apidocs.mendix.com). To execute a microflow from a widget, use mx.data.action() (see here).

answered
0

This is also covered in the MobileSlider widget tutorial https://world.mendix.com/display/howto6/The+Mobile+Slider+Custom+Widget

answered
0

mx.ui.action is prefered above mx.data.action as will set the origin and allows you to use the progress indicator

https://apidocs.mendix.com/6/client/mx.ui.html

mx.ui.action("MyFirstModule.PetCat",{
    progress: "modal", 
    params: {
       applyto: "selection",
       guids: [ this.contextObject.getGuid() ]
    }
});

 

answered