Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Files Document myDocument.Files { get; }

Example

...

Code Block
languagejs
var doc = $Documents.Get(id);

var fileCount = doc.Files.length;

// access with index
var file = doc.Files[0];

// access with file id
var file2 = doc.Files[fileId];

...

Accessing Document Files

Code Block
languagejs
var doc = $Documents.Get(id);

var fileCount = doc.Files.length;

// access with index
var file = doc.Files[0];

// access with file id
var file2 = doc.Files[fileId];