import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
Optional
options: IdFlagConfig & {} & Partial<OptionFlag<undefined | string, IdFlagConfig>>import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is i
import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
// set length or prefix
'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
// add flag properties
'flag2': salesforceId({
required: true,
description: 'flag2 description',
}),
// override the character i
'flag3': salesforceId({
char: 'j',
}),
}
Id flag with built-in validation. Short character is
i