2022.2

Table Of Contents
l
JavaScript:TheresultofaJavaScriptExpression.
l
Expression:TheJavaScriptlinethatisevaluated.Notethatthelastvalueattributiontoa
variableistheoneusedasaresultoftheexpression.Seealso:"DataMapperScriptsAPI"
onpage360.
l
Use JavaScript Editor:ClicktodisplaytheEditScriptdialog(see"Usingscriptsinthe
DataMapper"onpage362).
l
Use selected text:InsertsthetextinthecurrentdataselectionintheJavaScriptExpres-
sion.Ifmultiplelinesorelementsareselected,onlythefirstoneisused.
l
Data Property:Thevalueofadata-levelpropertysetinthePreprocessorstep(see"Steps"on
page248).
l
Record Property:Oneofthelocalvariablesthatyoucancreateandthatareresetforeachdoc-
umentasopposedtodatavariablesthatareglobalbecausetheyareinitializedonlyonceatthe
beginningofeachjob.
l
Automation Property:ThecurrentvalueofaDocument-levelpropertysetinthePreprocessor
step(see"Steps"onpage248).
l
Extractor Property:Thevalueofaninternalextractorvariable:
l
Counter:ThevalueofthecurrentcounteriterationinaRepeatstep.
l
Vertical Position:Thecurrentverticalpositiononthepage,eitherinMeasure(PDF)or
Line(TextandCSV).
Condition
TheConditiondrop-downdisplaysthecasesinlistform.Threebuttonsareavailablenexttothelist:
l
Add case:Clicktoaddanewcasetothestep.Itwillbeplacednexttoanyexistingcases.
l
Remove case:Deletethecurrentlyselectedcase.
l
Order Cases:UndertheNamecolumn,selectacase,thenclickoneofthebuttonsontheright
(Delete,Move Up,Move Down)todeleteorchangetheorderofthecasesinthelist.
Operators
Caseconditionsaremadebycomparisonofthetwooperands,leftandright,usingaspecificOperator.
l
is equal to:ThetwospecifiedvalueareidenticalfortheconditiontobeTrue.
l
contains:ThefirstspecifiedvaluecontainsthesecondonefortheconditiontobeTrue.
l
is less than:Thefirstspecifiedvalueissmaller,numerically,thanthesecondvalueforthecon-
ditiontobeTrue.
Page 351