# Camunda modeler, forms - how to creat file upload fileld?

**URL:** <https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139>\
**Category:** Camunda 7 Topics\
**Created:** [September 21, 2024, 5:10pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139 "2024-09-21T17:10:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkelton](https://forum.camunda.io/user_avatar/forum.camunda.io/mkelton/32/14452_2.png) [@mkelton](https://forum.camunda.io/u/mkelton)\
**Post date:** [September 21, 2024, 5:10pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/1 "2024-09-21T17:10:35Z")

</div>

Hello,

how to handle attachments in Forms?  
In Camunda 7, Camunda Modeler (not embeded html forms).  
Is there any way to place some code in “components” section of \*.form file?

Thanks for help

---

<div class="post-metadata">

**Author:** ![cpbpm](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@cpbpm](https://forum.camunda.io/u/cpbpm)\
**Post date:** [September 21, 2024, 5:29pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/2 "2024-09-21T17:29:49Z")

</div>

did you check out the code samples?

> **[camunda-7-code-examples/snippets/upload-and-deploy-processes/src/main/webapp/for...](https://github.com/camunda-consulting/camunda-7-code-examples/tree/main/snippets/upload-and-deploy-processes/src/main/webapp/forms)**
>
> Examples and demo applications built by the camunda consulting team - camunda-consulting/camunda-7-code-examples

---

<div class="post-metadata">

**Author:** ![mkelton](https://forum.camunda.io/user_avatar/forum.camunda.io/mkelton/32/14452_2.png) [@mkelton](https://forum.camunda.io/u/mkelton)\
**Post date:** [September 21, 2024, 5:32pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/3 "2024-09-21T17:32:21Z")

</div>

Thanks but these are embeded forms; html.  
My question is about Camunda Modeler and Form create option.

---

<div class="post-metadata">

**Author:** ![cpbpm](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@cpbpm](https://forum.camunda.io/u/cpbpm)\
**Post date:** [September 21, 2024, 5:37pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/4 "2024-09-21T17:37:16Z")

</div>

Take a look at how to customize Camunda Modeler forms.

> **[form-js-examples/custom-components at master · bpmn-io/form-js-examples](https://github.com/bpmn-io/form-js-examples/tree/master/custom-components)**
>
> A collection of form-js examples. Contribute to bpmn-io/form-js-examples development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![mkelton](https://forum.camunda.io/user_avatar/forum.camunda.io/mkelton/32/14452_2.png) [@mkelton](https://forum.camunda.io/u/mkelton)\
**Post date:** [September 21, 2024, 5:46pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/5 "2024-09-21T17:46:12Z")

</div>

Sorry, I do not get how could I use this example to create upload input ☹

---

<div class="post-metadata">

**Author:** ![mkelton](https://forum.camunda.io/user_avatar/forum.camunda.io/mkelton/32/14452_2.png) [@mkelton](https://forum.camunda.io/u/mkelton)\
**Post date:** [September 24, 2024, 11:36am UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/6 "2024-09-24T11:36:06Z")

</div>

Anyone? I’m the only one who needs attachments in process?

---

<div class="post-metadata">

**Author:** ![asalhani](https://forum.camunda.io/user_avatar/forum.camunda.io/asalhani/32/30962_2.png) [@asalhani](https://forum.camunda.io/u/asalhani)\
**Post date:** [September 28, 2024, 3:42am UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/7 "2024-09-28T03:42:48Z")

</div>

@mkelton : as @cpbpm mentioned, your best option is to customize form-js librery by adding your custom compoenent which include \<input …\> for file upload.

The 2nd option is to build the form manually using HTML external form.

---

<div class="post-metadata">

**Author:** ![mkelton](https://forum.camunda.io/user_avatar/forum.camunda.io/mkelton/32/14452_2.png) [@mkelton](https://forum.camunda.io/u/mkelton)\
**Post date:** [September 28, 2024, 6:33pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/8 "2024-09-28T18:33:46Z")

</div>

So to have attachments in Camunda process I have to develop myself such feature?  
I can hardly imagine any process that doesn’t require attachments. For example, sending a document for approval. How do you handle this in Camunda since there are no attachments? Do you describe, for instance, an invoice—what’s on it, the amounts, taxes? Or submitting a claim for compensation—can something like that be done without attachments?

So Camunda Modeler (forms) gives not possibility to have attachment item?

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [December 27, 2024, 6:34pm UTC](https://forum.camunda.io/t/camunda-modeler-forms-how-to-creat-file-upload-fileld/55139/9 "2024-12-27T18:34:22Z")

</div>

Closed on December 27, 2024, 6:34pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
