Search

Module:Editor

Version:25.01 +

User:Developer

Object Type:Action Object

Parent of:

no children

Child of:

- Action

 

Description

A FileDeleter can be added as an action step to remove existing data file(s). This object can be used to delete temporary saved files.

Properties

Condition

This property indicates under which condition the FileDeleter is to be executed. If nothing is entered the FileDeleter will always be executed. If a condition is specified, the FileDeleter will only be executed if the condition is met. In the property a Formula of type Boolean can be entered as well as a Fixed or a Reference to another object of type Boolean.

DebugLogMode

Indicates the level of detail of debug information that is logged when running a Futurama application (website, webservice, console application) to the trace, a logfile, a database etc. The possible values are:

  • None: no debug information is logged
  • Simple: only basic information is given
  • Extended: in addition to the information in the Simple mode the values of all the properties of the object are shown

FileName

The property FileName has to contain the name of the file to be deleted, including the path. In the property a Formula of the type String can be entered as well as a Fixed or a Reference to another object of the type String. Note that wildcards are not permitted.

Note that the application has to have permission to delete the specified file. File permission errors are considered application permission issues, and will therefore not be displayed to the user (FileDeleter fails with a general error message). However, they will be logged explicitly if you have configured logging.

IsPublic

Possible values are True or False. If the value is False, then the object can only be used within the document where it is created. If the value is True, then also from other Futurama documents can be referred to this object. This means that changes in the object also affect the document in which is referred to this object. If the value is True and you attempt to move or delete the object, a warning will be given. To limit these warnings to a minimum it is recommended to set IsPublic to True only when necessary.

(Name)

The name of the object.

Comment

Here a comment can be entered. For example a short description of the object.

ID

The unique identification number of the object. This number is automatically generated by Futurama on the moment of creation. This number can be used when searching for a certain object in the Find Window.

Related Topics

- Action

Updated: 2025-01-28