-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3597 from microsoft-search/develop
v4.11
- Loading branch information
Showing
62 changed files
with
33,582 additions
and
34,906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
|
||
**Q: In version 4.10.1 the LPC (Live Person Card) hover option became available as an option for the People Layout. What is the difference between LCP and Persona card? ** | ||
|
||
![LCP option](/assets/LCP.png "LCP option in the People Layout") | ||
|
||
|
||
|
||
|
||
|
||
**A**: The Live Person Card does not require any additional Graph Permissions. The LPC can be customized to show additional fields from Entra ID, but not the same way as the pnp-people or mgt-person. However it will always show equal to any other people card shown in Microsoft 365.See https://learn.microsoft.com/en-us/graph/add-properties-profilecard. | ||
|
||
---------------------- | ||
|
||
**Q: Is the deprecation of SharePoint-Add-in's affecting PnP Modern Search?** | ||
|
||
**A**: No, as the project is built using the SharePoint Framework, not the deprecated add-in model. | ||
|
||
----------------------- | ||
|
||
**Q: Is the PnP Modern Search package certified by a 3rd party in order to ensure compliance with GDPR or similar requirements? ** | ||
|
||
**A**: No, it is up to you to review the source code in order to ensure compliance with any relevant requirements. The web parts do not store, process or log any data, thus GDPR is not directly relevant. Any privacy concern of data is up to how data is stored and protected at the source level, e.g. SharePoint. | ||
|
||
----------------------- | ||
|
||
**Q: Are the PnP Modern Search web parts logging data to a local or remote receiver? ** | ||
|
||
**A**: No, the PnP Modern Search web parts are not logging data to any receiver, not even telemetry data. | ||
|
||
----------------------- | ||
|
||
**Q: What is the ID or Name of the PnP Modern Search App Registration in Azure AD/Entra? ** | ||
|
||
**A**: There isn’t an App Registration nor Enterprise application as PnP Modern Search does not rely on an application entry. The solution uses FedAuth cookies from SharePoint when calling the SharePoint Search API, and uses the “SharePoint Online Client Extensibility” app registrations when calling Graph API’s. | ||
|
||
The solution does elevate any permissions when calling the API’s as permissions are all of the type Delegated Permissions, meaning that the permissions are bound to the current user, not the PnP Modern Search solution. | ||
|
||
----------------------- | ||
|
||
**Q: I am concerned about what will happen if the project is abandoned. Will Microsoft take over the project? ** | ||
|
||
**A**: It is hard to predict the future, but a vast number of companies are using the PnP Modern Search web parts in their solutions. The solution is hosted on GitHub owned by the Microsoft Search team. Most likely these companies will either clone the project and make a commercial version or will provide the manpower needed to keep the project in maintenance mode. | ||
|
||
----------------------- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Connect to a search results webpart | ||
|
||
!!! note | ||
The PnP Modern Search Web Parts must be deployed to your App Catalog and activated on your site. See the [installation documentation](../installation.md) for details. | ||
|
||
This scenario describes how to connect more then one results Web Part together. One results Web Part will view the sites, connected with the current HUB site, the other, connected results Web Part, will show the documents from the selected site. | ||
|
||
## SharePoitn HUB site structure | ||
As basic architecture we need a SharePoint HUB site and sites associated to the HUB site. | ||
|
||
![SharePoint admin center HUB architecture](assets/Connect-to-a-search-results-webpart/sharepoint-admin-center-hub-architecture.png) | ||
|
||
## Create a simple search page | ||
We need a SharePoint page configured with the PnP Modern Search Web Parts. See the scenario how you can [create a simple search page](create-simple-search-page.md) | ||
|
||
Add two PnP Results Web Part, we will configure this web parts later: | ||
![Simple search page with two result web parts](assets/Connect-to-a-search-results-webpart/simple-search-page-two-results.png) | ||
|
||
## Configure first results Web Part with current HUB site and associated sites | ||
In the first PnP Results Web Part add the query to show the current HUB site and the associated sites to the HUB. | ||
|
||
![Configure first PnP Results Web Part](assets/Connect-to-a-search-results-webpart/configure-first-results-webpart.png) | ||
|
||
Query template: | ||
{searchTerms} contentclass=STS_Site AND DepartmentID:{{Site.id._guid}} | ||
|
||
Table with HUB properties with detail information: https://learn.microsoft.com/en-us/sharepoint/crawled-and-managed-properties-overview | ||
|
||
Activate the details list layout and activate the option "Allow items selection" in the results Web Part. | ||
You can display only the title column, we don't need the other columns. | ||
|
||
![Configure first PnP Results Web Part layout options](assets/Connect-to-a-search-results-webpart/configure-first-results-webpart-layout.png) | ||
|
||
## Configure second results Web Part connected to the first | ||
The second PnP Search Results Web Part on the same page need the query that will show the documents from the selected site in the first results web part. | ||
|
||
![Configure second PnP Results Web Part](assets/Connect-to-a-search-results-webpart/configure-second-results-webpart.png) | ||
|
||
Query template: | ||
{searchTerms} DepartmentID:{{Site.id._guid}} AND IsDocument:1 | ||
|
||
Activate the details list layout. You can display only the title and created column, we don't need the other columns. | ||
|
||
You need to configure the chapter "Use data from this Web Part" under Available connections! | ||
|
||
![Configure second PnP Results Web Part available connections](assets/Connect-to-a-search-results-webpart/configure-second-results-webpart-connections.png) | ||
|
||
Save the page. | ||
|
||
## Solution and test your Web Part connections | ||
After the configuration you can select a site and the documents will be show up for the selected site. | ||
|
||
![Solution and test your Web Part connections](assets/Connect-to-a-search-results-webpart/solution-use-results-webpart-connections.png) |
Binary file added
BIN
+32 KB
.../Connect-to-a-search-results-webpart/configure-first-results-webpart-layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.6 KB
.../assets/Connect-to-a-search-results-webpart/configure-first-results-webpart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+56.1 KB
...ct-to-a-search-results-webpart/configure-second-results-webpart-connections.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.7 KB
...assets/Connect-to-a-search-results-webpart/configure-second-results-webpart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+23.9 KB
...onnect-to-a-search-results-webpart/sharepoint-admin-center-hub-architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.6 KB
...s/assets/Connect-to-a-search-results-webpart/simple-search-page-two-results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+55.9 KB
...onnect-to-a-search-results-webpart/solution-use-results-webpart-connections.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json", | ||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json", | ||
"port": 4321, | ||
"https": true, | ||
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx", | ||
"api": { | ||
"port": 5432, | ||
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" | ||
} | ||
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.