Skip to content

Commit 49bc253

Browse files
committed
Update custom-format-templating.md
1 parent 10b205d commit 49bc253

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/learn/export-pipeline/custom-format-templating.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ sidebar_position: 2
55
---
66

77
import WebhookEndpoints from '../\_webhook_endpoints.md';
8-
import WIP from '../\_wip.md';
98

109
# Custom format templating
1110

@@ -34,10 +33,6 @@ import WIP from '../\_wip.md';
3433
jp="https://shared-jp.custom-format-templating.rossum-ext.app/"
3534
/>
3635

37-
## Basic usage
38-
39-
<WIP issue="https://github.com/rossumai/university/issues/382" />
40-
4136
## Available configuration options
4237

4338
```json
@@ -77,6 +72,12 @@ Maximum five export configs can be defined per annotation export.
7772

7873
:::
7974

75+
:::warning
76+
77+
It is important to **sanitize fields** used in the template (remove new lines, special characters, etc. so that these special characters conform to the expected format specification). It is not possible to control the whole document format so the sanitization must be performed on a field-by-field basis.
78+
79+
:::
80+
8081
## Obtaining generated files
8182

8283
Outputs from the **Custom format templating** webhook are not available anywhere in the UI. Instead, they are stored as a "[document relation](https://elis.rossum.ai/api/docs/#document-relation)". To get the actual document content, you need to call two API endpoints. First, you need to get the relevant relation:

0 commit comments

Comments
 (0)