pnp / sp-starter-kit

Modern SharePoint Starter Kit - End-to-end showcase solution to get started with modern experiences.
MIT License
766 stars 536 forks source link

Stuck at step 5 of Getting Started of SharePoint Starter Kit v3 #670

Open luvsql opened 1 year ago

luvsql commented 1 year ago

Please note that issues that do not follow this template will automatically be rejected.

Use the following form to submit ask a question related to this repo. If you have an issue related to the SharePoint Framework or its documentation, please submit the issue at https://github.com/SharePoint/sp-dev-docs/issues/new. This will help us respond to your issue faster.


Thank you for asking a question. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

I literally just want to use the one "People Directory" webpart. Is there an easier way to add this? I added the Learning Center much more easily. Can I just install the 1 webpart on its own?

Question

Provide as many details as possible to help the community answer your question.

(DELETE THIS PARAGRAPH AFTER READING)

Guidelines for issue creator (DELETE AFTER READING)

  • All questions are welcome, please let us know what's on your mind.
  • Remember that this repository is maintained by community members who volunteer their time to help. Be courteous and patient.
  • If you have technical questions about the framework, we’ll be monitoring #spfx, #spfx-webparts, and #spfx-tooling on (SharePoint StackExchange)> [http://sharepoint.stackexchange.com/]. You can also alternatively submit your question to (SharePoint Developer group)> [https://techcommunity.microsoft.com/t5/sharepoint-developer/bd-p/SharePointDev] in the Microsoft Tech Community.
  • Remember to include sufficient details and context.
  • If you have multiple suggestions or bugs please submit them in separate bugs so we can track resolution. (DELETE THIS SECTION AFTER READING)

Thanks for your contribution! Sharing is caring.

eoverfield commented 1 year ago

This particular project is designed as an overall SharePoint development and demonstration provisioning process. You can absolutely just install specific pieces of the kit though.

For the people directory, download the sppkg from: https://github.com/pnp/sp-starter-kit/tree/master/source/react-people-directory/sharepoint/solution.

Then simply add this to your tenant app catalog, or a site collection app catalog if you only want one site collection to have access to this webpart. That should be about it.

luvsql commented 1 year ago

Fantastic. I've now installed and can add it as a webpart, however, it's including users I've never seen before (disabled accounts), service and admin accounts as well as sorting by last name. Is it customizable to say only include active accounts, and change the sort? Most Employees don't know user's last names so would always have to use the sort versus just finding their first name.

When you have a lot of staff turnover showing inactive accounts is a long, long list.

luvsql commented 1 year ago

I found an old issue (https://github.com/pnp/sp-starter-kit/issues/246) about inactive accounts. The accounts showing in this webpart cannot be found in the search of Delve (as an example) so not sure what accounts this webpart is pulling. These users are also set to Hide=Yes for the Global Address Book and are shared mailboxes so shouldn't display anywhere.

luvsql commented 1 year ago

I gave up and just created a new app in PowerApps which I have more control over.