Copying the Sub Site Templates Folder

You should copy the Sub Site Templates folder before you modify any of the objects it contains. When you use a copy of the template, you ensure that you keep the original template job and retain access to its default values.
Perform the following steps to copy and prepare the subsite template:
  1. Right-click the Sub Site Templates folder. Then, click Copy in the pop-up menu.
  2. Right-click the folder where you want to paste the template. Then, click Paste Special in the pop-up menu to access the Paste Special wizard. For example, you can paste the folder into the Shared Data folder if you want other users to have access to the new template.
    Note: The decision to select Paste Special rather than Paste is very important. If you select Paste, then the paths in your copied job all point to the same paths used in the original templates. Paste Special provides you the opportunity to change these paths while creating the copy.
    Click Next to work through the pages in the wizard. You should leave all the objects selected in the Select Objects to Copy page. The SAS Application Servers page enables you to specify a default SAS application server to use for the jobs that you are copying. The Directory Paths page enables you to change the directory paths for objects such as SAS libraries. Click Finish when you complete the pages.
  3. Rename (if desired) and expand the new Sub Site Templates folder that was just copied. Then, open the properties window for the two jobs in the 2.1 Jobs folder and rename them. For example, you can gather Web log data that originates from a Web site designated as Site 1. In that case, you can rename the clk_0010_setup_sub_site job to clk_0010_setup_sub_site_Site1 and the clk_0020_sub_site_tables job to clk_0020_sub_site_tables_Site1.
  4. If you modified the directory paths when copying the multiple log templates, then open the renamed clk_0010_setup_sub_site job and modify the Setup transformation properties. If you modified the Directory Paths when copying the Sub Site Template, then open the properties on the renamed clk_0010_setup_sub_site job. (Otherwise, proceed to step 5.) Then, on the Options tab, modify the values in the Root Directory and Template DirectoryName fields to match the directory paths that you specified when creating the copy of this template. If you did not change the default values, then no changes should be required.
  5. Run the renamed clk_0010_setup_sub_site job. This job creates the necessary folders and sample data to support the renamed clk_0020_sub_site_tables job.
  6. Open the job properties window in the renamed clk_0020_sub_site_tables job. Then, edit the EMAILADDRESS parameter in the Parameters tab.
    • First, select the EMAILADDRESS row in the table.
    • Second, click Edit to access the Edit Prompt window.
    • Third, click Prompt Type and Value and enter the e-mail address to use for any failure notification messages in the Default value field.
    • Fourth, click OK to exit the job properties window.
  7. Open the properties window for the Clickstream Log transformation and specify the appropriate value in the File name field on the File Location tab.