diff --git a/SharePointFramework/ProgramWebParts/src/components/ProgramAdministration/types.ts b/SharePointFramework/ProgramWebParts/src/components/ProgramAdministration/types.ts index 05ef35ab9..753378e8b 100644 --- a/SharePointFramework/ProgramWebParts/src/components/ProgramAdministration/types.ts +++ b/SharePointFramework/ProgramWebParts/src/components/ProgramAdministration/types.ts @@ -6,6 +6,7 @@ export interface IProgramAdministrationProject extends Record { SiteId: string Title: string SPWebURL: string + Path?: string } export interface IProgramAdministrationProps { diff --git a/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts b/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts index ae4e4b355..8ab13daa1 100644 --- a/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts +++ b/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts @@ -861,7 +861,7 @@ export class SPDataAdapter RowLimit: 500, StartRow: 0, ClientType: 'ContentSearchRegular', - SelectProperties: ['SPWebURL', 'Title', 'SiteId'], + SelectProperties: ['SPWebURL', 'Title', 'SiteId', 'Path'], TrimDuplicates: false } @@ -903,7 +903,7 @@ export class SPDataAdapter return { SiteId: item['GtSiteIdOWSTEXT'], Title: site?.Title ?? item['Title'], - SPWebURL: site && site['SPWebURL'] + SPWebURL: site && site['SPWebURL'] || site['Path'] } }) },