# Getting "custom" form into docker version

**URL:** <https://forum.camunda.io/t/getting-custom-form-into-docker-version/8944>\
**Category:** Discussion & Questions\
**Tags:** cockpit, admin\
**Created:** [September 18, 2018, 12:22am UTC](https://forum.camunda.io/t/getting-custom-form-into-docker-version/8944 "2018-09-18T00:22:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![camunda\_sailor](https://forum.camunda.io/user_avatar/forum.camunda.io/camunda_sailor/32/13524_2.png) [@camunda\_sailor](https://forum.camunda.io/u/camunda_sailor)\
**Post date:** [September 18, 2018, 12:22am UTC](https://forum.camunda.io/t/getting-custom-form-into-docker-version/8944/1 "2018-09-18T00:22:41Z")

</div>

Hi,

I have discovered Comunda last week and it’s really awesome. I have modeled my flow pretty fast and saved a ton of time. I’m trying to do form in User Task with options populated from data that comes in json. [{id:123, name: 'option A"}, {id:2, name: “option B”}]. I am using all in one docker Camunda version 7.9.

That part of the flow looks like:

- process is initialized
- fetch list of users from external service. That data comes as json.
- user should be able to select options in the form from Cockpit options available should be “b”, “c”.

From what I understand I have to create custom form (oh… I really wish I could avoid this). [docs index | camunda BPM docs](https://docs.camunda.org/manual/7.0/examples/tutorials/jsf-task-forms/), is it so? It there any plugin for this kind of forms. If I have to do it, what would be a good tutorial for it.

Second question is how can I add such a form into docker version? AFAIU i will have to do some sort of docker cp but what would be artifact, could I just copy my JSF form to specific place and be done?

 ![image](https://forum.camunda.io/uploads/default/original/2X/f/f7b87fc53c5b9dc586b1f389e118683c75cabc06.png)

---

<div class="post-metadata">

**Author:** ![Ingo\_Richtsmeier](https://forum.camunda.io/user_avatar/forum.camunda.io/ingo_richtsmeier/32/25968_2.png) [@Ingo\_Richtsmeier](https://forum.camunda.io/u/Ingo_Richtsmeier)\
**Post date:** [September 18, 2018, 6:49am UTC](https://forum.camunda.io/t/getting-custom-form-into-docker-version/8944/2 "2018-09-18T06:49:37Z")

</div>

Hi @camunda_sailor,

the docs your are referencing is from the initial Camunda version 7.0. A lot has been improved since these days. have a look ate the embedded forms in the current version: [https://docs.camunda.org/manual/7.9/user-guide/task-forms/](https://docs.camunda.org/manual/7.9/user-guide/task-forms/)

Cheers, Ingo

---

<div class="post-metadata">

**Author:** ![camunda\_sailor](https://forum.camunda.io/user_avatar/forum.camunda.io/camunda_sailor/32/13524_2.png) [@camunda\_sailor](https://forum.camunda.io/u/camunda_sailor)\
**Post date:** [September 19, 2018, 7:14am UTC](https://forum.camunda.io/t/getting-custom-form-into-docker-version/8944/3 "2018-09-19T07:14:04Z")

</div>

Thanks. Mission accomplished!

I have created hello.html file under /camunda/webapps/forms/hello.html in docker container and form shows up and I can select option in form populated from variable.

![image](https://forum.camunda.io/uploads/default/original/2X/d/d04df347068c2895011d38c77343bfd2b95a14d7.png)

client.subscribe(‘print\_variable’, async function ({task, taskService}) {  
const variables = new Variables();  
let groups = task.variables.get(“groups”);  
logger.info("Print groups " + JSON.stringify(groups));  
logger.info("selected group = " + task.variables.get(“group”));  
await taskService.complete(task, variables);  
});

 ![image](https://forum.camunda.io/uploads/default/original/2X/6/667f52832bf5367d373ef6053d38c11baa118db3.png)

---

<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:** [January 30, 2024, 11:22am UTC](https://forum.camunda.io/t/getting-custom-form-into-docker-version/8944/4 "2024-01-30T11:22:53Z")

</div>

Closed on January 30, 2024, 11:22am UTC


