Skip to main content
Defines the look of the chat widget. Carrier object for ChatWidgetSettings.

Constructors

NSChatWidgetSettings()

Initializes a new instance of the NSChatWidgetSettings class.

Methods

GetAutoFaqCategory()

Returns: CRMScript.NetServer.NSKbCategory - Root folder for FAQ suggestions. Example:

GetAutoFaqEnabled()

Returns: CRMScript.Global.Bool - Enable automatic FAQ suggestions. Example:

GetColor()

Returns: CRMScript.Global.String - The base color of the widget. Example:

GetFont()

Returns: CRMScript.Global.String - The font used in the widget. Example:

GetLanguageIsoCode()

Returns: CRMScript.Global.String - The language ISO code for the widget language. Example:

GetLogoBlobId()

Returns: CRMScript.Global.Integer - Blob ID that contains logo image. Example:

GetLogoEnabled()

Returns: CRMScript.Global.Bool - Indicates if the logo should be shown in the widget. Example:

GetLogoName()

Returns: CRMScript.Global.String - filename/description of logo (from blob). Example:

GetOfflineFields()

Returns: CRMScript.Global.Integer - Required field when creating ticket in offline mode. See <xref href=“CRMScript.NetServer.WidgetRequiredFields” data-throw-if-not-resolved=“false”></xref> Example:

GetOfflineHeader()

Returns: CRMScript.Global.String - Offline text shown in widget header. Example:

GetOfflineMessage()

Returns: CRMScript.Global.String - Offline message shown in widget. Example:

GetPostFormEnabled()

Returns: CRMScript.Global.Bool - Enable post chat form. Example:

GetPostFormHeader()

Returns: CRMScript.Global.String - Header text to show in post chat form. Example:

GetPostFormMessage()

Returns: CRMScript.Global.String - Message text to show in post chat form. Example:

GetPostTranscriptEnabled()

Returns: CRMScript.Global.Bool - Enable transcript of chat session. Example:

GetPreFormEnabled()

Returns: CRMScript.Global.Bool - Enable pre-chat form for anonymous users. Example:

GetPreFormMessage()

Returns: CRMScript.Global.String - Message to be shown in a pre-chat. Example:

GetRequiredFields()

Returns: CRMScript.Global.Integer - Fields required to start a chat. See <xref href=“CRMScript.NetServer.WidgetRequiredFields” data-throw-if-not-resolved=“false”></xref> Example:

GetShowAgentPhoto()

Returns: CRMScript.Global.Bool - Use agent photo and name when chatting. Example:

GetSize()

Returns: CRMScript.Global.Integer - Chat widget size - normal or large. See <xref href=“CRMScript.NetServer.ChatWidgetSize” data-throw-if-not-resolved=“false”></xref>. Example:

GetTheme()

Returns: CRMScript.Global.Integer - Predefined themes for the chat widget. See <xref href=“CRMScript.NetServer.WidgetTheme” data-throw-if-not-resolved=“false”></xref> Example:

GetWelcomeMessage()

Returns: CRMScript.Global.String - Short message displayed as long as the request is in queue or active. Example:

GetWelcomeTitle()

Returns: CRMScript.Global.String - Short welcome message when user initiates a chat. Example:

SetAutoFaqCategory(NSKbCategory)

Returns: CRMScript.Global.Void Example:

SetAutoFaqEnabled(Bool)

Returns: CRMScript.Global.Void Example:

SetColor(String)

Returns: CRMScript.Global.Void Example:

SetFont(String)

Returns: CRMScript.Global.Void Example:

SetLanguageIsoCode(String)

Returns: CRMScript.Global.Void Example:

SetLogoBlobId(Integer)

Returns: CRMScript.Global.Void Example:

SetLogoEnabled(Bool)

Returns: CRMScript.Global.Void Example:

SetLogoName(String)

Returns: CRMScript.Global.Void Example:

SetOfflineFields(Integer)

Returns: CRMScript.Global.Void Example:

SetOfflineHeader(String)

Returns: CRMScript.Global.Void Example:

SetOfflineMessage(String)

Returns: CRMScript.Global.Void Example:

SetPostFormEnabled(Bool)

Returns: CRMScript.Global.Void Example:

SetPostFormHeader(String)

Returns: CRMScript.Global.Void Example:

SetPostFormMessage(String)

Returns: CRMScript.Global.Void Example:

SetPostTranscriptEnabled(Bool)

Returns: CRMScript.Global.Void Example:

SetPreFormEnabled(Bool)

Returns: CRMScript.Global.Void Example:

SetPreFormMessage(String)

Returns: CRMScript.Global.Void Example:

SetRequiredFields(Integer)

Returns: CRMScript.Global.Void Example:

SetShowAgentPhoto(Bool)

Returns: CRMScript.Global.Void Example:

SetSize(Integer)

Returns: CRMScript.Global.Void Example:

SetTheme(Integer)

Returns: CRMScript.Global.Void Example:

SetWelcomeMessage(String)

Returns: CRMScript.Global.Void Example:

SetWelcomeTitle(String)

Returns: CRMScript.Global.Void Example: