eb_Config Class
Define eb_Config class.
Item Index
Methods
Properties
- eb_Config. AllowWaitListMeetingRegistration
- eb_Config.__requestverificationtoken
- eb_Config.__requestverificationtokenValue
- eb_Config.bluepayHPPCreditCardExpiryMonth
- eb_Config.bluepayHPPCreditCardExpiryYear
- eb_Config.companyAdmin_descriptionCharLength
- eb_Config.companyAdminDashboardURL
- eb_Config.companyAdminTimeOut
- eb_Config.CSRFDefenseInDepthToken
- eb_Config.CSRFDefenseInDepthTokenValue
- eb_Config.defaultDateFormat
- eb_Config.eventsDateFormat
- eb_Config.imageExtension
- eb_Config.largeImageURL
- eb_Config.loadDefaultImage
- eb_Config.loginPageURL
- eb_Config.relatedProductsDescriptionCharLength
- eb_Config.relatedProductsNameCharLength
- eb_Config.roundOffDigitsAfterDecimal
- eb_Config.SamlloginPageURL
- eb_Config.serviceErrorType
- eb_Config.ServicePath
- eb_Config.sessionExpirationInMin
- eb_Config.SitePath
- eb_Config.thumbnailImageURL
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
Anyoptions contains different parameter like templatePath and domElement..
-
controlCollection
AnyIt contains the details of control
eb_Config.getErrorMessageForControl
-
xhrResponseJSON
-
control
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
ObjectError response object returned by service after failure.Contains 'errorCode' and 'message' fields.
-
control
ObjectCalling control object.
Returns:
Error message.
eb_Config.getUrlParameter
-
parmName
Configuration setting: Get URL Parameter.
Parameters:
-
parmName
StringparmName
Returns:
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:
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.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.