Custom Dashboard listing content v14
# help-with-umbraco
b
Hi, I'm trying to create a custom dashboard. I've added it, and it displays and welcomes the user. Awesome stuff. Now, I want to list some of the content. However, I'm struggling to figure out how to get the data. I can import a MediaService, but I can't find a ContentService. Could you point me in the right direction?
I just looked through some custom dashboards on the Umbraco marketplace. I see that they have created their own endpoints for retrieving data and displaying it. Would this be the right way to go?
j
Depends what content. In general, you should be able to find a repository for umbraco content, e.g. documents could be listed through the
UmbDocumentTreeRepository
import from
@umbraco-cms/backoffice/document
b
Thanks, I will take a look into that. My first mission is to list the last 10 edited documents
j
You would probably need your own API endpoint to get that
b
@Jacob Overgaard tak tak
5 Views