ECE Style
Example CSS file mystyles.zip
Twitter icon icon_twitter.zip
template.json file
- template.json
{ "template": { "base": { "version": "21.0.0", "name": "aria", "description": "Aria Chat Template" } }, "custom": { "configs": { "allConfigs": { "customComponentConfig": { "configPath" : "custom/my-component-config.json" }, "preferences": { "defaultLocale": "en-US", "faviconUrl": "../core/common/media/21.0.0/icon_favicon.ico", "appContextPath": "", "showMaximizedChatWindowShadow": true, "maximizedChatWindowPosition": "right-bottom", "chatButtonPosition": "right-bottom", "vaButtonPosition": "right-bottom", "enableAutologin": false, "pageLoadingIndicator": "spinner", "loginParameters": [ { "eGainAttributeName": "full_name", "eGainParentObject": "casemgmt", "eGainChildObject": "individual_customer_data", "primaryKey": false, "controlType": "text", "label": "EG_FULLNAME", "required": true, "minLength": "1", "maxLength": "120", "validationPattern": "^[^<>]+$" }, { "eGainAttributeName": "email_address", "eGainParentObject": "casemgmt", "eGainChildObject": "email_address_contact_point_data", "primaryKey": true, "controlType": "text", "label": "EG_EMAIL_ADDRESS", "required": true, "minLength": "1", "maxLength": "250", "validationPattern": "^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\ \".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA -Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$" }, { "eGainAttributeName": "subject", "eGainParentObject": "casemgmt", "eGainChildObject": "activity_data", "controlType": "textarea", "label": "EG_QUESTION", "required": true, "primaryKey": false, "minLength": "0", "maxLength": "400", "validationPattern": "" } ], "alternateContactOptions": { "phone": { "label": "EG_ALT_CONTACT_PHONE", "image": "icon_phone_call_1", "url": "tel:+35315551234" }, "email": { "label": "EG_ALT_CONTACT_TWITTER", "image": "icon_twitter", "url": "https://twitter.com/gerardorourke1" }, "faq": { "label": "EG_ALT_CONTACT_FAQ", "image": "icon_faq_1", "url": "https://orourke.tv/help-centre" } }, "deflectionConfiguration": { "enableDeflection": false, "searchPortalId": 0, "knowledgeApiContextPath": "", "chatLocaleKBLanguageMap": { "da-DA": "da-DK", "fr-CA": "fr-FR", "ko-KO": "ko-KR", "sv-SV": "sv-SE" } }, "chatWaitStatistic": "WAIT_TIME", "domainRegex": ".*", "hideDockedChatIconForDuplicateChat": true, "multiSubDomainSupport": { "IsRequired": false, "CookieParentDomain": "", "CookiePath": "/", "IsCookieSecured": true }, "messageDateTimeFormat": "shortTime", "surveyType": "interactive", "externalSurveyURL": "", "surveyQuestions": [ { "questionText": "EG_SURVEY_QUESTION_1", "controlType": "STAR", "minRating": 1, "maxRating": 5, "ratingTooltip": [ "EG_POOR", "EG_FAIR", "EG_GOOD", "EG_VERY_GOOD", "EG_EXCELLENT" ] }, { "questionText": "EG_SURVEY_QUESTION_2", "controlType": "STAR", "minRating": 1, "maxRating": 5, "ratingTooltip": [ "EG_POOR", "EG_FAIR", "EG_GOOD", "EG_VERY_GOOD", "EG_EXCELLENT" ] }, { "questionText": "EG_SURVEY_QUESTION_3", "controlType": "STAR", "minRating": 1, "maxRating": 5, "ratingTooltip": [ "EG_POOR", "EG_FAIR", "EG_GOOD", "EG_VERY_GOOD", "EG_EXCELLENT" ] }, { "questionText": "EG_SURVEY_QUESTION_4", "controlType": "TEXTAREA" } ] } } }, "media": { "allMedia": { "default": { "folderPath": "custom/media" }, "fileMap": { "icon_twitter": "icon_twitter.png" } } }, "css": { "allCss": { "custom": { "cssPath": "custom/css/mystyles.css" } } }, "l10ns": { "allL10ns": { "custom": { "folderPath": "custom/my110n", "languages": { "en-US": true }, "messaging": { "en-US": false } } } } } }