OpenWGA 7.0 - TMLScript reference

FileIndexType
Property :

fileSizeLimit

On object FileIndexType
Usage Returns the maximum file size for indexed files
Description

Files that are matched via this rule will only be indexed if their file size is lower or equal than this value. Larger files are not indexed. 

The size of indexed files is limited mostly to protect the servers health, because indexing large files takes up much memory. A value of 0 means that no file is indexed that matches this rule. A value of -1 means all files are indexed, no matter the size.

Return value Maximum file size in bytes (Number)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events