Xpath constraint

0
Hi all, a beginner on Mendix here. Just wondering how do i get my listview to only display the most recent entry? My listview is linked to an entity users which contains the attributes userid and CaseNumber. I need my list to only display the most recently entered entry for users.  Sorry if I am asking a dumb question but any help would be really appreciated!
asked
1 answers
3

Hi,

You could do this with a number of possibilities. One of the easiest is by sorting(ascending) the listview to 'createddate' of your user. By setting the page size of the listview you can control how many users there are initialy shown in the listview.

Other options you have is constraining the listview with xpath. You could also use the 'createddate' here.

answered