Creating the SiteRequest form
The SiteRequest
form will be used to log the site requests with the related configuration settings and approval status. As we need this form to be available globally we will use an application page, which is deployed via our feature and available throughout the farm. This will also enable us to show or hide fields as needed and include advanced business logic, which provides significantly more flexibility than standard SharePoint list forms.
To get started we will need to map a folder within the Layouts
directory.
To map the folder and create the files:
1. Right-click on the project and select the Add node then select the SharePoint "Layouts" Mapped Folder option.
2. Rename the newly created folder to
SPBlueprintsSiteCreation
without the period.3. Right-click on the folder and select the AddNewItem option.
4. From the SharePoint 2010 category, select the ApplicationPage option and provide the name
RequestSite.aspx
.5. Click on the Add button as shown in the following...