Pluggable widget - is there a possibility to use mendix/lib/MxObject

0
I;m working on pluggable widget in mendix and I would like to ask is it possible to use below API in react pluggable widget app? And if it is possible, how to do that? https://apidocs.rnd.mendix.com/9/client/mendix_lib_MxObject.html
asked
3 answers
1

Hi Dariusz,

 

The client api you referred to is for use in JS actions/JS snippets, for pluggable widgets refer to The pluggable widget api

 

If you let us know what you're trying to achieve, we might be able to point you in the right direction

answered
1

Hi Darius,

 

You might have to implement ListActionValue API

You can define an action with a datasource that can be executed in this way.

 

I don't know anything about your usecase but have you considered using a JS action instead?

 

Anyways,

Good luck!

 

 

answered
1

Even though the answer is already accepted; it IS possible to load the client API inside a Pluggable widget. There are use cases for widgets where this is needed as I needed to do this in the past several times as well. 
 

Why do you think you need the client API?

answered