You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 🎯 Aim
The aim is to create a minor release that primary dilivers update of the
latest SPFx version which is 1.22.2
## ✅ What was done
- [X] Added copy SharePoint Online page Language Model Tool
- [X] Updated add component form to run install dependencies
- [X] Added support for SPFx 1.22.2
## 🔗 Related issue
Closes: #709
---------
Co-authored-by: Nirav Raval <niravraval34@gmail.com>
Co-authored-by: Saurabh Tripathi <saurabh7019@gmail.com>
> The list of valid dependencies is based on [set up your development environment recommendations](https://learn.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment)
Copy file name to clipboardExpand all lines: assets/walkthrough/validate-local-setup.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,16 @@ To build and deploy client-side web parts, extensions, or adaptive cards using t
4
4
5
5
-**Validate Local Setup**: This action checks if your local development environment meets the required versions of Node.js and global dependencies for the SPFx version you have installed, and in case you do not have any SPFx generator installed, it will validate against the latest SPFx version.
SPFx Toolkit may also help you install and switch to the correct version of Node.js using either `nvm` (Node Version Manager) or `nvs` (Node Version Switcher). First you need to make sure you have set the Node.js Version Manager setting in SPFx Toolkit to either `nvm` or `nvs`.
14
14
15
15
Then during installing dependencies, SPFx Toolkit will check if you have the correct version of Node.js installed, and if not, it will offer to install and switch to the correct version for you using the selected Node version manager.
Check out the [docs for more details](https://learn.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment) on the required node and dependency versions.
| SharePointListAdd | Creates list in the specified site |
26
-
| SharePointListGet | Gets information about the specific list |
27
-
| SharePointListRemove | Removes the specified list |
28
-
| SharePointPageAdd | Creates a page |
29
-
| SharePointSiteAdd | Create a new SharePoint Online site |
30
-
| SharePointSiteGet | Gets information about the specific site |
31
-
| SharePointSiteRemove | Remove a SharePoint Online site |
32
-
33
18
### SharePoint Online Management
34
19
35
20
This set of tools aim to allow you to perform common management tasks on your SharePoint Online tenant. In order to use them you need to be first signed in to your tenant in SPFx Toolkit.
Copy file name to clipboardExpand all lines: package.json
+42-3Lines changed: 42 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "viva-connections-toolkit",
3
3
"displayName": "SharePoint Framework Toolkit",
4
4
"description": "SharePoint Framework Toolkit aims to boost your productivity in developing and managing SharePoint Framework solutions helping at every stage of your development flow, from setting up your development workspace to deploying a solution straight to your tenant without the need to leave VS Code and now even create a CI/CD pipeline to introduce automate deployment of your app. This toolkit is provided by the community.",
5
-
"version": "4.16.0",
5
+
"version": "4.17.0",
6
6
"publisher": "m365pnp",
7
7
"preview": false,
8
8
"homepage": "https://pnp.github.io/vscode-viva",
@@ -508,6 +508,45 @@
508
508
}
509
509
}
510
510
},
511
+
{
512
+
"name": "copy_spo_page",
513
+
"tags": [
514
+
"sharepoint",
515
+
"page",
516
+
"spfx-toolkit"
517
+
],
518
+
"toolReferenceName": "SharePointPageCopy",
519
+
"displayName": "Copy a SharePoint Page",
520
+
"modelDescription": "Copies a modern SharePoint page within the same site or to a different site. Supports copying page templates. Use relative path in targetUrl for same-site copies or absolute URL for cross-site copies. Set overwrite to true to replace existing pages. Requires Microsoft 365 authentication and read permissions on the source site, write permissions on the target site.",
521
+
"userDescription": "Copies a page.",
522
+
"canBeReferencedInPrompt": true,
523
+
"icon": "$(copy)",
524
+
"inputSchema": {
525
+
"type": "object",
526
+
"properties": {
527
+
"webUrl": {
528
+
"type": "string",
529
+
"description": "URL of the site where the source page is located. This option is required.",
530
+
"default": ""
531
+
},
532
+
"sourceName": {
533
+
"type": "string",
534
+
"description": "Name of the source page to copy (e.g., 'home.aspx' or 'templates/PageTemplate.aspx'). This option is required.",
535
+
"default": ""
536
+
},
537
+
"targetUrl": {
538
+
"type": "string",
539
+
"description": "Target URL for the copied page. Use relative path (e.g., 'home-copy.aspx') for same-site copies or absolute URL for cross-site copies. This option is required.",
540
+
"default": ""
541
+
},
542
+
"overwrite": {
543
+
"type": "boolean",
544
+
"description": "Set to true to overwrite the target page if it already exists.",
0 commit comments