You are here: Reference > Rule types > Text File rules > Text File rules - Completing the New or Save As form

Text File rules
Completing the Create, Save As, or Specialization form

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

Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You may copy data instances but they do not support specialization as they are not versioned.

Based on your use case, the Create, Save As, or Specialization form is used to create the record. The number of fields and available options vary by record type. Start by familiarizing yourself with the generic layout of these forms and their common fields:

This information identifies the key parts and options that are applicable to the record type you are creating.

Create a Text File rule by selecting Text File from the Technical category.

Key parts:

A Text File rule has three key parts:

Field

Description

App Name (Directory)

Enter the name of the Web server directory to place this file when it is extracts from the database. Subdirectories specific to the RuleSet and version are created to hold the extracted text file.

Identifier

Enter the name you choose for this file. Choose a name that is valid for both UNIX and Windows files. Use only lowercase letters.

File Type (extension)

Enter an extension for this type of file, with no period. For example enter css for Cascading Style Sheets, js for JavaScript, or htm for (static, pure) HTML. Enter htc for Dynamic HTML (DHTML) files.

The list of Windows file types that you can enter here is defined through a standard map value named Rule-File-Text.RuleFileTextTypes. You can add to this list by overriding that rule.

Rule resolution

When searching for text file rules, the system filters candidate rules based on a requestor's RuleSet list of RuleSets and versions.

Time-qualified and circumstance-qualified rule resolution features are not available for text file rules. The class hierarchy is not relevant to rule resolution of text file rules.

About Text File rules