Possible Angular 6 httpClient examples

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Possible Angular 6 httpClient examples

Do examples exist for Angular 6 httpClient posting a query to:

/alfresco/api/-default-/public/search/versions/1 

5 Replies
Highlighted
Alfresco Employee

Re: Possible Angular 6 httpClient examples

Highlighted
Member II

Re: Possible Angular 6 httpClient examples

So if I use the search component with a QueryBody I do get results.

I'd like to be able to reorganize the results of my search before returning them.

How might I accomplish that?

Highlighted
Alfresco Employee

Re: Possible Angular 6 httpClient examples

which kind of reorganization have you in mind?

Highlighted
Member II

Re: Possible Angular 6 httpClient examples

So we have folders in our ecm that are queries (like views in a database). 

I enter a search and I get the folder back but I need to get back the underlying files associated with that folder (view) .

Highlighted
Alfresco Employee

Re: Possible Angular 6 httpClient examples

may you can rewrite that service and add your functionality inside.

With the dependency injection you can use tell to Angular to prefer your custom service instead of the default one in general and or for some components.

Angular Docs