# how to connect alfresco with bonita studio 7.4.0 and ui designer

**URL:** https://community.ofelia.com/t/how-to-connect-alfresco-with-bonita-studio-7-4-0-and-ui-designer/8375
**Category:** Q&A
**Created:** [10 April 2017 09:25 UTC](https://community.ofelia.com/t/how-to-connect-alfresco-with-bonita-studio-7-4-0-and-ui-designer/8375 "2017-04-10T09:25:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chaimaa.hirri](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@chaimaa.hirri](https://community.ofelia.com/u/chaimaa.hirri)
#### Post date: [10 April 2017 09:25 UTC](https://community.ofelia.com/t/how-to-connect-alfresco-with-bonita-studio-7-4-0-and-ui-designer/8375/1 "2017-04-10T09:25:32Z")

</div>

hey all . I am new in Bonita and i want to connect alfresco with bonita.

first, i create a document “doc” in the pool.  
i create a human task and a connector on finish with alfresco. the file i ipload is ${doc}. there is no outputs.  
in the ui designer i create an upload widget with too variables forminput that contain doc : “” and formoutput returns forminput.doc

and it oesn’t work. help

---

<div class="post-metadata">

### Author: ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)
#### Post date: [11 April 2017 09:47 UTC](https://community.ofelia.com/t/how-to-connect-alfresco-with-bonita-studio-7-4-0-and-ui-designer/8375/2 "2017-04-11T09:47:47Z")

</div>

First you must make sure you are receiving the file correctly. Here is the right way to do it:

1. Create a new diagram.
2. Create a contract in the Execution tab of the Pool, with only a FILE input in it.
3. Create an auto-generated form to the Instantiation Form.
4. Edit the form and put an error text message in it for the submit button.
5. Create a Document on the Pool Data tab and set its initial content to “From Contract”, linking it to the contract FILE input.
6. Fulfill any needs so the process may run with no errors.

Point 5) links the file you upload to the pool document.

You will then be able to use the Alfresco connector to load the file to Alfresco

regards  
Seán

_PS: As this reply answers your question, please mark as resolved._

---

<div class="post-metadata">

### Author: ![chaimaa.hirri](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@chaimaa.hirri](https://community.ofelia.com/u/chaimaa.hirri)
#### Post date: [11 April 2017 12:40 UTC](https://community.ofelia.com/t/how-to-connect-alfresco-with-bonita-studio-7-4-0-and-ui-designer/8375/3 "2017-04-11T12:40:47Z")

</div>

hey sean ,

i just got this error message :

{ “exception”: “class org.bonitasoft.engine.exception.BonitaRuntimeException”, “message”: “USERNAME=walter.bates | javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLOutputFactory cannot be created” }

---

<div class="post-metadata">

### Author: ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)
#### Post date: [11 April 2017 20:15 UTC](https://community.ofelia.com/t/how-to-connect-alfresco-with-bonita-studio-7-4-0-and-ui-designer/8375/4 "2017-04-11T20:15:29Z")

</div>

I don’t know what that is, sorry.
