Custom Files

Page ID: (AU202500)

On this page, you manage the File items in the customization project. A File item contains the path to the custom file and the GUID of the file content in the file storage of the database. The path is relative to the website folder.

Tip: You open the Files page by clicking Files in the navigation pane of the Customization Project Editor.

Page Toolbar and More Menu

The page toolbar includes standard buttons and page-specific buttons and commands. For the list of standard buttons, see Page Toolbar. The page-specific commands can be shown as buttons on the page toolbar, as commands on the More menu, or in both places. These commands are listed in the following table in alphabetical order.

Command Description
Detect Modified Files

Runs the check for modified files and opens the Modified Files Detected dialog box if any files have been modified.

This process compares each file in the project (in the database) with the original file and detects the files modified in the file system. If any files have been modified, it opens the Modified Files Detected dialog box.

Table 1. Modified Files Detected Dialog BoxThis dialog box is displayed when you click Detect Modified Files on the More menu if you have modified any files of the customization project in the file system. The dialog box lists all custom and customized files in the website folder. The dialog box contains the following elements.
Element Description
Selected

A check box that you select to update the current file in the customization project.

Conflict

A check box that indicates (if selected) that the file version in the file system differs from the file version in the customization project.

Path

The path to the modified file.

This dialog box has the following buttons.
Update Customization Project

Updates the customization project with the file version from the file system.

Discard All Changes

Keeps the file version that exists in the customization project and discards the changes in the file system.

Table 2. Add Files Dialog BoxThis dialog box opens when you click Add New Record on the page toolbar. The dialog box contains a table that lists the files that you can add to the customization project.

The table toolbar includes only standard buttons. For the list of standard buttons, see Table Toolbar.

Element Description
The table in this dialog box contains the following columns.
Selected

A check box that indicates (if selected) that the current file will be added to the customization project.

Path

The path to the file.

Modified

The date when the file was modified.

Size

The size of the file.

This dialog box has the following buttons.
Save

Adds the selected files to the table on the page and closes the dialog box.

Cancel

Closes the dialog box without adding any files to the page.

Table 3. Edit File Dialog BoxThis dialog box opens when you click the name of the file in the table on the page. The dialog box contains the following elements. In the dialog box, you can review and edit a text file, or review the content of a binary DLL file.

If you have modified a custom file and saved the changes in the database, the changes are not saved in the original file in the file system. If you then click Detect Modified Files on the More menu, the system does not detect a conflict because the file in the database is newer. The system automatically updates the original file in the file system during the publication of the customization project.

The dialog box contains the following elements.

Element Description
Work Area

The area where you review and edit the file.

This dialog box has the following buttons.
Save

Saves the changes you have made to the file and closes the dialog box.

Tip: You cannot save changes to DLL files.
Cancel

Closes the dialog box without any changes.

Table

This table contains the list of custom files and the basic settings of each of them. The columns of the table are described below.

Element Description
Object Name

The name of the custom file in the customization project.

Third-Party Assembly

A check box that indicates (if selected) that the current file is a third-party assembly.

Description

The description of the custom file.

Last Modified By

The name of the user who last modified the file in the customization project.

Last Modified On

The date when the file was last modified in the customization project.