BlueprintRecordResult - gomeddo/js-sdk GitHub Wiki

Object containing the results of a BlueprintRecordRequest including methods to get the individual blueprint records.

Example

const blueprintRequest = gm.buildBlueprintRecordRequest()
    .withCondition(
        new Condition('Name', Operator.EQUAL, 'Parent Blueprint')
    )
    .includeAdditionalFields(new Set(['B25__Description__c', 'B25__Image_Url__c', 'B25__Duration__c']))
    .getResults()

numberOfBlueprintRecords

Syntax

numberOfBlueprintRecords()

Return value: The number of blueprint records in the result.

Description

Gets the number of blueprint records in the result.


getObjectIds

Syntax

getObjectIds()

Return value: A list of all the blueprint record ids in the result.

Description

Gets a list of all the blueprint record ids in the result.


getBlueprintRecord

Syntax

getBlueprintRecord(idOrName)

Parameters:

  • idOrName The id of name of the blueprint record you want to receive

Return value: The Blueprint matching the id or name.