Skip to main content
All CollectionseWizard.js frameworkMessenger ads
eWizard.js: Messenger ad settings
eWizard.js: Messenger ad settings

Configure the settings of a scaffolding messenger ad template

eWizard Team avatar
Written by eWizard Team
Updated over a year ago

The settings.json file in the project root directory stores the messenger ad template settings. When you initialize the messenger ad scaffolding template, this is the default configuration of the settings.json file.

{
"name": "messenger-ad-3",
"id": "a2bdcf85-47ff-49d9-bff9-d844e05852bb",
"metadata": {
"targetMessenger": {
"default": "wechat",
"current": "wechat"
}
},
"localization": {
"current": "eng",
"original": "",
"langs": [
"eng"
]
},
"clms": {
"irep": {
"assetFileNameTemplate": "{settings.name}_slide_{settings.id}",
"customSwipe": true,
"swipeSensitivity": 400,
"irepDisplayOrder": false,
"vault": {
"presentation": {
"name__v": "{settings.name}",
"title__v": "{settings.name}",
"external_id__v": "{settings.clms.irep.vault.presentation.name__v}_{settings.id}",
"clm_content__v": "false",
"cobrowse_content__v": "false",
"engage_content__v": "true",
"shareable_in_wechat_wec__v": "true",
"website__v.name__v": "Approved WeChat"
},
"keyMessage": {
"name__v": "{settings.name}_slide",
"title__v": "{settings.name}_slide",
"external_id__v": "{settings.clms.irep.assetFileNameTemplate}",
"clm_content__v": "false",
"engage_content__v": "true",
"crm_media_type__v": "HTML"
}
},
"crm": {
"presentation": {},
"keyMessage": {
"Name": "{settings.name}_slide",
"Product_vod__c": "",
"Description_vod__c": "{settings.name}_slide"
}
}
}
},
"browserslist": [
"last 2 versions"
]
}

Field

Description

name

The messenger ad template name.

id

The unique ID of the created messenger ad.

metadata

Information about the default and current target messenger. For more information, see Target messenger settings.

localization

Information about the current localization and available languages of the messenger ad template.

clms

Settings for messenger ad export to specific target systems.

browserslist

Define the supported browsers for demonstrating your messenger ad. This configuration is applicable in prefixing the CSS rules and polyfilling JS. The exporting engine applies these settings only when building the messenger ad for the target CLM app. For more information, see the Browserslist configuration syntax.

For more information about settings in other template types, see Configuration.

Did this answer your question?