Skip to main content

Class CRMScriptResult

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for CRMScriptResult. Object for returning information when validating a CRMScript

Inheritance

objectCarrierCRMScriptResult

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

CRMScriptResult()

Default constructor - defaults any enum props to 0.

Properties

ErrorInformation

Contains error information if the validation failed

Property Value

CRMScriptErrorInfo

ErrorMessage

Deprecated, see ErrorInformation instead. Contains the error message for a non-valide CRMScript

Property Value

string

Includes

The unique ids of all depencies of this script (all resolved includes)

Property Value

int[]

LineNumber

Deprecated, see ErrorInformation instead. The line number containing the incorrect syntax, if available

Property Value

int

SourceMaps

Array of source maps showing where in the original code a specific line originated from

Property Value

CRMScriptSourceMap[]

Transpiled

This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript

Property Value

string

Valid

True if the CRMScript was successfully validated. If false, see the error message for details

Property Value

bool

See Also

CRMScriptAgent