rbf_updateRecord()
Purpose
This method modifies record values of a Platform object without changing UI presentation. If an error occurs
during the operation, an error notification procedure will be invoked (see rbf_setErrorsCallback). For fields that
allow values in multiple languages, you can specify those values using the fieldMap parameter. When updating field values, it only mandatory
to update a field value in the tenant's base language when that field does not already have
a value in the base language.
The current user must have Edit permission on the selected object type to run this API.
Syntax
rbf_updateRecord(objName, id, fieldMap, useIds,
callback, useLegacyDateFormat)
Parameters
objName
The integration name of the selected Object definition
id
ID of the selected Object record
fieldMap
A JSON object of the form: {"fieldIntegrationName1":value1, "fieldIntegrationName2":value2}. When
setting field values for multilingual fields, each value can be a JSON object, for
example:
{"fieldIntegrationName1":{"en":"EnglishValue1","ar":"ةشغشىن","fr":"FrenchValue1"},
"fieldIntegrationName2":{"en":"EnglishValue2","ar":"ةشغشىن","fr":"FrenchValue2"}}
useIds
If true, the API will accept numeric IDs; if
false (default) the API will return integration codes for status
fields and picklists
callback
A function to be executed when the operation is successful. It does not receive any parameters. This is an optional parameter.
useLegacyDateFormat
This optional parameter only applies to JSON output and, specifically, to Date and Date/Time fields. If
Note: This API is supported in portals as well.