tieniber / ClickableContainer

A Mendix widget that can make any container clickable. Place it in a container and set the microflow, URL, or page you want to use.
Apache License 2.0
0 stars 3 forks source link

ClickableContainerContext calling microflow with multiple parameters not working #6

Open michel-jump opened 5 years ago

michel-jump commented 5 years ago

Using widget ClickableContainerContext. When calling a microflow with multiple parameters, results in an error. Same microflow works perfect in combination with a button. 2019-01-23 13_06_27-orderpicker main line - mendix modeler 7 22 2

Microflow needs 3 parameters. Container is placed in a dataview. Button is in same dataview with microflow works.

Can you help me with this?

tieniber commented 5 years ago

Possibly. There’s a new client api call that I’d need to make this work, but I don’t know if it’s a beta feature or GA yet. Will check today. Either way, you should expect to need to be on a recent version of Mendix (probably 7.19+)

michel-jump commented 5 years ago

Thanks for your response! It would be awesome if you can add that to the widget! I am currently on 7.22.2, so that won't be an issue.

tieniber commented 5 years ago

I looked into this. Unfortunately the functionality I need to make this widget have options just like a button is not available yet.

Can you get around this need by retrieving the other objects in your microflow using associations?

If not, you could consider wrapping this widget in a microflow-sourced data view that creates a non-persistable object with associations to each of the 3 objects you need.

tieniber commented 5 years ago

I'll keep this open as a reminder to update the widget when this functionality does become available.

michel-jump commented 5 years ago

Thank you for looking into this. I will work around it for now!