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/declarative-customization/site-design-json-schema.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Site template JSON schema
3
3
description: JSON schema reference for building site templates for SharePoint.
4
-
ms.date: 06/28/2022
4
+
ms.date: 07/28/2022
5
5
ms.localizationpriority: high
6
6
---
7
7
@@ -926,6 +926,9 @@ To enable the web scoped feature that allows for Events Lists to be created (fea
926
926
Use the `triggerFlow` verb to kick off a custom flow.
927
927
<!-- update this with example from trigger workflow topic -->
928
928
929
+
> [!TIP]
930
+
> The article [Calling Power Automate from a site script](/sharepoint/dev/declarative-customization/site-design-trigger-flow-tutorial) provides an end-to-end example.
Copy file name to clipboardExpand all lines: docs/spfx/image-helper-api.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Image Helper API
3
3
description: Learn how to use the Image Helper API in the SharePoint Framework to provide web-friendly optimized image links.
4
-
ms.date: 02/25/2022
4
+
ms.date: 07/25/2022
5
5
ms.localizationpriority: high
6
6
---
7
7
# Image Helper API
@@ -32,7 +32,7 @@ SharePoint's server-side image processing has a list of resolution breakpoints w
32
32
33
33
While you can specify any width to resize the image to, SharePoint will pick the nearest largest resolution breakpoint. For example, if you specify `width: 250`, the resized image width will be 400 px.
34
34
35
-
If you specify the optional `height` property, SharePoint the width isn't adjusted to the nearest breakpoint. But if the `height property is omitted, SharePoint automatically determines the height of the resized image using the width & width breakpoint while maintaining the aspect ratio for the image.
35
+
If you specify the optional `height` property, the width isn't adjusted to the nearest breakpoint. But if the `height` property is omitted, SharePoint automatically determines the height of the resized image using the height & width breakpoint while maintaining the aspect ratio for the image.
36
36
37
37
> [!TIP]
38
38
> Omitting the `height` property provides the quickest response from the SharePoint
@@ -51,7 +51,7 @@ Next, import it into your project where you plan to use the API:
Next, use the API to obtain a thumbnail image of an existing file in SharePoint. In this case, we've uploaded a file from the [Microsoft News Image Gallery](https://news.microsoft.com/imagegallery) site. In this example, we're using a file that's 1.2 MB in size with a resolution of 1920x1080... not an ideal web friendly format:
54
+
Next, use the API to obtain a thumbnail image of an existing file in SharePoint. In this case, we've uploaded a file from the [Microsoft News Image Gallery](https://news.microsoft.com/imagegallery) site. In this example, we're using a file that's 1.2 MB in size with a resolution of 1920x1080 which is not an ideal web friendly format:
55
55
56
56

57
57
@@ -89,9 +89,9 @@ This resized image is only 30 kB in size with a resolution of 400x225, a signifi
89
89
90
90
For the images to be available to be served from a private CDN, the following requirements must be met:
91
91
92
-
-the private CDN feature must be enabled
93
-
-the source file must be available within an origin to the CDN
94
-
- SharePoint's server-side preprocessing must know that the web part property is an image property
92
+
-The private CDN feature must be enabled.
93
+
-The source file must be available within an origin to the CDN.
94
+
- SharePoint's server-side preprocessing must know that the web part property is an image property.
95
95
96
96
To make SharePoint's server-side processing aware of the image property, list the properties where image Urls are stored in the web part's **manifest.json**`imageLinkPropertyNames` property:
0 commit comments