Class CRMScriptResult
Object for returning information when validating a CRMScript
Carrier object for CRMScriptResult. Services for the CRMScriptResult Carrier is available from the CRMScript Agent.Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class CRMScriptResult : Carrier
Constructors
CRMScriptResult()
Default constructor
Declaration
public CRMScriptResult()
See Also
Properties
ErrorInformation
Contains error information if the validation failed
Declaration
[DataMember]
public virtual CRMScriptErrorInfo ErrorInformation { get; set; }
Property Value
| Type | Description |
|---|---|
| CRMScriptErrorInfo |
See Also
ErrorMessage
Deprecated, see ErrorInformation instead. Contains the error message for a non-valide CRMScript
Declaration
[DataMember]
public virtual string ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Includes
The unique ids of all depencies of this script (all resolved includes)
Declaration
[DataMember]
public virtual int[] Includes { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
See Also
LineNumber
Deprecated, see ErrorInformation instead. The line number containing the incorrect syntax, if available
Declaration
[DataMember]
public virtual int LineNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
SourceMaps
Array of source maps showing where in the original code a specific line originated from
Declaration
[DataMember]
public virtual CRMScriptSourceMap[] SourceMaps { get; set; }
Property Value
| Type | Description |
|---|---|
| CRMScriptSourceMap[] |
See Also
Transpiled
This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript
Declaration
[DataMember]
public virtual string Transpiled { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Valid
True if the CRMScript was successfully validated. If false, see the error message for details
Declaration
[DataMember]
public virtual bool Valid { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |