Function: LabelVariable(config)
A CatalogItem variable for a label field (display-only text).
Parameters
config
LabelVariableType<string>
Configuration for the label variable including:
Properties:
-
question (required):
string -
active (optional):
boolean -
alwaysExpand (optional):
booleanAlways expand -
attributes (optional):
stringAttributes of the variable -
category (optional):
stringCategory -
conversationalLabel (optional):
string -
createRoles (optional):
(string | Role)[] -
defaultValue (optional):
string | Type -
deliveryPlan (optional):
stringDelivery plan -
dependentQuestion (optional):
stringDependent question for dynamic default value -
description (optional):
stringDescription -
disableInitialSlotFill (optional):
boolean -
dotWalkPath (optional):
stringDot walk path for dynamic default value -
exampleText (optional):
string -
field (optional):
stringField to map (required when mapToField is true) -
global (optional):
booleanGlobal -
helpTag (optional):
string -
helpText (optional):
string -
instructions (optional):
string -
layout (optional):
'normal' | '2across' | '2down'Layout style for the container -
mapToField (optional):
booleanMap to field -
order (optional):
numberOrder in which the variable appears -
postInsertScript (optional):
stringPost insert script -
pricingDetails (optional):
PricingDetail[]Pricing details -
pricingImplications (optional):
booleanPricing implications -
readRoles (optional):
(string | Role)[] -
readScript (optional):
stringRead script -
removeFromConversationalInterfaces (optional):
booleanRemove from Conversational Interfaces -
showHelp (optional):
boolean -
tooltip (optional):
string -
unique (optional):
booleanUnique value -
useDynamicDefault (optional):
booleanUse dynamic default -
visibility (optional):
'Always' | 'Bundle' | 'Standalone'Visibility -
visibleBundle (optional):
boolean -
visibleGuide (optional):
booleanIndicates whether the variable is visible in guides -
visibleStandalone (optional):
booleanIndicates whether the variable is visible when standalone -
visibleSummary (optional):
booleanIndicates whether the variable is visible in summaries -
width (optional):
100 | 25 | 50 | 75Width of the variable -
writeRoles (optional):
(string | Role)[]