Versions Compared

Key

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

Overview

Gets the collection of attached files on document.

Files myDocument.Files { get; }

Example

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];