04-07-2020 02:38 AM
Hello,
i have groups "GROUP_Members_A", "GROUP_Members_B" and "Groups_Members_C". It is posible to search members starting with name "Po" of all this groups using "GROUP_Member_*"?.
Thanks for an advice
04-07-2020 03:06 AM
If you are working on an Angular app, I guess the best approach is to load all the Groups and Members in memory and to perform search operations in the browser itself.
04-07-2020 03:10 AM
No i have own ReactJs application and custom backend which use Alfresco API. It isn't possible to search in groups using Search API or something similar?
04-07-2020 04:15 AM
In that case, I would recommend to use the Alfresco JavaScript client API:
https://github.com/Alfresco/alfresco-js-api
It's a NodeJS project, but it provides mainly all you can require in your ReactJS app.
04-07-2020 04:24 AM
Ok thank you and is possible to search members in only one group using pure search API and use LIKE "Po*" or something similar? To get only users starting with "Po". Thank you
04-07-2020 04:57 AM
I guess you can use the where condition in this API
https://api-explorer.alfresco.com/api-explorer/#!/groups/listGroupMemberships
04-07-2020 10:44 AM
Unfortunately, where condition doesn't work, there is no way how to get results using Search API and JOIN?