> For the complete documentation index, see [llms.txt](https://help.smallbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smallbuilder.com/ko/smallbuilder-documents/data-merge/data-merge-text.md). Agents can also search and read this documentation through its [MCP server](https://help.smallbuilder.com/~gitbook/mcp).

# Data Merge - Text

Text를 입력할 수 있는 Component에서의 데이터 병합

1. Component의 설정 아이콘을 클릭하거나\
   Canvas에서 해당 Component 영역을 클릭하여\
   Component 설정 패널로 이동합니다.

***

<div align="left"><figure><img src="https://3985481653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA2fSsDo5KsIVkUoDIV1b%2Fuploads%2Fgit-blob-43c7c8ed599fbbb47ef225e51b5992502e242c73%2Fsbdm-322-text-settings.png?alt=media" alt="텍스트 컴포넌트 설정" width="377"><figcaption></figcaption></figure></div>

2. 병합된 필드를 삽입하고 싶은 곳에 커서를 위치합니다.
3. 입력란 오른쪽 아래의 `Enter some text & field` 버튼을 클릭합니다. 사용자 지정 레이블을 넣을 때는 `labels` 버튼을 클릭합니다.

***

<div align="left"><figure><img src="https://3985481653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA2fSsDo5KsIVkUoDIV1b%2Fuploads%2Fgit-blob-f91aa7082ba7145dc309dda1bff1dd93050e9c41%2Fsbdm-322-field-picker.png?alt=media" alt="필드 선택" width="500"><figcaption></figcaption></figure></div>

4. 원하는 필드를 선택합니다. 조회 필드는 오른쪽 화살표를 눌러 상위 개체의 필드를 선택할 수 있습니다.

***

<div align="left"><figure><img src="https://3985481653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA2fSsDo5KsIVkUoDIV1b%2Fuploads%2Fgit-blob-e28397f521ae54edb353f3c05542767db554e10b%2Fsbdm-322-date-format.png?alt=media" alt="형식 선택" width="373"><figcaption></figcaption></figure></div>

5. 숫자 · 날짜 · 날짜/시간 · 체크박스 필드를 선택하면 `Format` 창이 표시됩니다. 출력 형식을 선택하고 `Confirm`을 클릭합니다. 기본값은 사용자의 로케일 기준 형식(`Formatted according to the user's locale`)입니다.

| 필드 유형         | 선택할 수 있는 형식                                                                                                                             |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| 숫자 · 통화 · 백분율 | 0,000 / 0,000.00 / 0.000 / 0.000,00 / 사용자의 로케일 기준(필드에 정의된 소수 자릿수로 반올림)                                                                  |
| 날짜            | yyyy/MM/dd, yyyy.MM.dd, yyyy-MM-dd, dd/MM/yyyy, dd.MM.yyyy, dd-MM-yyyy, dd/MMM/yyyy, dd.MMM.yyyy, dd MMM yyyy, MM/dd/yyyy / 사용자의 로케일 기준 |
| 날짜/시간         | 날짜 형식 뒤에 HH:mm:ss를 붙인 10가지 / 사용자의 로케일 기준                                                                                                |
| 체크박스          | Yes / No, Checked / UnChecked, 예 / 아니요, T / F, True / False, ☑ / ☐                                                                      |

***

6. 커서가 위치했던 곳에 병합된 필드가 `{{!필드 레이블(xxxx)}}` 형식으로 삽입됩니다.

{% hint style="info" %}
폼(Forms)으로 사용하는 템플릿에서는 대상 개체를 지정한 경우에만 필드를 병합할 수 있습니다.
{% endhint %}
