You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spfx/building-search-extensions.md
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,18 @@
1
1
---
2
2
title: Modifying Microsoft Search experience using SharePoint Framework extensions
3
3
description: You can modify the Microsoft Search experiences using SharePoint Framework extensions
4
-
ms.date: 06/19/2020
4
+
ms.date: 04/19/2023
5
5
ms.localizationpriority: medium
6
6
---
7
7
8
8
# Modifying Microsoft Search experience using SharePoint Framework extensions
9
9
10
-
The SharePoint Framework v1.10 release introduces Search Query extensions. These are SharePoint Framework (SPFx) extensions, which can be used to modify search query executed using the search experience.
Search Query extensions are SharePoint Framework (SPFx) extensions, which can be used to modify search query executed using the search experience.
13
11
14
12
> [!IMPORTANT]
15
-
> Even thought this extension is available in the SharePoint Framework v1.10 release, it's not supported in the SharePoint Online.
13
+
> This feature moved to General Availability status with the SPFx v1.16 release.
16
14
17
-
A query extension acts as a normal SharePoint Framework extension, but it will be invoked just before the search query is executed, so that the query can be potentially modified. During **preview**, query extensions have following characteristics:
15
+
A query extension acts as a normal SharePoint Framework extension, but it will be invoked just before the search query is executed, so that the query can be potentially modified. Query extensions have following characteristics:
18
16
19
17
- Query extensions only work in the context of SharePoint
20
18
- You will need to explicitly enable query extensions in site or in site collection scope
@@ -25,10 +23,10 @@ A query extension acts as a normal SharePoint Framework extension, but it will b
25
23
26
24
## Development process
27
25
28
-
You can start developing query extensions simply by using the SharePoint Framework v1.10 or later packages. As this feature is on preview status, you'll need to execute the Yeoman generator using the `--plusbeta` switch as demonstrated below.
26
+
You can start developing query extensions for production simply by using the SharePoint Framework v1.16 or later packages.
29
27
30
28
```console
31
-
yo @microsoft/sharepoint --plusbeta
29
+
yo @microsoft/sharepoint
32
30
```
33
31
34
32
You can see a new option called **Search Query Modifier** under the extension selection to scaffold you a query extension component.
@@ -55,11 +53,11 @@ Technically you can also use the Tenant scoped deployment of SharePoint Framewor
55
53
56
54
## Deployment of your extension
57
55
58
-
Deployment is a two-step process by default for the **Search Query Modifier** at least during the preview:
56
+
Deployment is a two-step process by default for the **Search Query Modifier**:
59
57
60
58
1. Deploy solution to SharePoint App Catalog
61
-
1. Install solution to the site collection where you want to use the extension
62
-
1. Create a custom search results page and configure it to be used in the site collection
59
+
2. Install solution to the site collection where you want to use the extension
60
+
3. Create a custom search results page and configure it to be used in the site collection
63
61
64
62
You can configure custom search results page for a site collection from the site settings by clicking **Search Settings** and then enabling the custom search experience option.
Copy file name to clipboardExpand all lines: docs/spfx/release-1.16.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: SharePoint Framework v1.16 release notes
3
3
description: Release notes for the SharePoint Framework v1.16 release
4
-
ms.date: 2/16/2023
4
+
ms.date: 4/19/2023
5
5
ms.localizationpriority: high
6
6
---
7
7
# SharePoint Framework v1.16 release notes
@@ -97,6 +97,12 @@ SPFx now supports React 17 by default (scaffolded as part of the solution).
97
97
98
98
Set a data version for this preconfigured entry. This is optional and can be used in cases where the SPPKG is updated independently from code (e.g. hosted on a CDN). Web Parts can read this value for backwards compatibility with out of date default properties.
99
99
100
+
### General availability of Search Query extensions
101
+
102
+
Search Query extensions moved to the General Availability status with this version and can be used in the production.
103
+
104
+
*[Modifying Microsoft Search experience using SharePoint Framework extensions](building-search-extensions.md)
105
+
100
106
### Ability to use tasks and middleware in Microsoft Graph v3
101
107
102
108
Starting this version, developers can install `@microsoft/microsoft-graph-client` to reference tasks or middlewares from the SDK, for example, `LargeFileUploadTask`. SPFx will automatically externalize the dependency and load it from the CDN.
0 commit comments