07-23-2020 03:34 AM
HI ,@eromano and @DenysVuika
how to use people service of adf for update getAvatarImage(personId: string, opts?: any) ,it will give error when we run project that "Cannot read property 'callApi' of undefined
at PeopleApi.push../node_modules/@alfresco/js-api/_esm5/src/api/content-rest-api/api/people.api.js.PeopleApi.getAvatarImage"
so in debug i found "return this.apiClient.callApi('/people/{personId}/avatar', 'GET', pathParams, queryParams, headerParams, formParams, postBody, contentTypes, accepts);" that this.apiClient is undefined .
or any other service is available to get and update image (avatar) of user in adf...
HERE link is available for document https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/api/people.api.ts
please give the guidence that how we can use these methods.
09-23-2020 06:37 AM
Hi,
Try Below Service.
Explore our Alfresco products with the links below. Use labels to filter content by product module.