11-08-2022 09:48 AM
We're looking to override the default behaviour of the document-list component to call a custom API endpoint. As you know the default endpoint is:
/alfresco/api/-default-/public/alfresco/versions/1/nodes/<node-id>/children
We have our own custom endpoint to get the list of documents with a specific metadata value:
/alfresco/s/bv/process/<processname>
The format of the JSON response is identical to the built-in API call, so the component should render it naturally.
Is there a way to change the default endpoint with our custom one ?
If not, do you have working example to use the search query service to build the query that return the documents (like our custom API does) ?
Thank you in advance,
Luis
02-15-2023 08:55 AM
Did you find a solution ?
Explore our Alfresco products with the links below. Use labels to filter content by product module.