Skip to content

Commit b59f71f

Browse files
committed
Polishing feature provisioning article
1 parent 36ccd00 commit b59f71f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/spfx/web-parts/get-started/provision-sp-assets-from-package.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ When prompted:
4141

4242
The next set of prompts will ask for specific information about your web part:
4343

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.
4545
* Type **AssetDeployment** for the web part name and choose **Enter**.
4646
* Enter **AssetDeployment Web Part** as the description of the web part and choose **Enter**.
4747

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.
4949

5050
In the console, type the following to open the web part project in Visual Studio Code:
5151

@@ -55,7 +55,7 @@ code .
5555

5656
## Create folder structure for your SharePoint assets
5757

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.
5959

6060
* Create folder called **sharepoint** to the root of the solution
6161
* 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:
139139
> 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.
140140
141141
### 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.
143143

144144
Create a new file inside the **sharepoint\assets** folder named as **schema.xml**
145145

@@ -237,10 +237,10 @@ To ensure that our newly added Feature Framework files are taken into account wh
237237
Things to note in the added json definitions:
238238
* You can technically have multiple features in the package since **features** is a collection, which is not however recommended
239239
* **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
241241

242242
## 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.
244244

245245
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:
246246

@@ -273,7 +273,7 @@ Upload or drag and drop the asset-deployment-webpart.sppkg located in the `share
273273
274274
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.
275275

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.
277277

278278
In the **Search** box, enter **deployment** and choose **Enter** to filter your apps.
279279

@@ -340,7 +340,7 @@ Next we'll need to update both solution version and the feature version responsi
340340
341341
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.
342342

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.
344344

345345
```json
346346
{

0 commit comments

Comments
 (0)