Dynamic help text for list records page

Hello, who knows how to make unique info text (card) above the table in ListRecords. For example, i want to add some information for my client. In my opinion, making widgets for each list record is overwhelming. Maybe anybody knows how to easily make it? Unfortunately, on my screenshot - it is a card from my newly created widget. Will be better if i could create a universal widget and pass data from different resources dynamically, but i did not figure out how to do this
4 Replies
Dan Harrin
Dan Harrin2y ago
what about it is overwhelming? we generate the files for you and put them in the right place, you bring the html
Vladyslav
VladyslavOP2y ago
overwhelming - i mean that i should create a new widget for each list record page and fill them with the right data. Maybe the problem for me - is that impossible to pass data to the widget directly from a specific resource. For example, I want to create InfoWidget that will be reusable for ten resources. I want just to pass data to widget from specific resources and avoid creating ten widgets for each resource Maybe it's some kind of nonsense on my part. Maybe there is already something similar and I just can’t find it in the documentation. The main idea - is to describe resource for client/admin. I will accept any tips with pleasure I hope my English will be understandable for you😇
Dan Harrin
Dan Harrin2y ago
you can create a base widget class that you then extend across all the widgets so you dont need to duplicate class code or views but i struggle to see how we could make this easier
Vladyslav
VladyslavOP2y ago
i think that the base widget don't need for me. StatsOverviewWidget will be enough for me to use as base widget. But thanks for your answer anyway🙂

Did you find this page helpful?