Domain model and Datalist
As i understood you need to filter your list based on the Seat , there are several ways for that but here is one :
- Make an outer dataview “Task” either as page parameter or from Microflow > just create new object from Task.
- Inside it put a reference selector for the “Seat”.
- Make an inner dataview “Seat” by association with the outer one “Task”.
- Put your list in the inner datavew , use xpath or Microflow as your Datasource , for xpath
[MyFirstModule.Task_Seat = '[%CurrentObject%]']
But if you want to display all the Tasks initially on load , use a Microflow and check the passed object to it .
Hope this is helpful.
Regards,
Sufian.
Screen shots as per my response
Hi Sufian,
Thanks for your help with this. I’m not getting it to work but will try again tomorrow. The XPath is the problem as it doesn’t recognise the constraint and when I save the final list view, it remains as an unknown source. Please see attached image ...