API Docs for:
Show:

eb_Config Class

Define eb_Config class.

Methods

eb_Config.config

(
  • options
  • controlCollection
)

Configuration setting: Pass site level configuration to a control on page startup. Site Path and Service Path will be passed in by default if not explicitly specified in options.

Parameters:

  • options Any

    options contains different parameter like templatePath and domElement..

  • controlCollection Any

    It contains the details of control

eb_Config.getErrorMessageForControl

(
  • xhrResponseJSON
  • control
)
String

Method to return error string. In case of error, the control will call this method to get proper error message. Method will return error message depending on the type of error code.

Parameters:

  • xhrResponseJSON Object

    Error response object returned by service after failure.Contains 'errorCode' and 'message' fields.

  • control Object

    Calling control object.

Returns:

String:

Error message.

eb_Config.getUrlParameter

(
  • parmName
)
Object

Configuration setting: Get URL Parameter.

Parameters:

  • parmName String

    parmName

Returns:

Object:

jQuery return promise object which contain the url parameter

eb_Config.retrieveCSRFTokens

() Object

Retrive CSRF Tokens method used to get tokens from user information service and set to the jqXHR.

Returns:

Object:

a promise that resolves with an object containing the headers __requestverificationtokenValue and CSRFDefenseInDepthTokenValue to add and their values to the non-get calls.

Properties

eb_Config. AllowWaitListMeetingRegistration

Bool

Configuration setting: Allow wait list meeting registration, default value would be true. Value of this attribute should be same as service web.config attribute value.

eb_Config.__requestverificationtoken

String

Configuration setting: request verification token key

eb_Config.__requestverificationtokenValue

String

Configuration setting: request verification token value

eb_Config.bluepayHPPCreditCardExpiryMonth

String

Configuration setting: Bluepay HPP credit card expiry date default settings

eb_Config.bluepayHPPCreditCardExpiryYear

String

Configuration setting: Bluepay HPP credit card expiry date default settings

eb_Config.companyAdmin_descriptionCharLength

String

Configuration setting: company admin show more functionality on UI, max char length

eb_Config.companyAdminDashboardURL

String

Configuration setting: CompanyAdmin Dashboard URL path.

eb_Config.companyAdminTimeOut

String

Configuration setting: CompanyAdmin timeOut, typically for Search functionality. When user stops typing in search text-box, then search function will be called with 500 milliseconds delay.

eb_Config.CSRFDefenseInDepthToken

String

Configuration setting: CSRF Defense In Depth Token Key.

eb_Config.CSRFDefenseInDepthTokenValue

String

Configuration setting: CSRF Defense In Depth Token Value.

eb_Config.defaultDateFormat

String

Configuration setting: Consistent date format (MM/DD/YYYY) on all the pages.

eb_Config.eventsDateFormat

String

Configuration setting: Consistent date format for events pages.

eb_Config.imageExtension

String

Configuration setting: Thumbnail and Large image extension.

eb_Config.largeImageURL

String

Configuration setting: Large image folder path.

eb_Config.loadDefaultImage

String

Configuration setting: This property will load default image [No Photo Available Image] instead original one for product.

eb_Config.loginPageURL

String

Configuration setting: Login page URL path.

eb_Config.relatedProductsDescriptionCharLength

String

Configuration setting: Maximum character length for product description displayed on related products widget. Recommended value is 80 characters.

eb_Config.relatedProductsNameCharLength

String

Configuration setting: Maximum character length for product name displayed on related products widget. Recommended value is 18 characters.

eb_Config.roundOffDigitsAfterDecimal

Number

Configuration setting: Digit after decimal number.

eb_Config.SamlloginPageURL

String

Configuration setting: SAML Login page URL path.

eb_Config.serviceErrorType

Object

Configuration setting: service error type.

eb_Config.ServicePath

String

Configuration setting: This is Service URL.

eb_Config.sessionExpirationInMin

Bool

Session expired in minutes.

eb_Config.SitePath

String

Configuration setting: This is site URL.

eb_Config.thumbnailImageURL

String

Configuration setting: Thumbnail image folder path.