YannickRe / spfx-msgraph-peoplesearch

Show and search users from your organization with an SPFx web part, through Microsoft Graph.
40 stars 33 forks source link

Show photo in people view compontent #1

Closed HamEv closed 3 years ago

HamEv commented 3 years ago

Hi Yannick, first of all thanks a lot for the fantastic webpart! In my version the photo of a person is not shown in the view component - it just shows the initial letters of the person. When hovering, the personacard is showing everything fine. Is there a possibility to add the photo to the overview, too?

Thanks a lot and best regards, Evelyn

YannickRe commented 3 years ago

Hi Evelyn,

You are welcome for the web part! There is no issue with the current version of the web part, the overview screen doesn't have the profile picture feature implemented yet (I put this on the list of future improvements). It shows in the persona card, since it fetches the stuff separately and the card is an out of the box component that has everything implemented already.

In a future update, the profile pictures will be added to the overview too. I just need to find some time to build it...

HamEv commented 3 years ago

Hi Yannick,

thanks a lot for your prompt reply 😊 It would be great, if you can inform me, when you will have implemented the profile pictures.

Meanwhile I’m struggling with another problem of the webpart (or even more with the odata request). I would like to use substring of in the $filter parameter, but unfortunately it’s not working (-> invalid filter clause).

What I’m trying to to is: $filter: substring(‘OÖ’, department) What’s working: $filter: department eq ‘LD OÖ’

Do you have any information what I should use for using substring?

YannickRe commented 3 years ago

I'll keep this issue open and ping you here when I finish the development.

YannickRe commented 3 years ago

@HamEv This is now included in the newest (v2.2) version.

HamEv commented 3 years ago

Thanks Yannick!!!!