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.
Hi,
Try Below Service.
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.