Managing Web Part Templates
Templates are the building blocks for creating your own Web Parts. It is important to note that any changes you make to the template parameters become the default for any Web parts based off the template.
The Manage WebPart Templates tab lists all of the available templates. From this tab you can:
-
Export a single template or all templates
-
Import a .zip file containing Web Parts
-
Add (create) new templates
-
Delete templates
Column Names
You can click a column heading to sort by that column.
Name: This is the name of the template.
Version: On initial import, the version number is set to 1. When a copy is made of a template, the version of the copied template is set to 2.
Locked: Templates are initially locked for security purposes. Locked templates can not be edited. If you need to edit a template, create a copy of it and then edit the properties of the copy.
Type: Templates can be either ASP or XML. If the template type is ASP, there is an associated ASPX page that will be displayed for the Web Part. If the type is XML, then there is XSL stored in the database for the template. The XSL and the XML will generate HTML, which will display the Web Part. XSL template are stored in the database. ASP and ASPX files are in the inetpub directory.
Screen Size: Some templates have a fixed size. The dimensions are displayed in this column. If there are no dimensions, the Web Part will automatically fit the zone in which they are placed. If you need to control the size of a Web Part, you can create a copy of the template and then edit the properties of the copy.
# Parameters: The number of available inputs to the stored procedure associated with the template. This does not mean the number of required parameters for the stored procedure.
Stored Procedure: The name of the stored procedure used by the associated template.
Launch Type: The way the Web Part is displayed.
Template Filename: This is the file name for this Web part.
Template Preview Filename: This is the name of the image file used as a preview of the Web part.