Scripting Reference

Introduction to Variables
Types of Variables
Conditional Statements
Loop Statements
Database/SQL Commands

Formatters

Core Statements

Variables / Operations

dcs.Var
dcs.With

Loops

dcs.For
dcs.ForEach
dcs.While
dcs.Until
dcs.Break
dcs.Continue

Conditionals

dcs.If
dcs.Else
dcs.ElseIf
dcs.Switch
dcs.Case

Functions / Libraries

dcs.Include
dcs.Script
dcs.Main
dcs.Result
dcs.Exit
dcs.Function
dcs.GlobalFunction
dcs.Return
dcs.CallFunc

Logging and Console

dcs.Console
dcs.Error
dcs.Warn
dcs.Info
dcs.Debug
dcs.Trace
dcs.Debugger

Services

dcs.CallService

Documents

dc.Out
dc.Include
dc.Template

TODO link to page with additional standard commands:

Special Statements

dcs.Global
dcs.IfErrored
dcs.Indirect
dcs.Eval
dcs.Progress
dcs.Sleep
dcs.ParseXml
dcs.ParseJson
dcs.TaskHelper
dcs.SendEmail
dcs.SendText
dcs.RemoteOp

dcDatabase

dcdb.Query
dcdb.QueryFirst
dcdb.LoadRecord
dcdb.LoadTenant
dcdb.UpdateRecord
dcdb.UpdateTenant
dcdb.InsertRecord
dcdb.RetireRecord

dcSql Support

dcdb.SqlSelect
dcdb.SqlSelectRow
dcdb.SqlSelectVar
dcdb.SqlExecute
dcdb.SqlInsertWriter
dcdb.SqlUpdateWriter
dcdb.SqlDeleteWriter

Configuration

dcs.CatalogSettings
dcs.ConfigGetTag
dcs.ConfigGetTagLocal
dcs.ConfigGetTagList
dcs.ConfigGetTagListDeep
dcs.ConfigGetTagListLocal
dcs.ResourceHelper
dcs.SchemaGetTypeDef
dcs.ScriptFindScript

Files / Streams

dcs.File
dcs.Stream

Misc

dcs.ScriptServiceSwitch
dcs.ScriptServiceSuccess
dcs.TranslationTemplate