How to use Parameters at XPath constraint

When I set Data Grid’s Data source with XPath. how to use this Parameters 
2 answers

Add a dataview around the datagrid which contains the page parameter, so set the dataview to context and then choose the CurrentFactory entity. Then in the datagrid xpath end with {%CurrentObject%}. You also have to update the path however because you can only link directly to the object and not use the ID of it. So thats abit tricky.


Note that when working with datagrid 2 or the gallery widget (so the newer data widgets), you can use input parameters much more easily, even higher parents on the page. And then you can use the object’s attributes aswell so using the datagrid 2 here would solve you problem completely


Hello there,


We cannot use input parameter in xpath as Datasource. Instead we can use it in microflow.