-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Included package updates and documentation changes Added spadmin test harness for debug New setSitePropertiesById method for updating site properties.
- Loading branch information
Julie Turner
committed
Dec 23, 2024
1 parent
8ded4d9
commit c9517a5
Showing
15 changed files
with
1,391 additions
and
717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ export async function Example(settings: ITestingSettings) { | |
|
||
process.exit(0); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { ITestingSettings } from "../../test/load-settings.js"; | ||
import { Logger, LogLevel } from "@pnp/logging"; | ||
import { spAdminSetup } from "./setup.js"; | ||
import "@pnp/sp-admin/index.js"; | ||
|
||
declare var process: { exit(code?: number): void }; | ||
|
||
export async function Example(settings: ITestingSettings) { | ||
|
||
const spAdmin = spAdminSetup(settings); | ||
|
||
const s = await spAdmin.admin.tenant.getSitePropertiesByUrl('https://sympjt.sharepoint.com/sites/pnpjsteam', true); | ||
|
||
Logger.log({ | ||
data: s, | ||
level: LogLevel.Info, | ||
message: "Web Data", | ||
}); | ||
|
||
process.exit(0); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.