Edit a custom web part in SharePoint¶
You can edit a custom template directly in SharePoint.
Steps¶
- Create a custom template
- Store the template in a SharePoint library
- Edit the template in directly in SharePoint
Note
Step 1
The article Create your first custom template, explains how you can create a template and upload it to SharePoint.
Note
Step 2
The article Store custom templates in SharePoint, explains how you can create a central repository for templates in SharePoint.
Edit the template in SharePoint¶
Prerequisites: You have created your first template and it is stored in SharePoint. (Step 1 and Step 2)
-
Open your SharePoint site and navigate to the SharePoint library and folder where the template is stored.
-
Click the template Title to open it.
-
Open the menu "Open" and select "Open in Text Editor"
-
Do your changes and Click Save.
-
Close the Tab.
Check your changes¶
To look at your changes, open a page where you have used the custom template, and refresh the page. The changes you made should now be effective.