Hello meforMendix meforMendix,
Likewise the error is stating it is not possible to add the out of the box search function to a datagrid with a datasource microflow.
First thing to consider is if you can change the datasource of your microflow to xpath/database, normally this should be possible, can you maybe explain your use case and explain what you filter exactly in the flow.
If this does not fit, and you would still like to use a filter you can think about creating a non persistant entity that you show on the same page where you put in your conditions and then by the click on a button you relaunch your microflow and apply the conditions.
Hope this helps,
Good luck!
The screenshot of the microflow for the Data Grid is
I want to get the list of entity DropInVisit in MyFirstModule with
[yonghuxingming = $currentUser/Name], where yonghuxingming is an attribute of DropInVisit.
Once I used XPath for the Data source of the Data Grid, but an error occurred, the screenshot is
Unknown variable of ‘currentUser’.
And I do not know how to solve this problem now.
Thanks a lot in advance.
Thanks for your information:
You can add a parameter to your page:
And after you can use this parameter in your xpath:
hope this helps;
Good luck!
Thank you for your reply.
But I am using Mendix Studio Pro 8.12.4,
I cannot find the ‘Parameters’ button in the top bar, the screenshot is
And I do not know how to solve this problem now.
Thanks a lot in advance.