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

SearchBox and Live Persona Card not working. #9

Closed sudeshkumara closed 3 years ago

sudeshkumara commented 3 years ago

@YannickRe Thank you for this cool web part and sorry to ask this under issues.

I've implemented this in our tenant and it's working fine except for the SearchBox and Live Persona Card.

image

image

static search also working, how can I add a search box? could you please show me the direction for that?

When it's come to Live persona card, it's working on the SharePoint default People web part and I've enabled the feature in configurations for peoplesearch web part. But it's not working. image image

YannickRe commented 3 years ago

This is strange behavior, and shouldn't really occur. I'm not seeing any issues in my deployed instances. Things to try:

sudeshkumara commented 3 years ago

@YannickRe

Sorry for the late reply,

But I've resolved the issues. Search Box Issue : Actually there are no issues with the search box. What happened was that the search box was hidden because of custom CSS. Persona Card Issue : I added the following parameters to the people search query. (id,displayName,mail,jobTitle)

image

It did not show any query errors. But somehow when I removed all these parameters the personal card worked fine. I just wanted to hide the phone number and achieved this by editing the name Field. Manage persona fields

Thank you very much @YannickRe for this package.