Execute mendix client API

0
---- Hi, I have below mendix client API query to fetch user deails. Can I know how can I execut this (or similar queries) via browser ? mx.data.get({     xpath: "//System.User",     filter:{         sort:[["Name","asc"]],         offset:0,         amount:100      },      callback:function(objs){       o=objs;     }       });   Regards, iqbal.
asked
1 answers
1

Hi,

 

Thanks for asking your question on the forum. To help you best, it would be nice if you can share some more details.

 

Are you trying to use the Mendix API from a Mendix application? In that case, it is always preferred to use as much Mendix logic as possible. Potentially, you can achieve your goal by using a regular retrieve, a nanoflow, or potentially a JS action.

 

If you are trying to use this from a non-Mendix app, I would suggest to setup a REST interface. This will give you more control regarding access and exposed data.

 

Looking forward to your additional details. Hopefully this helps already.

answered