Skip to content
Snippets Groups Projects
Commit 61def368 authored by Jason Colyer's avatar Jason Colyer
Browse files

Adding info about dynamic content

parent ebbbeed2
No related branches found
No related tags found
Loading
......@@ -64,6 +64,7 @@ information on these, see the documentation page of the item itself.
| Calendly Events to gCal Events | Ad hoc |
| CMP Scripts | Ad hoc |
| Customer Feedback Processor | Ad hoc |
| Dev Pulse | Ad hoc |
| DEWR | Ad hoc |
| Enable US Gov Support scripts | Ad hoc |
| GDPR Request Processor | Ad hoc |
......@@ -82,6 +83,7 @@ information on these, see the documentation page of the item itself.
| Zendesk Apps | Standard |
| Zendesk Articles | Ad hoc |
| Zendesk Automations | Standard |
| Zendesk Dynamic Content | Standard |
| Zendesk Groups | Standard |
| Zendesk Macros | Ad hoc |
| Zendesk Organization Fields | Standard |
......
......@@ -129,6 +129,7 @@ broken pipelines, deployments, etc.
| Apps | v2 | N/A | [zendesk-global/apps](https://gitlab.com/gitlab-support-readiness/zendesk-global/apps) |
| Articles | v2 | N/A | [zendesk-global/articles](https://gitlab.com/gitlab-support-readiness/zendesk-global/articles) |
| Automations | v2 | [zendesk-global/automations](https://gitlab.com/gitlab-com/support/zendesk-global/automations) | [zendesk-global/automations](https://gitlab.com/gitlab-support-readiness/zendesk-global/automations) |
| Dynamic Content | v2 | N/A | [zendesk-global/dynamic-content](https://gitlab.com/gitlab-support-readiness/zendesk-global/dynamic-content) |
| Groups | v2 | N/A | [zendesk-global/groups](https://gitlab.com/gitlab-support-readiness/zendesk-global/groups) |
| Macros | v2 | [zendesk-global/macros](https://gitlab.com/gitlab-com/support/zendesk-global/macros) | [zendesk-global/macros](https://gitlab.com/gitlab-support-readiness/zendesk-global/macros) |
| Organization Fields | v2 | N/A | [zendesk-global/organizations/fields](https://gitlab.com/gitlab-support-readiness/zendesk-global/organizations/fields) |
......
---
title: Dynamic Content
description: Support Operations documentation page for Zendesk dynamic content
canonical_path: "/handbook/support/readiness/operations/docs/zendesk/dynamic_content"
---
## What is Zendesk dynamic content?
As per
[Zendesk](https://support.zendesk.com/hc/en-us/articles/4408882999066-Providing-multiple-language-support-with-dynamic-content):
> Dynamic content is a combination of a default version of the text (typically
> in the same language as your default language) and variants for every other
> language that you support.
### Change management
Keep in mind, all change management should be stemming from an issue, first and
foremost.
#### Creating a dynamic content item
This is completely done via the
[sync repo](https://gitlab.com/gitlab-support-readiness/zendesk-global/dynamic-content)
itself. Simply create the YAML file within the `data` folder. You can use other
dynamic content item files for an example of doing this, but in general the
template is:
```yaml
---
---
name: 'NAME_OF_ITEM'
placeholder: 'PLACEHOLDER_ZENDESK_WOULD_USE'
default_locale_id: 1 # English
variants:
- content: 'TEXT_TO_USE_FOR_LOCALE'
locale_id: 1 # English
active: true
default: true
```
Where:
- `NAME_OF_ITEM` is the name of the dynamic content item
- `PLACEHOLDER_ZENDESK_WOULD_USE` is the placeholder value Zendesk would
generate. This is usually the name in all lowercase with spaces replaced with
underscores and proceeded by `dc.` (all grouped in double curly brackets). An
example would be `Preferred Region for Support` becoming
`{{dc.preferred_region_for_support}}`. If you are unsure of what your
placeholder would be, a neat trick is to go into the Zendesk instance's
Sandbox and create the dynamic content item in the admin panel, then look at
what it generates (make sure if you do this to delete it afterwards).
- `TEXT_TO_USE_FOR_LOCALE` is the text the variant would use for the locale in
question
#### Deleting a dynamic content item
This is completely done via the
[sync repo](https://gitlab.com/gitlab-support-readiness/zendesk-global/dynamic-content)
itself. Simply delete the YAML file within the `data` folder.
### Source Projects
#### Zendesk Global
- [Sync repo project](https://gitlab.com/gitlab-support-readiness/zendesk-global/dynamic-content)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment