Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This method returns the current file status code.

Return Value

A Number value set to the status code resulting from the most recent operation on the file.

Examples

Code Block
languagejavascript
titleRetrieve file status code
  myfile.getRecord(100);
  if (myfile.status() === 12) // Record not found
    doSomething();
     

RPG Equivalent

%STATUS(file_name)

Requirements

This API requires the Profound.js Connector module.