Page tree

Versions Compared

Key

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

The value returned by this method can be passed to file.update() to control which fields are updated in the record. 

Parameters

Field name - this parameter can be repeated as many times as needed.

Return Value

A list of field names that can be passed as the last argument to file.update(). If the field list is not specified, all fields in the record are updated.

Example

Code Block
languagejavascript
titleUpdate selected fields only
var updateFile = pjs.defineTable("updateFile", { read: true, update: true });
updateFile.fetchNext();
field1 = 100;
field2 = 200;
updateFile.update("recName", pjs.fields(field1, field2));

RPG Equivalent 

%FIELDS()

Requirements

This API requires the Profound.js Connector module.