feat: Update version to 1.0.1 and enhance user profile retrieval in OrganizationChartDataService

This commit is contained in:
Torsten Brendgen
2026-08-24 14:05:36 +02:00
parent 1a69236c3a
commit 83dd10f255
5 changed files with 67 additions and 29 deletions
+2
View File
@@ -25,6 +25,8 @@ assert(packageSolution.solution.includeClientSideAssets === true && packageSolut
assert(!!config.bundles['organization-chart-webpart'], 'Bundle name is inconsistent.');
assert(manifest.componentType === 'WebPart' && manifest.alias === 'OrganizationChartWebPart', 'Manifest is invalid.');
assert(service.indexOf('/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor') >= 0, 'User Profile REST access is missing.');
assert(service.indexOf('/_api/SP.UserProfiles.PeopleManager/GetMyProperties') >= 0,
'Reliable current-user profile access is missing.');
assert(service.indexOf('profile.directReports') >= 0 && service.indexOf('this.buildNode(childAccount, depth + 1') >= 0,
'Recursive downward organization loading is missing.');
assert(webPart.indexOf("PropertyPaneTextField('startUser'") >= 0, 'Starting-person configuration is missing.');