Skip to content

Opensearch dashboards.savedobjectsserializer.generaterawid

Home > opensearch-dashboards > SavedObjectsSerializer > generateRawId

SavedObjectsSerializer.generateRawId() method

Given a saved object type and id, generates the compound id that is stored in the raw document.

Signature:

generateRawId(namespace: string | undefined, type: string, id?: string): string;

Parameters

Parameter Type Description
namespace string | undefined The namespace of the saved object
type string The saved object type
id string The id of the saved object

Returns:

string