Hi! I have two collections: messages (tenant scoped) and a global-messages.
I’d like to create a custom admin view that displays two list views on the same page—one for each.
The important part is that I want to use the full native Payload list view functionality for both tables (create/delete, search, sorting, pagination, bulk actions, filters, etc.), just like in the default collection list view.
Ideally, I want to avoid rebuilding the list view from scratch and reuse the default list view components if possible.
Is there any supported way to embed or reuse the default Payload list view (or its internal table components) inside a custom admin page?
Or is recreating the list views manually the only option?
Thanks!
#Creating custom collections
3 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Community-Help:
Hey @meager yacht interesting idea, but unfortunately there is not a solution to this out of the box
you could use a custom view at the collection level and call renderListView to get a fully-functional list, but the two list views would have independent states and that would be pretty messy