How do I pass a input string from UI to a parameterized query to my database
Hi, I’m fairly new to Mendix. I’m trying to pass a input string from UI and pass it to parameterized query to my mssql query using a microflow. But I struggle to find any documentation on the same on how to pass user input to microflow. can anyone throw some light or pointers to documentation would be appreciated.
Hi Khaleelur Rahman
Create a NPE (non-persistent entity) with one attribute in domain model
Create a page add a data view and select data source as Microflow.
Create a Microflow in that create a object for you NPE and return it.
Inside the data view add a input box, in submit button call a microflow.
so you can get the NPE as parameter form that object you can get input value, add the query action in your microflow.
Create a (non-)persistent entity in your domain model with a string attribute.
Create a page with a dataview with your entity as the source.
Create a microflow button and for a new microflow
Create a microflow with your entity as parameter and attach to your button