createRecordInputFilteredByEditedFields(recordInput, originalRecord)

Creates a RecordInput object with a list of fields that have been edited from their original values to pass in a call to updateRecord(recordInput).

createRecordInputFilteredByEditedFields uses this User Interface API resource, but doesn’t support all its parameters.

  • recordInput—(Required) A RecordInput object to filter.
  • originalRecord—(Required) A Record object that contains the original field values.

An object with a list of fields that have been edited from their original values (excluding Id which is always included).