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
Copy file name to clipboardExpand all lines: docs/spfx/web-parts/get-started/provision-sp-assets-from-package.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,11 @@ When prompted:
41
41
42
42
The next set of prompts will ask for specific information about your web part:
43
43
44
-
* Accept the default **No javascript web framework** option for the framework and choose **Enter** to continue.
44
+
* Accept the default **No JavaScipt web framework** option for the framework and choose **Enter** to continue.
45
45
* Type **AssetDeployment** for the web part name and choose **Enter**.
46
46
* Enter **AssetDeployment Web Part** as the description of the web part and choose **Enter**.
47
47
48
-
At this point, Yeoman will install the required dependencies and scaffold the solution files. This might take a few minutes. Yeoman will scaffold the project to include your **jQueryWebPart** web part as well.
48
+
At this point, Yeoman will install the required dependencies and scaffold the solution files. This might take a few minutes. Yeoman will scaffold the project to include your **AssetDeployment** web part as well.
49
49
50
50
In the console, type the following to open the web part project in Visual Studio Code:
51
51
@@ -55,7 +55,7 @@ code .
55
55
56
56
## Create folder structure for your SharePoint assets
57
57
58
-
We'll first need to create a**assets** folder where we will place all feature framework assets used to provision SharePoint structures when package is installed.
58
+
We'll first need to create an**assets** folder where we will place all feature framework assets used to provision SharePoint structures when package is installed.
59
59
60
60
* Create folder called **sharepoint** to the root of the solution
61
61
* Create folder called **assets** as a sub folder for the just created **sharepoint** folder
@@ -139,7 +139,7 @@ Things to note about the pasted xml structure:
139
139
> More details on the used schema structures can be found from [Feature Framework documentation](https://msdn.microsoft.com/en-us/library/office/ms460318(v=office.14).aspx) at MSDN.
140
140
141
141
### Add schema.xml file for defining list structure
142
-
In previous step we referenced **schema.xml** file in the **CustomSchema** attribute of the **ListInstance** element, so we'll need to include that in our package.
142
+
In previous step, we referenced **schema.xml** file in the **CustomSchema** attribute of the **ListInstance** element, so we'll need to include that in our package.
143
143
144
144
Create a new file inside the **sharepoint\assets** folder named as **schema.xml**
145
145
@@ -237,10 +237,10 @@ To ensure that our newly added Feature Framework files are taken into account wh
237
237
Things to note in the added json definitions:
238
238
* You can technically have multiple features in the package since **features** is a collection, which is not however recommended
239
239
***elements.xml** is referenced under elementManifests, so that it's packaged properly for the actual feature xml structure as element manifest file
240
-
* You can have multiple element.xml files in the definition and they would be executed in the order they are mentioned in the JSON definition. Typically you should avoid usage of multiple element.xml since it adds unnecessary complexity. You can define all needed assets in single element.xml file
240
+
* You can have multiple element.xml files in the definition and they would be executed in the order they are mentioned in the JSON definition. Typically, you should avoid usage of multiple element.xml since it adds unnecessary complexity. You can define all needed assets in single element.xml file
241
241
242
242
## Deploy and test asset provisioning
243
-
Now you are ready to deploy the solution to SharePoint. Since in this case we are provisioning assets directly to the SharePoint sites when the solution is installed, you cannot test the capability in local or in on-line workbench.
243
+
Now you are ready to deploy the solution to SharePoint. Since in this case we are provisioning assets directly to the SharePoint sites when the solution is installed, you cannot test the capability in local or in online workbench.
244
244
245
245
In the console window, enter the following command to package your client-side solution that contains the web part, so that we get the basic structure ready for packaging:
246
246
@@ -273,7 +273,7 @@ Upload or drag and drop the asset-deployment-webpart.sppkg located in the `share
273
273
274
274
Go to the site where you want to test SharePoint asset provisioning. This could be any site collection in the tenant where you deployed this solution package.
275
275
276
-
Chose the gears icon on the topi nav bar on teh right and choose **Add an app** to go to your Apps page.
276
+
Chose the gears icon on the top nav bar on the right and choose **Add an app** to go to your Apps page.
277
277
278
278
In the **Search** box, enter **deployment** and choose **Enter** to filter your apps.
279
279
@@ -340,7 +340,7 @@ Next we'll need to update both solution version and the feature version responsi
340
340
341
341
Open **package-solution.json** from the config folder and update version values for both solution and feature to "2.0.0.0". We will also need to include **elements-v2.xml** under the elementManifest section and also to include upgradeActions element with a pointer to just created **upgrade-actions-v2.xml** file.
342
342
343
-
Here's a complete **package-solution.json** file with needed changes. Notice that identifiers for your solution could be slightly different, so concentrate on adding only the missign pieces.
343
+
Here's a complete **package-solution.json** file with needed changes. Notice that identifiers for your solution could be slightly different, so concentrate on adding only the missing pieces.
0 commit comments