From 4c1334a561c2f1a1a0c18303b01ca2667e3ec1ca Mon Sep 17 00:00:00 2001 From: AriGunawan Date: Sat, 16 Sep 2023 06:44:37 +0700 Subject: [PATCH] Update metadata --- .../config/package-solution.json | 4 ++-- .../EnhancedPagePropertiesWebPart.manifest.json | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/samples/react-enhanced-page-properties/config/package-solution.json b/samples/react-enhanced-page-properties/config/package-solution.json index 851850b32..52c596c00 100644 --- a/samples/react-enhanced-page-properties/config/package-solution.json +++ b/samples/react-enhanced-page-properties/config/package-solution.json @@ -1,7 +1,7 @@ { "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json", "solution": { - "name": "react-enhanced-page-properties-client-side-solution", + "name": "Enhanced Page Properties", "id": "54ea24ef-5714-4f81-a9e6-e22f70e0c644", "version": "1.0.0.0", "includeClientSideAssets": true, @@ -35,6 +35,6 @@ ] }, "paths": { - "zippedPackage": "solution/react-enhanced-page-properties.sppkg" + "zippedPackage": "solution/Enhanced Page Properties.sppkg" } } diff --git a/samples/react-enhanced-page-properties/src/webparts/enhancedPageProperties/EnhancedPagePropertiesWebPart.manifest.json b/samples/react-enhanced-page-properties/src/webparts/enhancedPageProperties/EnhancedPagePropertiesWebPart.manifest.json index 8fefdfc33..ba2b447c2 100644 --- a/samples/react-enhanced-page-properties/src/webparts/enhancedPageProperties/EnhancedPagePropertiesWebPart.manifest.json +++ b/samples/react-enhanced-page-properties/src/webparts/enhancedPageProperties/EnhancedPagePropertiesWebPart.manifest.json @@ -12,17 +12,18 @@ // Components that allow authors to embed arbitrary script code should set this to true. // https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f "requiresCustomScript": false, - "supportedHosts": ["SharePointWebPart", "TeamsPersonalApp", "TeamsTab", "SharePointFullPage"], + "supportedHosts": ["SharePointWebPart", "SharePointFullPage"], "supportsThemeVariants": true, "preconfiguredEntries": [{ "groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Advanced "group": { "default": "Advanced" }, - "title": { "default": "EnhancedPageProperties" }, - "description": { "default": "EnhancedPageProperties description" }, - "officeFabricIconFontName": "Page", + "title": { "default": "Enhanced Page Properties" }, + "description": { "default": "Enhanced Page Properties web part" }, + "officeFabricIconFontName": "PageEdit", "properties": { - "description": "EnhancedPageProperties" + "title": "Properties", + "fields": "ID, Title" } }] }