Skip to content

chore: document per-doc attachment routing and inline-binary naming (cht-core#10903)#2226

Draft
benkags wants to merge 1 commit into
medic:mainfrom
benkags:10903-attachment-routing-docs
Draft

chore: document per-doc attachment routing and inline-binary naming (cht-core#10903)#2226
benkags wants to merge 1 commit into
medic:mainfrom
benkags:10903-attachment-routing-docs

Conversation

@benkags

@benkags benkags commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Description

Documents the attachment changes shipping in medic/cht-core#10923 (issues medic/cht-core#10903, medic/cht-core#10904), targeting 5.2.0:

  • building/forms/app.md — binary attachments are stored on the doc that owns the field (nearest db-doc="true" section, or the report); new user-file-<owner-relative-path> naming for inline binaries, with the reference stored as the field value. Existing docs keep their legacy names.
  • building/forms/configuring/additional-docs.md — new section on binary attachments on additional docs, including repeats and the fallback for fields outside any db-doc="true" section.
  • building/forms/contact.md — uploads in the contact group / child repeat attach to that contact's doc; attachment size validation now also applies to contact forms.

Do not merge before medic/cht-core#10923.

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

@benkags benkags changed the title chore(#10903): document per-doc attachment routing and inline-binary naming chore: document per-doc attachment routing and inline-binary naming (cht-core#10903) Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant