You are here: Reference > Rule types > Text File rules > Text File rules - Completing the Main tab

Text File rules
Completing the Main tab

  1. About 
  2. New 
  3. Main 
  4. History 
  5. More... 

Complete this tab to describe and create or upload the text file.

Field

Description

Relative Path

Optional. Enter a subdirectory of the Web server directory that is identified by the first key part of the instance. For style sheets, enter css.

Compact JS

This field appears only when the file type is JS. Select to minify the JavaScript source code — making it require less workstation memory and shorter to transmit — for best performance. Clear to simplify JavaScript debugging.

File Source

Enter the contents of the rule. The text can contain JavaScript source code, HTML, style definitions, or other values.

Upload File

Click to upload a text file on your workstation into this rule. Save the rule form after the upload completes.

Download File

Click to extract the text from this rule into a temporary text file on your workstation, so you can edit or examine it.

Check JS Syntax

This button appears when the third key part of the rule is js.

If you have a JavaScript editor and debugger registered on your workstation as the editor for JavaScript files, click to open the editor and check JavaScript syntax.

Show JS DOC

Reserved; do not use.