cancel
Showing results for 
Search instead for 
Did you mean: 

Tryng to build a custom ui element , which will display the rest api results in data table or data-list . Are there any examples to use nuxeo-resource(how to fetch api) and display same in results to display in data table

Phani_Pawar
Champ in-the-making
Champ in-the-making
2 REPLIES 2

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

You should have a look to the sources of https://github.com/nuxeo/nuxeo-web-ui. In particular, you can read how search forms and search results are built here: https://github.com/nuxeo/nuxeo-web-ui/tree/master/elements/search and have an exemple on how we display children documents https://github.com/nuxeo/nuxeo-web-ui/blob/10.10/elements/nuxeo-results/nuxeo-document-content.html

Regards

Phil_Ludlow
Star Contributor
Star Contributor

I've been wanting to do something similar, but haven't had time so it's in the backlog. If you get this working please share some of your results/code if possible. My concept was to have another tab for a document for the JSON results (such as "View" "Permissions" History" "Trash" "JSON"). This tab would likely be restricted based on permissions, but the view would appear similar to that given when using the "Nuxeo Dev Tools" Chrome extension for JSON output, but would be in Nuxeo as a tab. For some user groups this would be a great feature. Looking forward to your progress.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.