ebs.getOptionSetIdByName

Returns the ID of an option set based on its name.

Syntax

Copy
function ebs.getOptionSetIdByName(optionSetName: string): string | null;
 
Parameter Type Description
optionSetName string Name of the option set.

Return Value

Returns a string containing the corresponding option set ID or null if the provided option set name is not valid.

Examples