ftos.data.insert

IMPORTANT!  
Starting with v24.3.0, this is renamed from insert to ftos.data.insert.

Adds a new record to an entity.

This is a data service method for business service components.

Syntax

function ftos.data.insert(entityName: string, values: any): string
 
Parameter Description
entityName Name of the entity where you wish to insert the record.
values Name – value pairs of the record's attributes in JSON format.

Return Value

Returns a string containing the ID of the created record.

Examples