From aed6a22d4a6b9a6c9c7ffa3277be01f64e176a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarjei=20E=2E=20Ormest=C3=B8yl?= Date: Tue, 20 Feb 2024 10:43:03 +0100 Subject: [PATCH 1/3] Filtered app pckgs on file type --- Install/Install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install/Install.ps1 b/Install/Install.ps1 index 8b86b1b7e..d442a20bb 100644 --- a/Install/Install.ps1 +++ b/Install/Install.ps1 @@ -379,7 +379,7 @@ if (-not $SkipAppPackages.IsPresent) { } Try { StartAction("Installing SharePoint Framework app packages to $TenantAppCatalogUrl") - foreach ($AppPkg in (Get-ChildItem "$PSScriptRoot/Apps" -ErrorAction SilentlyContinue)) { + foreach ($AppPkg in (Get-ChildItem "$PSScriptRoot/Apps/*.sppkg" -ErrorAction SilentlyContinue)) { Add-PnPApp -Path $AppPkg.FullName -Scope Tenant -Publish -Overwrite -SkipFeatureDeployment -ErrorAction Stop >$null 2>&1 } Disconnect-PnPOnline From 581b7e3e69034902241621efb5fb3ce44caf7b24 Mon Sep 17 00:00:00 2001 From: Remi Blom-Ohlsen Date: Tue, 20 Feb 2024 10:50:44 +0100 Subject: [PATCH 2/3] [hotfix] Fix planner provision bug --- .../src/projectSetup/tasks/PlannerConfiguration/index.ts | 7 ++++--- releasenotes/1.9.0.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SharePointFramework/ProjectExtensions/src/projectSetup/tasks/PlannerConfiguration/index.ts b/SharePointFramework/ProjectExtensions/src/projectSetup/tasks/PlannerConfiguration/index.ts index 321380883..cc16a0805 100644 --- a/SharePointFramework/ProjectExtensions/src/projectSetup/tasks/PlannerConfiguration/index.ts +++ b/SharePointFramework/ProjectExtensions/src/projectSetup/tasks/PlannerConfiguration/index.ts @@ -263,17 +263,18 @@ export class PlannerConfiguration extends BaseTask { taskDetails.previewType === 'automatic' ) return + this.logInformation(`Sleeping ${delay}s before updating task details for ${taskId}`) await sleep(delay) - if (taskDetails.checklist.length > 20 || taskDetails.attachments.length > 10) { + if (taskDetails.checklist?.length > 20 || taskDetails.attachments?.length > 10) { ListLogger.init( SPDataAdapter.portalDataService.web.lists.getByTitle('Logg'), pageContext.web.absoluteUrl, 'PlannerConfiguration' ) - if (taskDetails.checklist.length > 20) { + if (taskDetails.checklist?.length > 20) { await ListLogger.log({ message: format(strings.PlannerTaskChecklistLimitLogText, taskDetails.name ?? taskId), functionName: '_updateTaskDetails', @@ -282,7 +283,7 @@ export class PlannerConfiguration extends BaseTask { }) } - if (taskDetails.attachments.length > 10) { + if (taskDetails.attachments?.length > 10) { await ListLogger.log({ message: format(strings.PlannerTaskAttachmentLimitLogText, taskDetails.name ?? taskId), functionName: '_updateTaskDetails', diff --git a/releasenotes/1.9.0.md b/releasenotes/1.9.0.md index 3f946eb58..8611df7bd 100644 --- a/releasenotes/1.9.0.md +++ b/releasenotes/1.9.0.md @@ -19,7 +19,7 @@ Velkommen til versjon 1.9.0 av Prosjektportalen 365. I denne versjonen er det gj - **[Program spesifikke visningsnavn](#program-spesifikke-visningsnavn)** - Unike visningsnavn av felter/kolonner for programmer - **[Rekkefølge på planneroppgaver](#rekkefølge-på-planneroppgaver)** - Overstyr rekkefølgen for planneroppgaver ved provisjonering - **[Etiketter på planneroppgaver](#etiketter-på-planneroppgaver)** - Angi etiketter for planneroppgaver ved provisjonering -- **[Tooltip-kolonne i porteføljeoversikten](#begrensninger-på-planner)** - Støtte for fremheving av innhold med tooltip-kolonne i porteføljeoversikten +- **[Tooltip-kolonne i porteføljeoversikten](#tooltip-kolonne-i-porteføljeoversikten)** - Støtte for fremheving av innhold med tooltip-kolonne i porteføljeoversikten - **[Håndtere tiltak for usikkerheter i Planner](#håndtere-tiltak-for-usikkerheter-i-planner)** - Nytt funksjonalitet for å angi tiltak for usikkerheter i Planner - **[Idémodul, Prosjektscoring og konfigurasjon](#idémodul-prosjektscoring-og-konfigurasjon)** - Idémodul er nå en del av standard + prosjektscoring og konfigurasjon From cc0bddeb90aa093256ce4e79f5c1f336ceaee319 Mon Sep 17 00:00:00 2001 From: Remi Blom-Ohlsen Date: Tue, 20 Feb 2024 16:09:13 +0100 Subject: [PATCH 3/3] [hotfix] Missing TemplateParamters when getting fields --- .../shared-library/src/components/CustomEditPanel/types.ts | 2 +- .../shared-library/src/data/getItemFieldValues.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SharePointFramework/shared-library/src/components/CustomEditPanel/types.ts b/SharePointFramework/shared-library/src/components/CustomEditPanel/types.ts index 05b98077f..1a6c352da 100644 --- a/SharePointFramework/shared-library/src/components/CustomEditPanel/types.ts +++ b/SharePointFramework/shared-library/src/components/CustomEditPanel/types.ts @@ -58,7 +58,7 @@ export interface ICustomEditPanelProps extends IBasePanelProps { targetWeb?: IWeb /** - * Target list ID used to transform property valus + * Target list ID used to transform property values * before submitting the item. */ targetistId?: string diff --git a/SharePointFramework/shared-library/src/data/getItemFieldValues.ts b/SharePointFramework/shared-library/src/data/getItemFieldValues.ts index 9c75c8ec4..faf7002a7 100644 --- a/SharePointFramework/shared-library/src/data/getItemFieldValues.ts +++ b/SharePointFramework/shared-library/src/data/getItemFieldValues.ts @@ -16,6 +16,7 @@ export async function getItemFieldValues(item: IItem, userFields: string[] = []) item .select( '*', + 'TemplateParameters', ...userFields.map((fieldName) => `${fieldName}/Id`), ...userFields.map((fieldName) => `${fieldName}/Title`), ...userFields.map((fieldName) => `${fieldName}/EMail`)