Click or drag to resize
StrandsSettingsIsStrandsEnabled Method
Gets boolean indicating if Strands module is enabled. Module is enabled if both API ID and Validation token are set in settings.

Namespace: CMS.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 11.0.0
Syntax
C#
public static bool IsStrandsEnabled(
	string siteName
)

Parameters

siteName
Type: SystemString
Site name where settings are checked

Return Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentNullExceptionsiteName is null
See Also