To retrieve the current page number dynamically, you would use the merge tag:$filter.currentpage$This merge tag will access and display the current page number in the interface.