Microsoft KB Archive/928713

From BetaArchive Wiki
Knowledge Base


How to create a custom Web package for use with Expression Web

Article ID: 928713

Article Last Modified on 12/6/2006



APPLIES TO

  • Microsoft Expression Web



INTRODUCTION

This article describes how to create a custom Web package for use with Microsoft Expression Web.

MORE INFORMATION

A Web package is a bundled collection of files that you export or import for use in a Web site. A Web package uses an .fwp file name extension. You may want to create a Web package if you want to share or reuse Web pages, a Web site, a list, or a library structure. When you create a Web package, you can include the whole Web site in the package. Alternatively, you can include only the specific Web pages that you want. After you create a Web package, you can import and deploy the .fwp file to as many Web sites as you want.

A Web package can include Web pages, templates, Web components, themes, graphics, style sheets, and other elements. However, a Web package cannot contain list data, subsites, or security and permissions settings. When a Web site is moved as empty content, list data that is part of the original Web site does not move with the Web pages in the package. For example, a document library may contain a column that you created to track the status of documents. When you package the library, the package includes the documents, the custom column, and the settings for that column. The package does not include the data that indicates the status of the documents.

Notes

  • Do not add Universal Data Connection (UDC) files to a Web package. A UDC file is an XML file that is stored in the _fpdatasources folder. UDC files contain configuration information for a data source. Additionally, UDC files can contain passwords in plain text.
  • Do not package Microsoft SharePoint document or picture libraries that contain files. When other users import the Web package, those files will be added to their Web site.

To create your own custom Web package, follow these steps:

  1. Locate the following folder in Windows Explorer:

    Drive:\Documents and Settings\User_Name\Application Data\Microsoft\Expression\Web Designer\Packages

  2. On the File menu, point to New, and then click Folder.
  3. Name the folder, and then add the .tem file name extension to the name of the folder.

    Note All folders that contain Web package files must have the .tem file name extension.
  4. Start Expression Web.
  5. On the File menu, point to Export, and then click Personal Web Package.
  6. In the Files in Web site box, click the files or the folders that you want to add to a Web package, and then click Add.
  7. Identify the dependencies.

    Note The dependencies are additional files that the selected files require to work correctly.
    1. If the Dependency checking list is not available, click Show Dependencies.
    2. In the Dependency checking list, use one of the following methods:
      • To show all dependent files, click Check all dependencies.
      • To show all dependent files except pages that are linked by hyperlinks or by external files, such as external cascading style sheets, click Check all dependencies, except hyperlinks.
      • To hide dependent files, click Do not show dependencies.
  8. Click Add. Any dependent files are added according to the setting that you chose in step 7b.
  9. Click Properties, and then follow these steps:
    1. In the Title box, type a name for the Web package.
    2. In the Description box, type a description of the Web package.
    3. In the Author box, type the name that you want users to see when they view the properties for the Web package.
    4. In the Company box, type the name of your company, if you want.

      Note The properties provide information to users before they import the Web package. You must add this information before you save the package.
  10. Click OK two times.
  11. In the File name box, edit the default name for the Web package so that the name is the same as the folder that you created in step 2.
  12. Locate the following folder, and then click Save:

    Drive:\Documents and Settings\User_Name\Application Data\Microsoft\Expression\Web Designer\Folder_name.tem

  13. Close Expression Web.
  14. Open the following folder:

    Driver: \Documents and Settings\User_Name\Application Data\Microsoft\Expression\Web Designer\Folder_name.tem

    Note In this folder, the Folder_name.fwp file is the Web package file.
  15. In this folder, point to New on the File menu, and then click Text Document.
  16. Name the file Folder_name.inf.
  17. Open the Folder_name.inf file in Notepad, and then add the following text:

    [inf]
    title=Title Text
    description=Description Text

  18. Save the file, and then close the document.

When you create a new Web page or a new Web site by using Web packages, the New dialog box will contain a new list item that is named My Templates on the Web Site tab.

REFERENCES

For more information about how to create a custom Web package for use with Microsoft Office FrontPage 2003, click the following article number to view the article in the Microsoft Knowledge Base:

833696 How to create a custom Web package for use with FrontPage 2003


Keywords: kbhowto kbexpertiseinter KB928713