How to get records that are created in last 14 days from an entity using list view through xpath as data source.

0
I want to show notifications in a page that are arrived from last 14 days using list view . Here I am using list view with Xpath as datasource for the page I can’t use microflow as datasource which s effecting other existing functionality. How can I achieve it using Xpath with list view.
asked
1 answers
2

Prasanthi,

if you have the entity configured to keep track of system member createdDate, like this:

you can use the following XPath in your listview to get all records created in the last 14 days.

[createdDate < '[%CurrentDateTime%] - 14 * [%DayLength%]']

Hope that helps,

Mike

answered