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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2021 02:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2021 04:04 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2021 01:37 PM
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.
