Posted: 8 Aug 2020 9:47 EDT Last activity: 9 Aug 2020 12:22 EDT
Display a Pagelist in descending order
Is there a way to display a PageList (that forms the UI of a Repeating Dynamic Layout) in descending order? Ascending Order seems to be the default behavior.
When I display the above section in a DL TAB, the First TAB is the Pagelist 1, the Second TAB is PageList 2 and so on.
I want to Display in the First TAB PageList Size, in the Second TAB I need to Pagelist Size-1, in the Third TAB I need to display Pagelist Size-2, and so on. (The UpdateIDNum property essentially displays the Last or Latest Update)
You can sort the elements the page list elements in descending order with the property using the sort functionality in the DataTransform. Create a property which has the page index and sort with that property in descending order. PFB screen-shot for reference.
Thanks for your answer. There is no OOTB UI control that controls the ascending or descending order of a Pagelist display and the Pagelist has to be 'prepared' in some way to be displayed in the UI.
I tried using the 'Sort' on my Pagelist (without the pxResults) which is a deeply embedded pagelist.
The DT saved and I am sorting on the ' UpdateIDNum ' but is giving me a FUA error at run time. I need to sort on the AutomatedSummaryBudget Pagelist 'index' and not on any of the properties on the AutomatedSummaryBudget Page itself.
Can you please share the syntax looking at my clipboard below.