Settings
The settings.json file in the project root directory stores the social media post settings.
You can use the Settings plugin to access the social media post settings in raw and interpolated formats.
json
// ./settings.json
{
"name": "Forteris Social Media Template",
"id": "496fa82f78345802fab7910506042a8c",
"localization": {
"current": "eng",
"original": "",
"langs": [
"eng"
],
"country": "Argentina"
},
"targetCLM": {
"code": "instagram",
"name": "Instagram"
},
"screenshoter": {
"delay": 1000
},
"theme": {
"default": "light",
"current": "light",
"scheme": "scheme1"
},
"information": {
"brand": {
"id": "67f535342a01d413f93392be",
"name": "Viseven"
},
"target_system": {
"code": "instagram",
"name": "Instagram"
},
"type": {
"code": "post",
"name": "Post"
},
"aspect_ratio": {
"code": "1080x1080",
"name": "1:1 (Square)",
"width": 1080,
"height": 1080,
"ratio": "1:1"
}
}
}| Field | Description |
|---|---|
name | The social media post name. |
id | The unique ID of the created social media post. |
localization | Information about the current localization and available languages of the social media post. |
targetCLM | The code and name of the social network for which the post is created. For more information, see Target social networks. |
screenshoter.delay | The delay in milliseconds before eWizard takes the slide screenshot when you export the post. For more information, see Delay for generating screenshot. |
screenshoter.dpr | The device pixel ratio of the slide images when you export the post as an Assets package. The default value is 2. For example, a 1080×1080 slide is saved as a 2160×2160 image. |
theme | The default and current theme of the social media post. For more information, see Dynamic themes. |
information | Information about the brand, target social network, post type, and aspect ratio that you select when you create the social media post on the eWizard platform. |
Target social networks
The targetCLM.code field defines how the post is displayed in eWizard Editor and in the PDF export. You can use the following values:
| Social network | Code | Target display |
|---|---|---|
instagram | Carousel: the slides are shown one at a time, and the users scroll through them. | |
facebook | Grid: several slides are shown at once as a collage. | |
linkedin | Grid: several slides are shown at once as a collage. | |
| TikTok | tiktok | Single slide. |
For more information about settings in other template types, see Configuration.