Table of Contents

Class WebsiteChannelSettingsModel

Namespace
Kentico.Xperience.Admin.Websites.UIPages
Assembly
Kentico.Xperience.Admin.Websites.dll

Represents website channel settings.

public sealed class WebsiteChannelSettingsModel
Inheritance
object
WebsiteChannelSettingsModel
Extension Methods

Properties

WebsiteChannelDefaultCookieLevel

Website channel cookie level.

[RequiredValidationRule]
public string WebsiteChannelDefaultCookieLevel { get; set; }

Property Value

string

WebsiteChannelHomePage

Website channel home page.

public string WebsiteChannelHomePage { get; set; }

Property Value

string

WebsiteChannelReCaptchaSecretKeyV2

Website channel reCAPTCHA secret key.

[VisibleIfEqualTo("WebsiteChannelReCaptchaVersion", "v2")]
[RequiredValidationRule]
[MaxLengthValidationRule(200)]
public string WebsiteChannelReCaptchaSecretKeyV2 { get; set; }

Property Value

string

WebsiteChannelReCaptchaSecretKeyV3

Website channel reCAPTCHA secret key.

[VisibleIfEqualTo("WebsiteChannelReCaptchaVersion", "v3")]
[RequiredValidationRule]
[MaxLengthValidationRule(200)]
public string WebsiteChannelReCaptchaSecretKeyV3 { get; set; }

Property Value

string

WebsiteChannelReCaptchaSiteKeyV2

Website channel reCAPTCHA site key.

[VisibleIfEqualTo("WebsiteChannelReCaptchaVersion", "v2")]
[RequiredValidationRule]
[MaxLengthValidationRule(200)]
public string WebsiteChannelReCaptchaSiteKeyV2 { get; set; }

Property Value

string

WebsiteChannelReCaptchaSiteKeyV3

Website channel reCAPTCHA site key.

[VisibleIfEqualTo("WebsiteChannelReCaptchaVersion", "v3")]
[RequiredValidationRule]
[MaxLengthValidationRule(200)]
public string WebsiteChannelReCaptchaSiteKeyV3 { get; set; }

Property Value

string

WebsiteChannelReCaptchaThreshold

Website channel reCAPTCHA threshold for ReCAPTCHA version 3.

[VisibleIfEqualTo("WebsiteChannelReCaptchaVersion", "v3")]
[RequiredValidationRule]
[MaximumDoubleValueValidationRule(1, ErrorMessage = "{$websites.websitechannel.settings.captcha.threshold.validation$}")]
[MinimumDoubleValueValidationRule(0, ErrorMessage = "{$websites.websitechannel.settings.captcha.threshold.validation$}")]
public double WebsiteChannelReCaptchaThreshold { get; set; }

Property Value

double

WebsiteChannelReCaptchaVersion

Website channel reCAPTCHA version.

public string WebsiteChannelReCaptchaVersion { get; set; }

Property Value

string

WebsiteChannelStoreFormerUrls

Indicates whether to store web page former URLs.

public bool WebsiteChannelStoreFormerUrls { get; set; }

Property Value

bool